Hey all,
I recently put up an e-commerce site and wish to make some simple modifications the owner of the site can modify on her own with basic HTML. I have a product catagory set-up in CGI. When I click on a product catagory it lists all the products with a short description next to them in HTML. This is pulled by the CGI script to dynamically generate each product page with a standard HTML header and footer while inserting the HTML description next to the product information.
I attempted to create a JavaScript popup in this fashion within the allowable HTML description of the product.
It has no effect and returns an error on the status bar on the bottom which reads object expected and references my .cgi script.
Note: Adding the
Is this possible or do I have to create a sub routine in CGI to process a HTML popup window? I want to use this window for a detailed product description, additional pictures, and accessories for the product.
Thanks a lot!
Scott
I recently put up an e-commerce site and wish to make some simple modifications the owner of the site can modify on her own with basic HTML. I have a product catagory set-up in CGI. When I click on a product catagory it lists all the products with a short description next to them in HTML. This is pulled by the CGI script to dynamically generate each product page with a standard HTML header and footer while inserting the HTML description next to the product information.
I attempted to create a JavaScript popup in this fashion within the allowable HTML description of the product.
Code:
<a HREF="javascript:popUp('URL to .html')"><font face="tahoma" color="darkblue">More details</font></a>
It has no effect and returns an error on the status bar on the bottom which reads object expected and references my .cgi script.
Note: Adding the
Code:
<SCRIPT LANGUAGE=JAVASCRIPT></SCRIPT> will hide the text similar to <!-- --> does.
Is this possible or do I have to create a sub routine in CGI to process a HTML popup window? I want to use this window for a detailed product description, additional pictures, and accessories for the product.
Thanks a lot!
Scott