Forum Moderators: not2easy
I could increase the size of the popup for each image but i don't want that to get out of hand.
This is what i have so far:
function OpenWindow(strURL,strWidth,strHeight)
{ /* open a new browser window based on info passed to the function */
window.open(strURL,"","Width=" + strWidth + ",Height=" + strHeight,0);
}
And image code:
<area alt="Anauroch Desert" nohref coords="298, 33, 425, 158" shape="rect" onClick="javascript:OpenWindow('maps/mapAnauroch.jpg',500,400);">
Be aware that my web skills aren't great, i had to search to find something that worked as the above!
Anyway your suggestion didn't quite work but put me on the right track and what i had to do was this:
function OpenWindow(strURL,strWidth,strHeight,strScrollbar)
{
/* open a new browser window based on info passed to the function */
window.open(strURL,"","Width=" + strWidth + ",Height=" + strHeight + ",scrollbars=yes",0);
}