Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    New Coder
    Join Date
    Feb 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Update:

    Firefox needed the offline data and cache flushed... That's all it was!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •