clandestino_bgd
01-27-2006, 07:03 PM
Dear all,
I am trying to use Switch Menu script:
http://www.dynamicdrive.com/dynamicindex1/switchmenu2.htm
in a html page that has declared doctype and
defined <html xmlns="http://www.w3.org/1999/xhtml">
I have tried both:
STRICT:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
and
TRANSITIONAL:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The demonstration is available on:
1. http://www.fss.org.yu/agaton/switchmenu-original.html
(here you can see isolated script, originally taken from DD with no doctype declared. It works fine both in IE and FF)
2. http://www.fss.org.yu/agaton/switchmenu-strict.html
(works fine in IE and bad in FF - click three times on the same menu in sequence)
3. http://www.fss.org.yu/agaton/switchmenu-trans.html
(works fine in IE and bad in FF - click three times on the same menu in sequence)
Can you please help?
Thank you in advance.
Kind regards
Milan
I am trying to use Switch Menu script:
http://www.dynamicdrive.com/dynamicindex1/switchmenu2.htm
in a html page that has declared doctype and
defined <html xmlns="http://www.w3.org/1999/xhtml">
I have tried both:
STRICT:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
and
TRANSITIONAL:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The demonstration is available on:
1. http://www.fss.org.yu/agaton/switchmenu-original.html
(here you can see isolated script, originally taken from DD with no doctype declared. It works fine both in IE and FF)
2. http://www.fss.org.yu/agaton/switchmenu-strict.html
(works fine in IE and bad in FF - click three times on the same menu in sequence)
3. http://www.fss.org.yu/agaton/switchmenu-trans.html
(works fine in IE and bad in FF - click three times on the same menu in sequence)
Can you please help?
Thank you in advance.
Kind regards
Milan