How do I make this image clickable?

Cool-Guy at 13h07
15
Oct
2011
Hello,

I earlier got this code:

Code:
$(document).ready(function() {
  $('#chatbox_popup').after('<div class="novo" align="left"><img src="http://img51.imageshack.us/img51/2012/15656504.png" alt="stats" /></div>');
});


What can I do to make it a link to another page?

Thanks.
1 *Mare-SBK™*, on 15/10/2011 at 13h13
Just add a - anchor tags
Code:
$(document).ready(function() {
  $('#chatbox_popup').after('<div class="novo" align="left"><a href="URL"><img src="http://img51.imageshack.us/img51/2012/15656504.png" alt="stats" /></a></div>');
});


Just change URL to your link.
2 Cool-Guy, on 15/10/2011 at 13h18
Very, very good. But what if I want it to open in a new tab?
3 *Mare-SBK™*, on 15/10/2011 at 13h26
just add target="_blank" bounce
Code:
$(document).ready(function() {
  $('#chatbox_popup').after('<div class="novo" align="left"><a href="URL" target="_blank"><img src="http://img51.imageshack.us/img51/2012/15656504.png" alt="stats" /></a></div>');
});
4 Cool-Guy, on 15/10/2011 at 13h39
Amazing. Solved. bounce
5 Sanket, on 15/10/2011 at 19h55
Since this thread is marked solved, I will lock this thread.


Sanket Smile

Similar topics
Multiple clickable portions on a Image. Using HTML make Mutliple portions on a image clickable Hello Everyone This is a very simple tutorial to make multiple clickable areas on your image. Enter this code into your HTML Page. Code:<img
Border on Hovering over an Image Border on Hovering over an image Hello Everyone This is a tutorial to make multiple clickable images to have a border on hover. It gives a nice effect to the image. We can use this to highlight just one image if w
Okay, so, I guess it says it all, I'm not very good at CSS codes, but I know it requires a CSS codes to do so. How do I make it show an Image instaid of a color. Also, off topic, but how do I enable HTML for the entire forum?
See also
more_less
Informations

5 Replies For the topic :
"How do I make this image clickable?"

This topic has been viewed 747 times.

Last message :
15/10/2011 at 13h07 by "Cool-Guy"