By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,677 Members | 1,798 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,677 IT Pros & Developers. It's quick & easy.

frame target problem

P: 93
Hi, I have a frameset with a menu down the left and a main frame on the right. (The menu contains a flash jukebox, which I why it's in a frame, so that you don't have to restart the jukebox every time you click on a link in the menu.)

I have named the main frame name="main" in the frameset, and all of the links in the menu have target="main" in them. But when viewing it in Firefox it doesn't open the links into the 'main' frame. I've got some javascript in each page that checks for the presence of the frameset and if it's not there it reloads the page back into the frameset, so the page does appear where it should, but it's not doing it in the way that it should. You can tell that the target="main" hasn't worked because the jukebox stops, (and because when the javascript reloads the page it puts ?page=nameofpage on the end of the url).

I know that officially the menu frame (left.php) is not valid because I haven't double baked the dukebox properly (help on that would be appreciated too), but I've tried taking the jukebox out and Firefox still behaves the same. It seems ok in Safari.

Me page:
www.ffredjones.co.uk/main.php

Cheers
Feb 10 '08 #1
Share this Question
Share on Google+
4 Replies


P: 4
I have named the main frame name="main" in the frameset, and all of the links in the menu have target="main" in them. But when viewing it in Firefox it doesn't open the links into the 'main' frame. I've got some javascript in each page that checks for the presence of the frameset and if it's not there it reloads the page back into the frameset, so the page does appear where it should, but it's not doing it in the way that it should. You can tell that the target="main" hasn't worked because the jukebox stops, (and because when the javascript reloads the page it puts ?page=nameofpage on the end of the url).

I know that officially the menu frame (left.php) is not valid because I haven't double baked the dukebox properly (help on that would be appreciated too), but I've tried taking the jukebox out and Firefox still behaves the same. It seems ok in Safari.

Me page:
www.ffredjones.co.uk/main.php

Cheers
I just took a look at your page in Firefox (on a Mac) and the links on the left open different pages in the right hand frame fine for me, and the jukebox keeps playing the same tune as the page changes...

so not sure what's wrong!
Feb 10 '08 #2

YarrOfDoom
Expert 100+
P: 1,247
I don't have that problem either. Viewed in Firefox on Windows.
Feb 10 '08 #3

P: 93
Yeah, it's working for me now as well. It seems to come and go!! I'm sure when I was building the site it was doing it, and then it stopped and then it started again today, and now it's not doing it anymore. I think I'm going to have to assume it's a bug in Firefox and leave it! I tried restarting Firefox several times earlier though, and it still played up. Maybe restarting my computer did the trick..?

Thanks anyway.
Feb 10 '08 #4

drhowarddrfine
Expert 5K+
P: 7,435
I think I'm going to have to assume it's a bug in Firefox and leave it!
Not likely.
Maybe restarting my computer did the trick..?
More likely. :)

Not the problem but your doctype is incorrect in your right frames.
Feb 10 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.