A
ameyas
hi all,
i am using an image which has image map and i provide the href action
url. i have provided the url to open a pop up window like
"javascript:window.open('www.google.com');" but on clicking the image,
the page (main window) gets refreshed in the background the pop up
opens as desired.
is there a way to cancel the refreshing of page ? i tried
"javascript:window.open(www.google.com); return false;" gives error
so itried
"javascript:new function() { window.open(www.google.com); return
false; }"
but that didn stop refreshing the page either.
i also tried adding onclick function and then return false from there
but in that case the map does not work (no pop up) and i dont get the
required details from the image area.
how do i achieve this ?
thanks & regards
amey
i am using an image which has image map and i provide the href action
url. i have provided the url to open a pop up window like
"javascript:window.open('www.google.com');" but on clicking the image,
the page (main window) gets refreshed in the background the pop up
opens as desired.
is there a way to cancel the refreshing of page ? i tried
"javascript:window.open(www.google.com); return false;" gives error
so itried
"javascript:new function() { window.open(www.google.com); return
false; }"
but that didn stop refreshing the page either.
i also tried adding onclick function and then return false from there
but in that case the map does not work (no pop up) and i dont get the
required details from the image area.
how do i achieve this ?
thanks & regards
amey