Javascript messing up theme
-
I have a Javascript that is messing up a theme, causing 50 some validation errors and making the posts column slide down the page in Internet Explorer. I tried the external javascript thing and I must not be doing it right because I can’t get it to run at all that way.
I’m using the 4-column Identification Bands theme. This is the site:
https://election2008.tom-hanna.orgI put the Javascript in this file:
https://election2008.tom-hanna.org/setcountdown.jsIn addition to the stuff inside the scripts tag, the script uses this code:
<ilayer id="countdownnsmain" width=&{countdownwidth}; height=&{countdownheight}; bgColor=&{countdownbgcolor}; visibility=hide><layer id="countdownnssub" width=&{countdownwidth}; height=&{countdownheight}; left=0 top=0></layer></ilayer>
which I have tried including in the external Javascript file and also tried just adding it to the template file. I read Lorelle’s excellent post on the subject of external javascripts at her blog and several other resources and either I’m not doing it right or there’s something interfering. Is there any other solution?
I’ve tried putting this in every template file except the footer and I still get the issue, even if I put it after the post content. It won’t do much for me in the footer.
Nothing urgent here, but any help would be appreciated.
- The topic ‘Javascript messing up theme’ is closed to new replies.