Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23
horizontal menu problem (only IE)
Poster: bl4z
Dated: Sunday July 27 2003 - 11:04:58 BST
well i got page inside oracle portal with several menus (1 horizontal and meny vertical)
in Mozzila 1.3 and 1.4 everything works fine but not in IE version 5 and 6 where i see only vertical menus .... i even tryed sample21 from milonic page and it doesnt show horizontal menu ...
vhen i chaneg tah in horizontal menu to vertical i see menu fine ... but vertical menu is not sutable here
well the problem i think is with "not good" html structure, coz oracle portal is adding html header so i made 1 clean version where menu works fine also in IE so finaly my quastion is: is there any workaround with this "badly structured" html files:
http://www.quaddown.org/~blaz/menu2/
menu.htm is oracle produced page
menu_clean.htm is manualy cleaned page
tnx 4 tips
Poster: bl4z
Dated: Tuesday July 29 2003 - 17:32:31 BST
ok since no1 replayed i digged deeper into problem and found the "thing"
the problerm was, that i included files js files in <table> but when clse header table and include js in the body everything worked fine
i found solution after reading this posts:
http://lists.w3.org/Archives/Public/htm ... /0250.html
http://lists.w3.org/Archives/Public/htm ... /0251.html
gg all, cu nxt time
Poster: bl4z
Dated: Tuesday July 29 2003 - 17:38:42 BST
Code:
>Possible improper placement of <script> tag
>=================================
>The next 9 warnings are all the same issue: I am using a JavaScript
>"subroutine" inside a table;
TABLE cannot contain SCRIPT. It can only contain (directly or indirectly
due to omissibility) CAPTION, COLGROUP, COL, THEAD, TFOOT, TBODY, TR, INS,
DEL, or comments.
If you're going to use a SCRIPT to generate table rows, the SCRIPT will
have to generate the entire TABLE.
>I gather that this is not a valid thing to do, but I looked all over the
>W3C site and could not find it documented:
Try the DTD itself. <http://www.w3.org/TR/html40/loose.dtd> is as
forgiving a DTD as you'll find (though HTML Tidy still doesn't support that
particular DTD).
>=================================
>The next 9 warnings are all the same issue: I am using a JavaScript
>"subroutine" inside a table;
TABLE cannot contain SCRIPT. It can only contain (directly or indirectly
due to omissibility) CAPTION, COLGROUP, COL, THEAD, TFOOT, TBODY, TR, INS,
DEL, or comments.
If you're going to use a SCRIPT to generate table rows, the SCRIPT will
have to generate the entire TABLE.
>I gather that this is not a valid thing to do, but I looked all over the
>W3C site and could not find it documented:
Try the DTD itself. <http://www.w3.org/TR/html40/loose.dtd> is as
forgiving a DTD as you'll find (though HTML Tidy still doesn't support that
particular DTD).