the_pm
March 1st, 2005, 06:43
This is mainly a JavaScript question, and it's nagging at me a bit right now (though I'm not losing too much sleep over it).
I have an ad rotator on a site I'm finishing up - it's compulsory, as the site is part of the Canton Chamber of Commerce Web ring. The ad rotator requires the img tag in the HTML document to use the name attribute, which is not acceptable in XHTML. I'm trying to change this to an ID, but I can't for the life of me find anywhere in the script where that name is being referenced, and therefore I can't make the necessary code changes to switch from name to ID.
Here's the page in question: http://www.leadershipstarkcounty.com/index2.asp
The script is here: http://www.leadershipstarkcounty.com/includes/ads.js
Any thoughts?
I have an ad rotator on a site I'm finishing up - it's compulsory, as the site is part of the Canton Chamber of Commerce Web ring. The ad rotator requires the img tag in the HTML document to use the name attribute, which is not acceptable in XHTML. I'm trying to change this to an ID, but I can't for the life of me find anywhere in the script where that name is being referenced, and therefore I can't make the necessary code changes to switch from name to ID.
Here's the page in question: http://www.leadershipstarkcounty.com/index2.asp
The script is here: http://www.leadershipstarkcounty.com/includes/ads.js
Any thoughts?