Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 24, 2005, 7:27 pm
rate this thread
On Fri, 24 Jun 2005, Alex wrote:
Instead of just using something like this:
<a href="#" onclick="OpenWindow('foo.html');">foo</a>
<a href="#" onclick="OpenWindow('foo.html');return(false);">foo</a>
Something like this would keep all browsers at approximately the
<a name="foolabel"> </a>
Windows is *not* a "Toy OS".
/me desperately trying to hide the URL for the screenshot of my desktop
Don't do that:
<a href="something.html" onclick="somefunction();return false">
capable, is nearly always preferable.
Not using popup windows is probably the best solution; they are nearly
always a poor design choice. Failing that, see:
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/
Home is where the ~/.bashrc is
Use code like:
That way, if the user has JS disabled, or popups blocked, then they
/should/ get the new page loaded in the same window/tab that the
original site was in. The "return false;" bit simply stops the original
page from jumping back to the top.
http://webpageworkshop.co.uk -- FREE Web tutorials and references
- » looking for host where we can run a custom spam filter
- — Next thread in » Webmaster Forum