PDA

View Full Version : Enlarge images on same page



alan6017518
02-25-2010, 08:40 AM
1) Script Title: Enlarge images on same page

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

3) Describe problem:
Is there any way to have the enlarged image on the same window?

I have removed the ,'center', 950,636 and align to a certain position and used the code
[CODE]
else{
var horzpos=ns6? pageXOffset+e.clientX : ietruebody().scrollLeft+event.clientX
var vertpos=ns6? pageYOffset+e.clientY : ietruebody().scrollTop+event.clientY
}
[CODE]
and change those to your preferred coordinates, ex:
Code:
[CODE]
else{
var horzpos=10
var vertpos=100
}
[CODE]
Now when ever I click to enlarge the image a new tab pops up

FYI-http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250586807675
The first image is magnified in a new tab in FF

Thanks for any help
Alan

alan6017518
02-26-2010, 04:57 AM
So I have looked into s couple post regarding the same issue,

http://www.dynamicdrive.com/forums/showthread.php?t=4152

This method pops up the enlarged image in a new page, still cannot find a solution to my problem.

Thanks for any help
Alan