Originally posted by ramli
<a href=\"javascript:window.open('?id=screenshotsview&src=$image&name=$name','secreenschot','width=400,height=400')\">
<img src='./admin/data/$name/sc/".$image.".jpg' height='100' width='125' border='0'>
<a>
if i use this script to open a window with a imagefile the window opens correct only the page of the link alsow chanches in to a white screen with the text [object] and i dont understand wy becouse i want him to open the window without chanching the main site. can anybody help me?
thax in advance
Ya, an easy solution to this would be to change your link to this:
<a href=\"#\" onclick=\"javascript:window.open('?id=screenshotsview&src=$image&name=$name','secreenschot','width=400,height=400')\">
<img src='./admin/data/$name/sc/".$image.".jpg' height='100' width='125' border='0'>
<a>
Let me know if that doesn't work.