Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Please Help...

  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Louisville, Ky
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Please Help...

    I have a Frame set at 0%, into it loads music. It is positioned inside of the Frame at the top, where a banner would be. When someone enters the site a song begins to play. When someone clicks a link in the Navigation Frame, I want it to of course open a new page into the Main Frame, but, I want each new page loading into the Main Frame to play a different song.
    How do I make the link both open a new page into the Main Frame, and open a new page into the Music Frame?
    Can I use a redirect on the new page in the Main Frame to redirect the Music Frame to a new page?
    Can I use a pop-up on the new page in the Main Frame and target the pop-up into the Music Frame?

    How can I do it?

    If I put the music on the new page loading into the Main Frame then both of the songs will play. The one that is currently playing when someone enters the site which is located in the MUsic Frame at the top, and the one in the new page in the Main Frame.

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    Portland, Oregon
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why not just get rid of the music frame and cause the pages to play music onload?
    Llamasery Enlightened Internet Strategies
    "Psychics will lead dogs to your body." --Alleged fortune cookie message

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    Louisville, Ky
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I created the Music Frame so that I could put a link in the Navigation Frame to turn off the music, which when clicked loads a blank page into the Music Frame.
    If I put the music on the new page loading into the Main Frame, then theres no easy way for me to create a way for the visitor to turn off the music. right?
    I have another question for a solution: Can I use a normal link to open the new page into the Main Frame, and add the OnClick function to it and target the OnClick?

    <a target="frame3" onClick="window.open('test1.html','Test','scrollbars=no,width=1,height=1');" href="test2.html" target="frame1">Test</a>

    I thought something like that, but it just makes a pop-up when clicked and doesnt load into the targeted Frame.
    Is there a way to target that?

  • #4
    New Coder
    Join Date
    Aug 2002
    Location
    Louisville, Ky
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind, I got it.

    <a href="Test1.html" target="Frame3" onClick="parent.Frame1.Frame6.location='Test2.html'">Test</a>

    Thanks anyway.


  •  

    Posting Permissions

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