Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-10-2009, 08:53 PM   PM User | #1
markjohnson
New Coder

 
Join Date: Feb 2009
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
markjohnson is an unknown quantity at this point
Prototype/lightwindow plays up in Firefox

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:
http://mydomain.com/modules/volunteers/index.php?PageNum_vol=5&total_vols=316

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
markjohnson is offline   Reply With Quote
Old 03-12-2009, 05:07 PM   PM User | #2
markjohnson
New Coder

 
Join Date: Feb 2009
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
markjohnson is an unknown quantity at this point
Update:

Firefox needed the offline data and cache flushed... That's all it was!
markjohnson is offline   Reply With Quote
Reply

Bookmarks

Tags
firefox, lightwindow

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:43 AM.


Advertisement
Log in to turn off these ads.