"More Info" pop-up windows!

How to add "More Info" pop-up windows to your database displays and/or HTML forms:

cart.pl version 3.19+:
  1. Insert this <A HREF> tag into either your custom description database fields, or your HTML FORM custom description fields: <A HREF=javascript:Start('http://www.dansie.net/examples/more_info.html','400','200');>More Info</A>
  2. Change the URL inside the parenthesis to where your custom made "more info" page is located. The URL could be to an html document or to a jpg or gif.
  3. You may change the '400' and '200' to define the width and height of the pop-up window.

cart.pl version 3.18 or lower:
  1. Put this in your "navigation.txt" file of Database Variable #22 and also in lang.dat #114 <SCRIPT LANGUAGE="JavaScript"> function Start(page,windowWidth,windowHeight) { OpenWin = window.open(page, "infoWindow", "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=" + windowWidth + ",height=" + windowHeight + ",top=100,left=300"); } </SCRIPT>
  2. The "OpenWin" line needs to be all on one line with no breaks in it. Otherwise it will cause browsers to have JavaScript errors and the windows wont pop-up.
  3. Then, follow the instructions above for cart.pl versions 3.19+.