R
rfr
When I add a transitional doctype to the weather page on my community
website, I loose certain Js scripts, but not all of them.
This puzzles me.
The main menu is powered by a js script and seems to function even with eh
doctype.
But, the floating menu doesn't function once I put a transitional doctype of
the page. The js script that handles the floating top of page icon on the
right side is problematic.
I have created version of the weather page with new names so that you can
access them w/o interfering with my visitor counts.
The funtioning page without doctype and INTERNAL JS is here and it works:
http://www.wgtn.net/weather/weather_without_doctype.htm
The non-funtioning page with doctype and INTERNAL JS is here:
http://www.wgtn.net/weather/weather_with_doctype.htm
I thought, perhaps that making the js script EXTERNAL would solve the
problem.
But this does not work either. Oh, dang.
The funtioning page without doctype and EXTERNAL JS is here:
http://www.wgtn.net/weather/weather_without_doctype_externaljs.htm
The non-funtioning page with doctype and EXTERNAL JS is here:
http://www.wgtn.net/weather/weather_with_doctype_externaljs.htm
I dont want to give up my floating menus.
I would like to be able to use a doctype so that my pages validate. This
helps me feel sure that they are cross-browser as much as I can do.
Has anyone else run up against this conflict with JS scripts and use of
doctype and have a solution or workaround?
website, I loose certain Js scripts, but not all of them.
This puzzles me.
The main menu is powered by a js script and seems to function even with eh
doctype.
But, the floating menu doesn't function once I put a transitional doctype of
the page. The js script that handles the floating top of page icon on the
right side is problematic.
I have created version of the weather page with new names so that you can
access them w/o interfering with my visitor counts.
The funtioning page without doctype and INTERNAL JS is here and it works:
http://www.wgtn.net/weather/weather_without_doctype.htm
The non-funtioning page with doctype and INTERNAL JS is here:
http://www.wgtn.net/weather/weather_with_doctype.htm
I thought, perhaps that making the js script EXTERNAL would solve the
problem.
But this does not work either. Oh, dang.
The funtioning page without doctype and EXTERNAL JS is here:
http://www.wgtn.net/weather/weather_without_doctype_externaljs.htm
The non-funtioning page with doctype and EXTERNAL JS is here:
http://www.wgtn.net/weather/weather_with_doctype_externaljs.htm
I dont want to give up my floating menus.
I would like to be able to use a doctype so that my pages validate. This
helps me feel sure that they are cross-browser as much as I can do.
Has anyone else run up against this conflict with JS scripts and use of
doctype and have a solution or workaround?