HOME       >>       Programming

New Window Positioning


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)


VIEW ORIGINAL REGISTER GET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.