Menu
Friends,
I put this in the head
<script>
function win(){
var picname;
var imdet;
if (picname==”img1″){imdet=”test img1″}
else {if (picname==”img2″){imdet=”test img2″};};
myWindow = window.open(“”,”25″,”25″)
myWindow.document.write(imdet)
myWindow.document.bgColor=”lightblue”
myWindow.document.close()
}
</script>
In the document im having some images if a user selects image then i have display according to their selection.
<img name=”img1″ border=”0″ src=”entlevel.jpg” width=”56″ height=”100″ style=”cursor:hand” onClick=”picname=this.name;win();”>
This is not working…..May be im wrong…..
Please Correct me.
Thanks
Sathyguy