Results 1 to 3 of 3

Thread: multiple Iframe src's change on back button hit

  1. #1
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default multiple Iframe src's change on back button hit

    Hi,

    I have several Iframes on my home page, each referencing a different "src" page.

    My problem is that when someone navigates away from the page and presses the browser back button (IE) to return, the src pages dont appear in their original and correct frames.

    This doesnt happen all the time though, maybe only 1 in 10 times, and the problem is easily rectified by a page refresh. The Iframes all have a name and ID and are all internally hosted pages.

    Anyone know why this is happening and how to fix it?

    Beverley

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    One good way to know how would first to post the script please.

    -magicyte

  3. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Hi,

    My Iframes all look like this (with different dimensions, src pages, ids and names. ids and names are paired)

    Code:
    <iframe src="rate.html" 
    id="5star" name="5star"
    width="505" 
    height="45" 
    frameborder="0" 
    scrolling="no"
    marginwidth="0"
    marginheight="0">
    </iframe>
    Beverley
    Last edited by Beverleyh; 07-29-2008 at 11:31 AM. Reason: missed info re: ids and names

Bookmarks

Posting Permissions

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