Hello. I have a problem and was hoping someone could help me. Here is the situation:
I have an image map. When a certain area of the map is clicked on, a new broswer window opens to a particular location within that page using scrollTo. Using the code pasted below this works fine locally on my machine but as soon as I upload it online the scrollTo function stops working and the new browser window instead opens to the default top left.
Any ideas to what I’m doing wrong?
[COLOR=Blue]<map name=”Map” id=”Map”>
<area shape=”rect” coords=”9,5,106,125″ href=”” target=”blank” onclick=”var newWin=window.open(‘subareas/grid_1.html’,’maps’,’status=no,scrollbars=yes,scrollbars.visible=true,resizable=yes,menu=no,width=475,height=550′);[B]newWin.scrollBy(100,50)
</map>