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

Help with "IFRAME".

Discussion in 'HTML & JavaScript' started by t2nekski, Mar 28, 2012.

  1. t2nekski

    t2nekski Newbie

    Joined:
    Mar 25, 2012
    Messages:
    4
    Likes Received:
    0
    Recently i saw sites which uses iframe codes for ads.. well i viewed their page sources and stripped them down.. here it is. sorry im just new to this..

    Code:
    <style>#zzcontentDiv{height:440px;width:800px;}#zzsliderlayer_box {	z-index: 999999;position:absolute;top:100px; left:-900px;height:495px;width:800px;margin:0;padding:0px;overflow-y:hidden;overflow-x:hidden;border-style:solid;border-width:0px;border-color:#CCCCCC;} #close_button{background-color:#CCCCCC;width: 800px;height: 15px;text-align:right;}</style>
    
    <div id="zzsliderlayer_box" style="left: 150px; visibility: visible; right: 0px; top: 60px; "><div id="close_button"><div onclick="zzlayer_close();" style="position: relative; background-color: #DF0101; visibility: visible; width: 25px; font-family: verdana; color: rgb(255, 255, 255); font-weight: bold; font-size: 9px; text-decoration: none; cursor: pointer;float:right;" id="zzSdCloseButton">[X] </div></div><div id="zzcontentDiv"><iframe  src="xxx.html" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="800" height="440"></iframe></div></div>
    i have just one question, what if the ad that i will put into does not have the format which ends on .html, how should i make it work?
     
    Last edited by a moderator: Mar 30, 2012
  2. maple_toast

    maple_toast Newbie

    Joined:
    Jul 23, 2008
    Messages:
    30
    Likes Received:
    50
    Should still work...
     
  3. t2nekski

    t2nekski Newbie

    Joined:
    Mar 25, 2012
    Messages:
    4
    Likes Received:
    0
    but how? like ads from clicksor or other..