|
|
|
|
![]() ![]() |
Feb 5 2006, 03:03 AM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 125 Joined: 13-November 05 Member No.: 14,232 |
ok i have alot of pictures on my site and i need a way in which i can hold my mouse over the pictures and the picture can get bigger. I know it will be some kind of javascript or flash trick can anyone explain the prosess for it?
|
|
|
|
Feb 5 2006, 03:58 AM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 5-February 06 Member No.: 18,223 |
QUOTE <script language="javascript"> // © 2002 Premshree Pillai // http://www.qiksearch.com // premshree@hotmail.com // Loaction of this script : // http://www.qiksearch.com/javascripts/image_zoom_out.htm // Visit http://www.qiksearch.com/javascripts.htm for more FREE scripts document.write('<div id="izo_div" style="position:absolute; top:130; left:190"><img src="izo.gif" border="3" bordercolor="#000000" name="izo" alt="Image Zoom Out" onclick="java script:setTimeout("zoom_out()",1000);" style="cursor:hand"></div>'); img_act_width = izo.width; img_act_height = izo.height; i=1; function zoom_out() { if(izo.width==0) { izo.border=0; } if(izo.width!=0) { izo.width-=i; izo.height=Math.round(izo.width*((img_act_height)/(img_act_width))); setTimeout("zoom_out()",1); i+=1; } } </script> That might be it. |
|
|
|
Feb 5 2006, 09:27 PM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 125 Joined: 13-November 05 Member No.: 14,232 |
thank you for the script
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 04:31 AM |