1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with iframing javascript

Discussion in 'HTML & JavaScript' started by beetlejuice, Mar 15, 2008.

  1. beetlejuice

    beetlejuice Newbie

    Joined:
    Mar 15, 2008
    Messages:
    9
    Likes Received:
    0
    Ive been sitting here for 4 hours trying to iframe javascript banner code or read about how its done. Now Im not sure if its even possible. I start with something like this:

    <iframe src=" http://blahblah.com/backendV.html" width="1" height="1" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe>

    The code I want to Iframe is standard banner javascript code given out by ad networks:

    <script type="text/javascript"src="http://ad.trafficsource.com/a/js?plid=6220&ad_w=728&ad_h=90"></script>

    I want to frame this code in a 1x1. I know this can be done. Any help would be awesome:confused:
     
  2. nme

    nme Junior Member

    Joined:
    Jan 17, 2008
    Messages:
    124
    Likes Received:
    36
    Code:
    <body style="margin:0px;"><iframe style="position:absolute;top:0px;left:0px;z-index:9; margin:0px; border:0px" width="100%" src="http://blahblah.com/backendV.htm" height="100%" scrolling="no"></iframe></body>
    I had that saved for something.