Honesty Rocks! truth rules.

New Window Positioning

HOME      >>       Programming

Two Gun Charley

Hey team,

Not sure if this is a CSS problem or a XHTML one. I've just uploaded my site, http://forums.xisto.com/no_longer_exists/. I've got the bottons 'SHOW ME MORE' to open up a new window, and that is sweet as.

It's just that when you do that, the original index window jumps back to the top of the page. Is there any way you can anchor the place of the main-page so it says where it was?

Cheeers guys.


shadowx

the problem is you have a URL as the link HREF value eg: <a href=#> and then some JS code to handle the onclick event. Change the links to:

<a href="" onclick="MM_openBrWindow('17.10.08_show_me_more.html','','scrollbars=yes,resizable=yes,width=700,height=700')">SHOW ME MORE</a>
and that should work hopefully (remove the hash # from the HREF section)