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 9 of 9

Thread: Question

  1. #1
    Join Date
    Aug 2007
    Location
    Somewere
    Posts
    912
    Tokens
    0

    Default Question

    I think dis is correct section

    Move if wrong dont post dumb stuff like WRONG SECTION NOOB

    Question: How do i make an image redirect to a web wen cliked?

    Like your avatar redirects to your profile?

    Edited by Hollywood (Forum Moderator); Thread moved from Graphics Questions and Comments. Please post in the correct forum.
    Last edited by today; 24-01-2008 at 06:21 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    You use HTML Codes on websites and BB Codes on forums.

    Code:
    <a href="LINK HERE"><img href="IMG URL"></img></a>
    Last edited by today; 24-01-2008 at 06:21 PM.

  3. #3
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    No need for the </img> And some of the code is wrong.

    HTML Code:
    <a href="LINK HERE" target="basetarget">
        <img src="IMG URL" alt="Alternative text for older browsers/mouse hover in ie" title="Alternative text for mouse hover in Firefox" border="0" />
    </a>

  4. #4
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default

    You Would Use:

    Code:
    <a HREF="link"><IMG SRC="link to image" ALT=""></a>
    Good Luck

  5. #5
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    No need for the </img> And some of the code is wrong.

    HTML Code:
    <a href="LINK HERE" target="basetarget">
        <img src="IMG URL" alt="Alternative text for older browsers/mouse hover in ie" title="Alternative text for mouse hover in Firefox" border="0" />
    </a>
    Im not a geek though :eusa_whis Gutted mate! :]]] Aha, long code.

  6. #6
    Join Date
    Mar 2007
    Posts
    1,691
    Tokens
    1,025

    Latest Awards:

    Default

    HTML Code:
    <a href="LINK"><img src="LINK" alt="TEXT" border="0" \></a>
    My version, you also need 'alt=""' on your image tags so it's classed as valid.

  7. #7
    Join Date
    Aug 2007
    Location
    Somewere
    Posts
    912
    Tokens
    0

    Default

    Uhhhh i think i get it but what 1's right???????




    <a href=habboxforum.com target=habbox>
    <img src=http://i241.photobucket.com/albums/f...l_sparkle2.gif alt=Habbox title=habbox border="0" />
    </a>

    Don't work??????
    Last edited by Mattch; 24-01-2008 at 07:53 PM.

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

    Latest Awards:

    Default

    Quote Originally Posted by Mattch View Post
    Uhhhh i think i get it but what 1's right???????




    <a href=habboxforum.com target=habbox>
    <img src=http://i241.photobucket.com/albums/f...l_sparkle2.gif alt=Habbox title=habbox border="0" />
    </a>

    Don't work??????
    You need an http:// at the beginning of any link to a different website. Also, although not essental you should put quotaion marks around the attributes.


    <a href="http://habboxforum.com" target="habbox">
    <img src="http://i241.photobucket.com/albums/ff314/Mattch23/official_sparkle2.gif" alt="Habbox" title="habbox" border="0" />
    </a>

    Note: target refers to an iframe of special window type, if you just want an ordinary link, you should probs remove the target="habbox" bit, though thats not essental
    Last edited by Mentor; 24-01-2008 at 08:01 PM.

  9. #9
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    HTML Code:
    <a href="http://www.site.com/page.php"><img src="http://i241.photobucket.com/albums/f...l_sparkle2.gif" /></a>
    or

    HTML Code:
    <img src="http://i241.photobucket.com/albums/f...l_sparkle2.gif" onclick="document.location='http://www.site.com/page.php'" />

Posting Permissions

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