473,387 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

frame target problem

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
4 3346
emma82
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
1,247 Expert 1GB
I don't have that problem either. Viewed in Firefox on Windows.
Feb 10 '08 #3
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
7,435 Expert 4TB
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

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

Similar topics

2
by: vk | last post by:
I have a situation where I have 3 frames. The first frame is dynamic and contains javascript variables for use throughout the frameset page and the other frames. Everything works fine...except...
1
by: David M. Karr | last post by:
I've been asked to help debug a complex problem involving inter-frame references, so I just want to understand the elements involved with this. Apparently, there is a page with multiple frames,...
2
by: Magesh | last post by:
Hi, I am trying to do the following 1. On form submit, open a window with three frames 2. Set the target as one of the frames 3. Set the action for the frame It is working properly in...
14
by: Frances Del Rio | last post by:
if (parent.frames.main.location == 'mediaselect.html') { I have a very simple frameset, name of frame where I'm checking is 'main'... why is this not working? I mean this is correct syntax,...
4
by: DaveO | last post by:
Hi all I have done lots of VB programming, but am not familiar with JavaScript. Can anyone tell me how to do this ....? I have a JS file for a menu system called menu.js It contains the...
3
by: Tim Streater | last post by:
I have, as it might be, this in a frame: <a href="mystuff.html">Click here</a> When I click the link, it loads mystuff.html into the frame, whereas what I want is to replace the whole window...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
0
by: Ian Johnson | last post by:
I am quite new to web development and am struggling with something that seems like it should be fairly simple. I have a page that uses frames. In the left hand frame a menu page is displayed....
1
by: fiefie.niles | last post by:
I converted my VS2003 ASP.Net project to VS2005. I use frame in VS2003 with no problem like the following: <frame name="banner" scrolling="no" noresize target="contents" src="SPTop.htm"> In...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.