Hiding iframe using javascript

Discussion in 'JavaScript' started by gr8webseller, Nov 11, 2009.

  1. #1
    I am having zshare embeded videos in my site,,, it is embeded as iframe,,,,,,

    there is a javascript pop-up after some seconds in my site,,,,

    but when peoples are viewing the video in full screen, java script won't get pop-up,,,,,

    can anyone please say how to fix this ???
     
    gr8webseller, Nov 11, 2009 IP
  2. melol2

    melol2 Active Member

    Messages:
    511
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #2
    I can't exactly read what you're saying, but I will say this could be of use to you:

    frame1.style.display="none";

    This will make it disappear (although unless you pause the video with javascript or such, it will still be playing in the background)
     
    melol2, Nov 12, 2009 IP
  3. gr8webseller

    gr8webseller Peon

    Messages:
    1,097
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i will explain in detail,,,,,,

    When peoples watching videos in my site, a javascript gateway will appear, it will prevent users from viewing the video,,,,,

    but when peoples watch the video in full screen, javascript gateway won't appear,,,

    now i want to make the javascript gateway to appear to peoples even they are watching the video in full screen,,,,,,,
     
    gr8webseller, Nov 12, 2009 IP