PDA

View Full Version : Close Button


smiffy
20-Sep-2003, 01:16 PM
Is there an easy way to have a close windows button in the pop up product info boxes?

Ben
22-Sep-2003, 01:04 PM
Hi Gary Is there an easy way to have a close windows button in the pop up product info boxes? There certainly is! Open your ExtendedInfo template and find the line document.write('<A HREF="javascript:window.close();">NETQUOTEVAR:CLOSELABEL</A>'); Change this to document.write('<input type=button value=Close onClick="javascript:window.close();">'); Save the template and preview the store.

Ben

NormanRouxel
22-Sep-2003, 02:00 PM
I think Ben's code got munged.

Try document.write('<input type=button value="Close" onclick="window.close();">');

Norman