I have a site on development using the Smart theme at
https://www.volvoclub.org.uk/test/index.html
I have named one of the small side boxes Membership Benefits, and in the text I want a link to get a popup box with info.
I have got this working from this box from all pages except when in any of the pages listed in Store Sections. I get 'Error on Page' displayed at the bottom of the browser.
I think the reason is that the Java script
won't fit in the small space available in Design > Options > Site Defaults > LeftBarText > Value and needs to be somewhere on the page on display.
In Design > Options > Site Defaults > LeftBarText > Value I currently have
Am I right, if so, where do I need to place this code. If I am wrong what should I be doing.
Thanks
https://www.volvoclub.org.uk/test/index.html
I have named one of the small side boxes Membership Benefits, and in the text I want a link to get a popup box with info.
I have got this working from this box from all pages except when in any of the pages listed in Store Sections. I get 'Error on Page' displayed at the bottom of the browser.
I think the reason is that the Java script
<SCRIPT LANGUAGE="JavaScript">
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=350,height=350');
self.name = "mainWin"; }
</SCRIPT>
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=350,height=350');
self.name = "mainWin"; }
</SCRIPT>
In Design > Options > Site Defaults > LeftBarText > Value I currently have
<P><B>We cater for ALL models and ages of Volvo cars.<A
HREF="javascriptopUp('http://www.volvoclub.org.uk/benefits.htm')"><BR><BR>Read
by clicking HERE</A></B></P>
HREF="javascriptopUp('http://www.volvoclub.org.uk/benefits.htm')"><BR><BR>Read
by clicking HERE</A></B></P>
Thanks
Comment