Validating Script Body Content

User 37778 Photo


Ambassador
34 posts

Hi,
validating my scripts with https://validator.nu/ there is found an error made by the generator, please look at the line with <UL>.
I have found this, because it makes problems by my search-script, getting confused when scanning all my files (and inside-tags) for content and output.

<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
At the end of this line there is always one _"_ too much before the closing _>_. :cool:

<!-- Start of the body content for CoffeeCup Menu Builder -->
<div class = "xxxxxx">
<div id="menuBuilder">
<button class="nav-button button bar"><i class="icon_menu_handle"></i><span class="text_menu_link">Menu</span></button>
<div id="nav" class="nav">
<ul id="mainmenu" class="nav-collapse">
<li id="menu_2" class="has-flyout menu_2 menu_items">
<a href="#">
<span class="icon_menu_handle"></span>
<span class="text_menu_link">xxxxxx</span>
</a>
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
<li id="menu_2_sub_0" class="menu_2_sub_0 submenus_items submenu_menu_2_items">

User 187934 Photo


Senior Advisor
18,073 posts

Hi baerchen,
You have an extra " and space in the ul at the end.
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2" ">
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 37778 Photo


Ambassador
34 posts

One _"_ too much at the end generated by the program, totally 5! _"_, deleting this and the space, https://validator.nu says ok, and all works fine!
<ul class="flyout submenu_menu_2 submenus" id="submenu_menu_2">

I had to change this in all my menues.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.