Thanks for the help, SeViR!

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of SeViR
Sent: Tuesday, February 27, 2007 4:17 AM
To: jQuery Discussion.
Subject: Re: [jQuery] KICK-BUTT javascript based Zoom feature

I made jPanView for some similar. You can change the plugin for load 
dinamically images.

An idea:
<div id="zoomarea">
<a class="panview" href="image_big.jpg"><img src="image.jpg" /></a>
</div>

<div id="thumbarea">
<img src="image.jpg" /> <img src="image1.jpg" /> <img src="image2.jpg" />
</div>

$(".panview").panview(width,height);
$("#thumbarea img").hover(function(){
$(".panviewer").remove(); //remove old jpanview area
$(".panview").show(); //show again the link as default
$(".panview").attr("href",this.src.replace(".jpg","_big.jpg"));
$(".panview img").attr("src",this.src);

$(".panview").panview(width,height); //redraw zoom area
},function(){});


This is a simple idea similar to shoes example without change the plugin
code. But also you can change the plugin code for more similar prototype
example.





_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to