Iframe Help

Discussion in 'Gaming' started by DiSeSe, Oct 30, 2005.

  1. DiSeSe

    DiSeSe Well-Known Member

    Age:
    35
    Posts:
    464
    Likes Received:
    0
    Joined:
    Jun 17, 2005
    Location:
    British Columbia, Canada
    yea i got my template sliced/coded that i made, and i was wondering how to put the iframe code into my template. Heres the html where does it go in? please help :)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>-Skate Now-</title>
    <style type="text/css">
    <!--
    body,td,th {
    color: #FFFFFF;
    }
    body {
    background-color: #100840;
    }
    #Layer1 {
    position:absolute;
    width:103px;
    height:42px;
    z-index:1;
    left: 60px;
    top: 164px;
    }
    #Layer2 {
    position:absolute;
    width:445px;
    height:342px;
    z-index:1;
    left: 269px;
    top: 194px;
    }
    #Layer3 {
    position:absolute;
    width:200px;
    height:115px;
    z-index:2;
    left: 121px;
    top: 19px;
    }
    -->
    </style></head>

    <body>
    [​IMG]
    <div id="Layer2">
    <div align="center">HI THIS IS WHERE STUFF GOES!!!</div>
    <div id="Layer3">
    <div align="center">--</div>
    </div>
    <p align="center"></p>
    </div>
    <map name="Map" id="Map"><area shape="rect" coords="54,150,142,188" href="Http://www.home.com" />
    <area shape="rect" coords="21,188,184,229" href="http://www.tricktips.com" />
    <area shape="rect" coords="51,231,164,272" href="http://www.forum.com" />
    <area shape="rect" coords="15,276,194,309" href="http://www.rampplans.com" />
    <area shape="rect" coords="39,311,182,357" href="http://www.reviews.com" />
    <area shape="rect" coords="49,358,145,393" href="http://www.team.com" />
    <area shape="rect" coords="41,398,160,435" href="http://www.videos.com" />
    <area shape="rect" coords="52,439,152,475" href="http://www.links.com" />
    <area shape="rect" coords="15,475,187,515" href="http://www.contact.com" />
    <area shape="rect" coords="57,516,144,554" href="http://www.misc.com" />
    </map>
    </body>

    </html>
     
  2. .DeFuZioN

    .DeFuZioN Well-Known Member

    Age:
    36
    Posts:
    2,260
    Likes Received:
    0
    Joined:
    Oct 7, 2005
    Location:
    Australia
    The iframe goes in the <body> tags wherever you want it. Easiest way is to get dreamweaver and select where you want it, right-click add html and type your code in there.
     
  3. JeremyM

    JeremyM Well-Known Member

    Age:
    37
    Posts:
    554
    Likes Received:
    0
    Joined:
    Oct 10, 2005
    I think I already helped him...no idea though
     
  4. xlink

    xlink GR's Tech Enthusiast

    Posts:
    8,054
    Likes Received:
    3
    Joined:
    Nov 19, 2004
    also remember to add frameborder="0" trust me you will bust your head over that one...
     
  5. XxLostXx

    XxLostXx Well-Known Member

    Age:
    34
    Posts:
    803
    Likes Received:
    0
    Joined:
    Aug 22, 2005
    Location:
    homeless
    You can put it wherever you want.. it doesn't neccessarily have to be in the body.

    <iframe src="URL of what you want the iframe to open" name="name it anything you want" scrolling=auto width=choose width height=choose height frameborder=0>Here you type the message that you want displayed for peoples browsers who don't support iframes</iframe>
     
  6. DiSeSe

    DiSeSe Well-Known Member

    Age:
    35
    Posts:
    464
    Likes Received:
    0
    Joined:
    Jun 17, 2005
    Location:
    British Columbia, Canada
    yea thanks everyone and jeremy i put thisup before i asked you, thx again :)
     

Share This Page