frame target problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adamalton
    New Member
    • Feb 2007
    • 93

    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=nameofpag e 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
  • emma82
    New Member
    • Feb 2008
    • 4

    #2
    Originally posted by adamalton
    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=nameofpag e 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!

    Comment

    • YarrOfDoom
      Recognized Expert Top Contributor
      • Aug 2007
      • 1243

      #3
      I don't have that problem either. Viewed in Firefox on Windows.

      Comment

      • adamalton
        New Member
        • Feb 2007
        • 93

        #4
        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.

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          Originally posted by adamalton
          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.

          Comment

          Working...