I am trying to use javascript when posting certain messages to that when clicked, will open a pop up window.
If you go here:
www.everydayjones.com and look at the Upcoming & Previous Shows section, you will see the error I get.
In the headinclude template I have typed this:
Quote:
<script LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men ubar=0,resizable=1,width=400,height=400');");
}
</script>
|
I have also typed that in the vbindex_headinclude template
In the message I have typed in HTML and I have HTML turned on. For the link, I am using this line of code:
Quote:
<a href="javascriptopUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=1&day=2004-8-12&c=1')">The Swiss Pub, Tacoma Wa</a>
|
Anyone know why I might be getting the error it produces?