SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to iframe banner javascript? HELP

    Ive been having load issues with some of the banner code I get from networks. I want Iframe the banner code to speed things up but I cant sem to get the code to work using conventional Iframe code like this:

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

    Im wanting to place the issued javascript banner code:

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

    Into an Iframe format. Any suggestions or walkthrus would be greatly appreciated.

  2. #2
    SitePoint Member
    Join Date
    Mar 2008
    Location
    Atlanta, GA
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    naming?

    I think you have to name the iframe. See this example:

    Code HTML4Strict:
    <iframe src="newpage.html" width="200" height="200" 
    frameborder="0" scrolling="auto"name="myInlineFrame">
    TEXT FOR NON-COMPATIBLE BROWSERS HERE</iframe>



    Quote Originally Posted by vlaze View Post
    Ive been having load issues with some of the banner code I get from networks. I want Iframe the banner code to speed things up but I cant sem to get the code to work using conventional Iframe code like this:

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

    Im wanting to place the issued javascript banner code:

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

    Into an Iframe format. Any suggestions or walkthrus would be greatly appreciated.


Bookmarks

Posting Permissions

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