Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Firefox refresh probs with iframe
Old 02-23-2006, 01:03 PM Firefox refresh probs with iframe
Novice Talker

Posts: 6
Trades: 0
I have a site with Flash navigation in the top and an iframe in the middle. When the page first loads the center iframe plays a Flash movie that, when reaching a certain frame triggers the nav movie to play. Then the nav links change what's in the iframe.

When I refresh with Firefox the iframe refreshes the frame it is currently on which means that beginning movie doesn't play so the Nav movie doesn't get triggered leaving the top of the page void of a nav bar.

IE refreshed the whole page as if it were loading for the first time which is what I need to get the nav displayed. Is there a way to get Firefox to do this?
eight is offline
View Public Profile
 
 
Register now for full access!
Old 02-25-2006, 02:00 AM Re: Firefox refresh probs with iframe
jazee's Avatar
Super Talker

Posts: 121
Location: Westminster, CO / Denver
Trades: 0
The quikest and dirty is way to get firefox to do this is to right click in the iframe and select This Frame -> Reload Frame. Not sure in older firefox but the current 1.5 it is there. This will reload just the iframe. So your flash so start up and then the second will go.

Technicly this is a feature of firefox. In a true browser the iframe is technicly a diffrent page and should act as such.

Hope this works for you.
jazee is offline
View Public Profile Visit jazee's homepage!
 
Old 02-25-2006, 10:12 PM Re: Firefox refresh probs with iframe
Novice Talker

Posts: 6
Trades: 0
The problem is not so much that it bothers me but users to the site may refresh and be left without navigation.

Is there a script or something that can change the behavior?
eight is offline
View Public Profile
 
Old 02-25-2006, 10:49 PM Re: Firefox refresh probs with iframe
Unknown.

Posts: 1,693
Trades: 0
If you use javascript to set the source of the iframes onload that should solve the problem, example:
HTML Code:
<script type="text/javascript">
window.onload = setFrames;

function setFrames() {
document.getElementById('somename').src = "page.htm";
}
</script>

<iframe id="somename" src="page.htm"></iframe>

Last edited by Dark-Skys99; 02-25-2006 at 11:15 PM..
Dark-Skys99 is offline
View Public Profile
 
Old 02-28-2006, 02:11 PM Re: Firefox refresh probs with iframe
Novice Talker

Posts: 6
Trades: 0
That script didn't do the trick. I'm going to start a new thread in the script section as it's more appropriate and just reference this one.
eight is offline
View Public Profile
 
Closed Thread     « Reply to Firefox refresh probs with iframe
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46311 seconds with 12 queries