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
    Jul 2006
    Posts
    7
    Tokens
    0

    Default 2 Pages > 2 Iframes

    Rights guys, i know this probs is a strange one but here goes. I need for when i click a Link (Hyperlink) for it to open 2 different things in 2 different iframes on the page. So say i clicked a link "Habbox" it would open habboxforum in one and Habboxlive in the other < Example.

    Any ideas? - Be great if someone cud figure this out and post the html/php code back

    thanks guys!
    Tom

  2. #2
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default

    I was looking for the same thing a few weeks back, I didn't have any luck. Let us know how you go.


  3. #3
    Join Date
    Jul 2006
    Posts
    7
    Tokens
    0

    Default

    Will Do

  4. #4
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,836

    Latest Awards:

    Default

    i think cpanel has something like that. i will have a try at it but cant promise sucess

  5. #5
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quite easy but youd need JS to do it, Just give each ifraim an id say if1 and if2

    then make the link something like
    Code:
    <a onClick="document.getElementById("if1").src='https://habbox.com'; document.getElementById("if2").src='http://habboxlive.com'; ">Habbox</a>
    havent checked to tested code but im guessing it should work
    Last edited by Mentor; 21-07-2006 at 09:08 PM.

  6. #6
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    forgot the target mentor
    edit nvm i see it.
    Last edited by Colin-Roberts; 21-07-2006 at 09:46 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  7. #7
    Join Date
    Apr 2006
    Location
    West Midlands
    Posts
    3,384
    Tokens
    0

    Latest Awards:

    Default

    So did 01101101entor's code work?

Posting Permissions

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