Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prototype/lightwindow plays up in Firefox

Status
Not open for further replies.

markjohnson123

Programmer
Feb 8, 2009
8
GB
I have a page that has in its header:
Code:
	<link rel="stylesheet" type="text/css" href="../../styles.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/lightwindow.css" />
	<script type="text/javascript" src="../../javascript/prototype.js"></script>
	<script type="text/javascript" src="../../javascript/effects.js"></script>
	<script type="text/javascript" src="../../javascript/lightwindow.js"></script>

I have the following link to bring up the lightwindow:

Code:
<a href="editskills.php?id=<? echo $row_vol['id']; ?>" params="lightwindow_width=700,lightwindow_height=300" class="lightwindow page-options">Edit</a>

The page it is on has pagination, at the bottom of which the 'next page's link is:

Code:
[URL unfurl="true"]http://mydomain.com/modules/volunteers/index.php?PageNum_vol=5&total_vols=316[/URL]


When I first load the page in Firefox, clicking on the Edit link above brings up the lightwindow popup and make sthe background inactive and dark.

However, when I click on 'Next', and the next page loads up, lightwindow does not work. Clicking in 'Edit' simply sends me to editskills.php?id=(whatever_id) instead of behaving as it should.

It only works when I hard-refresh the page [Shift + Refresh]

To the contrary, in IE8 it works absolutely fine. I can click on Next as usual, and click on edit, and it brings up the lightwindow without having to hard-refresh.

What do I need to do to make it behave in Firefox as it should when 'Next' link is clicked for the next page?

Many thanks
 
I figured it was just a firefox cache/offline data problems... and cleared it all up and it worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top