I am attempting to append an image source which does not reside on our server to reference and external server. Specifically this 4th line.
I need this to reference an external server and not default to my default server. And suggestions?
$(document).ready(function() {
$('#thumbs ul li').click(function() {
var imgpath = $(this).attr('dir');
$('#image').html('<img src=' + imgpath + '>');
});
$('.btn').click(function() {
$('#thumbs').fadeIn(500);
$('#image').animate({
marginTop: '10px'
}, 200);
$(this).hide();
$('#hide').fadeIn('slow');
});
$('#hide').click(function() {
$('#thumbs').fadeOut(500, function() {
$('#image').animate({
marginTop: '50px'
}, 200);
});
$(this).hide();
$('#show').fadeIn('slow');
});
});