Website Designers R Us - Home
Opening a new window from a link

In a similar manner to the previous tip, a 'pop-up box' can be launched using JavaScript. You can define the window size in pixels and specify whether to show scrollbars, toolbar, etc.

<SCRIPT LANGUAGE="JavaScript">
<!--//hide script from old browsers
function launch() {
open('totd/tipofday.htm', 'tipofday', 'resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, width=500, height=300') }
document.write('<A HREF="javascript:launch()">Todays Tip</A>')
//end hiding contents -->
</SCRIPT>

You should also follow the above code with HTML for browsers that do not support JavaScript:

<NOSCRIPT><A TARGET="tipofday" HREF="totd/tipofday.htm">Today's tip</A>:</NOSCRIPT>

Return to Listing

Website Designers R Us is a professional Internet strategy and Web design company based in Toronto, Canada. We specialize in best-in-class website design, online marketing, Flash multimedia, corporate identity and print graphics. Website Designers R Us features an integrated team of web consultants, creative designers, writers, programmers and marketing professionals that know how to get online results
 Home          ::             About Us          ::             Support            ::             Services            ::             Link Partners          ::             Contact

Copyright © 2006-2007 Website Designers R Us, a DOT Specialist Company. All rights reserved.