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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow DIV popup issues

    Hello,

    Take a look at this page and this just what I want:

    http://yensdesign.com/tutorials/popupjquery/

    But I have two issues concerning this:

    1)I am able to insert a youtube image into the popup BUT when I click on the 'X' the popup disappears but the audio remains.What I would like to do is somehow alter the code so the popup is "destroyed" and the clip is stopped completely including the audio.


    2) I also want to able to adapt the code so that I can click on any one of multiple youtube links and get the same effect.


    My javascript capabilities aren't that strong so any help or links to other pages or suggestions are welcome.

  • #2
    Regular Coder
    Join Date
    Jul 2010
    Posts
    271
    Thanks
    3
    Thanked 40 Times in 40 Posts
    I would use youtubes api. Here is some info on it. Using this in the onunload function should work. I havent tried it yet but will be attempting it.

    http://code.google.com/apis/youtube/...layback_status


  •  

    Tags for this Thread

    Posting Permissions

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