Buying Javascript DIV Position Help

Discussion in 'Programming' started by bunbunx2, Jul 3, 2010.

  1. #1
    This is 1 of my url
    http://www.animeshippuuden.com/test...s-ak-ash2/33076/721/136851323008681_63259.mp4

    If you realize, the ad (square thing) is being cover by the player which is using php echo to call out at later part of the html code.

    I want the ad not to be overlap by the player itself.

    In the past , i use swfobject to write, it was fine but when i use embed src instead of swfobject , the video player will overlap the ad.

    I want the solution to make the ad stay at above, while player stay at below.

    I will pay $20 usd for the solution, p.m me your solution & paypal email address.

    * WILL BE GOOD if you view source, copy all my code and try changes around * if you can get the ad above the player, send me the solution and sample page.

    Regards,
    Baoky
     
    Last edited: Jul 3, 2010
    bunbunx2, Jul 3, 2010 IP
  2. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    As Seller:
    100% - 0
    As Buyer:
    25.0% - 1
    #2
    .ad{
    position: absolute;
    margin-left:150px;
    margin-top:50px;
    width: 310px;
    height: 280px;
    z-index: 2;
    }

    change the above code to

    .ad{
    margin-left:150px;
    margin-top:50px;
    width: 310px;
    height: 280px;
    z-index: 2;
    }
     
    kishore415, Jul 3, 2010 IP
  3. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    use this script to hide that add from displaying
    
    <script>
    //call after page loaded
    window.onload=hideadd ;
    </script>
    <script type="text/javascript" language="javascript">
    
    function hideadd()
    {
    document.getElementById("aad").style.display="none";
    }
    
    </script>
    
    Code (markup):
    put it in header
     
    bhuthecoder, Jul 3, 2010 IP