Home > E-Commerce > Optimized Popup


Optimized Popup

December 31st, 2009

use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

<!– ONE STEP TO INSTALL OPTIMIZED POPUP:

1.  Copy the coding into the HEAD of your HTML document  –>

<!– STEP ONE: Paste this code into the HEAD of your HTML document  –>

<HEAD>

<SCRIPT LANGUAGE=”JavaScript”>
<!– Original:  Ronnie T. Moore, Editor –>
<!– Web Site:  JavaScript Source –>

<!– This script and many more are available free online at –>
<!– The JavaScript Source!! http://javascript.internet.com –>

<!– Begin
netscape = “netscape.html”; // set your browser pages
explorer = “explorer.html”;
unknown  = “unknown.html”;

// Determine the popup window properties
// options include:  top, left, toolbars, scrollbars,
// menubar, location, statusbar, and resizable

windowprops = “top=0,left=0,resizable=yes”
+ “,width=” + screen.width + “,height=” + screen.height;

ns = (navigator.appName == ‘Netscape’);
ie = (navigator.appName == ‘Microsoft Internet Explorer’);
url = (!ns & !ie) ? unknown : ( ns ? netscape : explorer);
window.open(url, “popupPage”, windowprops);
//  End –>
</script>

<p><center>
<font face=”arial, helvetica” size=”-2″>Free JavaScripts provided<br>
by <a href=”http://javascriptsource.com”>The JavaScript Source</a></font>
</center><p>

<!– Script Size:  1.06 KB –>

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Diigo
  • DZone
  • Fark
  • Faves
  • laaik.it
  • LinkedIn
  • Live
  • MisterWong
  • MySpace
  • Netvibes
  • Netvouz
  • NewsVine
  • Propeller
  • Reddit
  • Slashdot
  • Socialogs
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Buzz


Author: admin Categories: E-Commerce Tags:
Comments are closed.