Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2006
    Location
    I duno
    Posts
    229
    Tokens
    0

    Default Iframe Help ?????

    Okay so this have probly been posted over and over agian but my tiny brain can't find them lol

    So all i need is when you click a link ont he site its only the content box that changes not the whole page, I have looked ont he forum but its so confusin yet seems so simple :s

    Okay thank you!

    The Animals Holding Me Captive:
    OIver 30 mice ( Newst litter of 4 20th 8 08 )
    6 Rats-Gaz&Jonny,Amber&Ershala,Mortisha& Mitilda
    1 Dog-Barni ( Corgi Cross )
    2 Parrots-Polly & Oscar
    5 Cat-Buddy & Holly ( 4 kitten 28th 8 08 )

  2. #2
    Join Date
    Jan 2007
    Location
    Ontario, Canada
    Posts
    140
    Tokens
    0

    Default

    I beleive you mean this code, change the target to the name of your main content box' name. the rest is self-explanitory
    HTML Code:
    <a href="linkhere" target="iframename">LINK</a>

  3. #3
    Join Date
    Dec 2006
    Location
    London
    Posts
    3,536
    Tokens
    170

    Latest Awards:

    Default

    To make the acutual iframe:

    <iframe name="iframename" src="URL HERE" width="100&#37;" height="350px"></iframe>
    2005: JOINED ; Radio DJ

    2006: Radio DJ ; Senior DJ

    2007: HxTV Flash Artist ; Productions Staff ; HxHD Staff ; Head DJ ; Events Organiser ; Productions Staff ; Competitions Staff ; Assistant Radio Manager

    2008: Senior Competitions Staff ; Forum Moderator ; HxHD Staff ; Competitions Manager ; Graphics Designer

    2009: LEFT ; Guest DJ

  4. #4
    Join Date
    Jan 2007
    Location
    Ontario, Canada
    Posts
    140
    Tokens
    0

    Default

    that is just making it bigger/smaller/wider he wnats it so when you click a link it only links to a certain iFRame not the whole page.

  5. #5
    Join Date
    Dec 2006
    Location
    da hood.
    Posts
    274
    Tokens
    0

    Default

    Just make a link, and make the source of it, the iframe name.


    Cool people: Spaceinvader, Xeoro, RNelson, -1., Redtom, Sam, Tomm, snail.


  6. #6
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    The Iframe:

    <iframe src="URL" height="100px" width="100%" frameborder="0" name="frame"></iframe>


    A Link Into The Frame:

    <a href="page.htm" target="frame">My Page</a>
    Lets set the stage on fire, and hollywood will be jealous.

  7. #7
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    <html>
    <head>
    Code:
    <base target="framename">
    </head>
    <body>
    The iframe
    Code:
    <iframe src="Look Below" height="200px" width="50&#37;" frameborder="0" name="framename">Text here that people who dont have iframes enabled to see</iframe>
    Links that will display in the iframe
    Code:
    <a href="page.html">Page</a>
    Page to open in same window, not the iframe
    Code:
    <a href="page.html" target="_self">Page</a>
    Link to open in new windon
    Code:
    <a href="page.html" target="_blank">Page</a>
    Link in the iframe to open a page in the whole of the page that the iframe is in
    Code:
    <a href="page.html" target="_parent">Page</a>
    Link to iframe if you do not put the base thing in, NOTE: i suggest you use this anyway to help browser compatabillaty
    Code:
    <a href="page.html" target="_framename">Page</a>
    </body>
    </html>

    Look below: The url of the page that will be displaied in the iframe when the page is loaded
    Hope it helped!
    Last edited by Nether$; 19-01-2007 at 06:59 PM.

Posting Permissions

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