I like to have a portfolio that is dynamic and simple to update
In one part there will be some little square preview, and hovering or clicking on these preview will update the LARGE section with the whole job
i know pretty good the : MM_swapImage(), but like to do it in jquery or ajax
Any demo or sample code around ?
--
some research result : http://code.google.com/p/jquery-swapimage/
--
<SCRIPT LANGUAGE="Javascript">
function swap(pic1, pic2)
{
var pic1 = document.getElementById("pic1");
var pic2 = document.getElementById("pic2");
var pic1src = pic1.src;
var pic2src = pic2.src;
pic2.src = pic1src;
pic1.src = pic2src;
}
</SCRIPT>