View Full Version : Question
Mattch
24-01-2008, 06:11 PM
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.
today
24-01-2008, 06:20 PM
You use HTML Codes on websites and BB Codes on forums. :)
<a href="LINK HERE"><img href="IMG URL"></img></a>
Invent
24-01-2008, 06:54 PM
No need for the </img> :P And some of the code is wrong.
<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>
You Would Use:
<a HREF="link"><IMG SRC="link to image" ALT=""></a>
Good Luck :P
today
24-01-2008, 06:59 PM
No need for the </img> :P And some of the code is wrong.
<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. :l
<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.
Mattch
24-01-2008, 07:47 PM
Uhhhh i think i get it but what 1's right???????
<a href=habboxforum.com target=habbox>
<img src=http://i241.photobucket.com/albums/ff314/Mattch23/official_sparkle2.gif alt=Habbox title=habbox border="0" />
</a>
Don't work??????
Mentor
24-01-2008, 08:00 PM
Uhhhh i think i get it but what 1's right???????
<a href=habboxforum.com target=habbox>
<img src=http://i241.photobucket.com/albums/ff314/Mattch23/official_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
<a href="http://www.site.com/page.php"><img src="http://i241.photobucket.com/albums/f...l_sparkle2.gif" /></a>
or
<img src="http://i241.photobucket.com/albums/f...l_sparkle2.gif" onclick="document.location='http://www.site.com/page.php'" />
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.