$('#slidecaption, #slidecaption-grande').click(function() { //some code here...
$('#slidecaption, #slidecaption-grande').click(function(){ window.open($(this).attr('rel'));});
window.open('http://website.com');
What I want to make is to open an external link like "www.google.com" after this function is clicked.
How can I make this ?
this would open a new window with the location of whatever is in the 'rel' attribute
http://css-tricks.com/snippets/jquery/open-external-links-in-new-window/
Is it possible ?