Get rid of this:
Code:
$('lrimg').addimagezoom({ // single image zoom
zoomrange: [3, 10],
magnifiersize: [300,300],
magnifierpos: 'right',
cursorshade: true,
largeimage: 'hayden.jpg' //<-- No comma after last option!
})
this:
Code:
$('#multizoom1').addimagezoom({ // multi-zoom: options same as for previous Featured Image Zoomer's addimagezoom unless noted as '- new'
descArea: '#description', // description selector (optional - but required if descriptions are used) - new
speed: 1500, // duration of fade in for new zoomable images (in milliseconds, optional) - new
descpos: true, // if set to true - description position follows image position at a set distance, defaults to false (optional) - new
imagevertcenter: true, // zoomable image centers vertically in its container (optional) - new
magvertcenter: true, // magnified area centers vertically in relation to the zoomable image (optional) - new
zoomrange: [3, 10],
magnifiersize: [250,250],
magnifierpos: 'right',
cursorshadecolor: '#fdffd5',
cursorshade: true //<-- No comma after last option!
});
$('#multizoom2').addimagezoom({ // multi-zoom: options same as for previous Featured Image Zoomer's addimagezoom unless noted as '- new'
descArea: '#description2', // description selector (optional - but required if descriptions are used) - new
disablewheel: true // even without variable zoom, mousewheel will not shift image position while mouse is over image (optional) - new
//^-- No comma after last option!
});
this:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
this:
Code:
<script src="http://www.cityfreeads.com/canada/jquery-1.4.2.min.js" type="text/javascript"></script>
<script>var jq = jQuery.noConflict(); </script>
and this:
Code:
<script language='JavaScript'>
jq(document).ready(function(){
jq('#lrimg').hide();
jq('#pht1 a').click(function(){
jq('#lrimg').hide(); jq('#dvlimg').show();
jq('#dvlimg2').html("<p> <p><font class='stfnt' style='color: #777777'>Loading...</font><p> <p>");
var imgpth = jq(this).attr('href');
jq('#lrimg').attr({ src: imgpth });
jq('#lrimg').fadeIn('1000');
jq('#dvlimg2').html("<font class='smallfnt' style='color: #999999'>click the photo to hide</font>");
return false;
});
jq('#lrimg').load(function(){jq('#lrimg').fadeIn('1000');
jq('#dvlimg2').html("<font class='smallfnt' style='color: #ff9966'>click the photo to hide</font>");
});
jq('#dvlimg').click(function(){jq('#dvlimg').fadeOut('');
});
});
</script>
Add the # symbol here:
Code:
$('#lrimg').addimagezoom() // single image zoom with default options
Here get rid of DISPLAY: none; :
Code:
<div id='dvlimg' STYLE="DISPLAY: none; position: absolute; z-index: 5; ">
<table width='450' bgcolor='#ffffff' border=0 cellspacing=10 cellpadding=0 class='tb4'>
<tr><td>
<center>
<img src='' id='lrimg' />
And come up with a src and dimension attributes for the image.
The browser cache may need to be cleared and/or the page refreshed to see changes.
There could still be other problems.
Bookmarks