Page 1 of 1

Not conform XHTML 1.0 Strict

PostPosted: Tue Jun 10, 2008 5:32 pm
by mhf
Hello,

Unfortunately, my first menu made with EBMM v1.2 Pro is not conform XHTML 1.0 Strict (my web page is conform).

Error displayed by w3c validator:
- there is no attribute "name".
- there is no attribute "border".

"border" is not a problem, I have replaced:
Code: Select all
style="vertical-align: bottom;" border="0"

by:
Code: Select all
style="vertical-align: bottom; border: 0;"


But, for the tag "name" I haven't found a solution! I need help!

Thank you.

Re: Not conform XHTML 1.0 Strict

PostPosted: Wed Jun 11, 2008 3:06 am
by Cary
Just delete the name attribute. I did a test without the name attributes and everything still worked fine.

Re: Not conform XHTML 1.0 Strict

PostPosted: Wed Jun 11, 2008 9:29 am
by mhf
Thank you Cary, but, if I delete the tag "name" the style "Mouse Over" and "Pushed Down" don't work.
Another idea?

Thanks.

Re: Not conform XHTML 1.0 Strict

PostPosted: Wed Jun 11, 2008 10:08 pm
by Karlis
This is necessary for the compatibility with older web browsers. You can use Transitional if you are big fan of HTML validation.

Also you can unchecked "Use Table tags" and generate menus based on UL tags. Maybe that helps?

Re: Not conform XHTML 1.0 Strict

PostPosted: Wed Jun 11, 2008 10:27 pm
by mhf
Karlis,
Problem in both cases (UL and Table)

Re: Not conform XHTML 1.0 Strict

PostPosted: Thu Jun 12, 2008 12:36 am
by mhf
:idea: I think that I found a solution:

- create a menu normally in EBMM
- save the menu as html
- open the generated html file and copy/paste the menu <ul>...</ul> into a new .js file (example: menu.js):

content of menu.js:
Code: Select all
document.write('THE MENU GENERATED BY EBMM');


and then in my web page, I call the menu (menu.js) and the .js generated by EBBM :
Code: Select all
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript" src="cbjscbmenu.js"></script>


With this solution, the menu work correctly and the web page stay conform xhtml strict 1.0 :wink:

Karlis, If you agree this solution, please, can you as soon as possible build a special release of EBMM Pro :?: because it's to difficult to manually edit all menus... simply add a possibility to save as .js

Thank you. :)