Quick Nav:  Online Store   |   Login | Register

xhtml complient ???

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
DavidWSnow
<250Posts
Posts:213


11/16/2007 9:53 PM  

I have been working on a xhtml complient skin based on DNn Creative's Issue Skin. Of cource I am using your Silver Snapsis menu and not the House of Nuke menu. I get a W3c valitation error on what APPEARS to be javascript from you menu

 <script type="text/javascript">
        function NavMouseover(li) {
            clearTimeout(resetactive)
            var agent  = navigator.userAgent.toLowerCase();
            var regex = /msie/i;
               if (regex.test(agent))
               li.className+=' hover ';
            if (li.id.match('^navParent')) {
                var navChild=document.getElementById('navChild');
                if (navChild) {

 

navParent and NavChilds in it make me think that it might be coming from your CSS menu.

I'm guessing that  a fully formed <script> tag and a CDATA might make the problem go away.  Is this one of your files and where might I find it?

If not I would welcome any suggestions.

Regards,

Dave Snow

John Mitchell
Posts:3478


11/16/2007 10:04 PM  

Yes, that is from the template of the menu. You can find the template in the skin folder.

DavidWSnow
<250Posts
Posts:213


11/17/2007 10:50 AM  

Well I am using your silver hover tabs CSS 3.0 menu and don't appear to have such a file in my skin folder or anywhere else, yet I have the code

The only templates are the child and parent ones and no text files.

I'll upload the zip file of the skin that I am still working on. I've got to the point where I am trying to get the skin W3C CSS/xhtml verifiable.

 

Regards,

DaveS


Attachment: 11117502858829.zip

John Mitchell
Posts:3478


11/17/2007 11:38 AM  
I see. That is the ActiveResetHover sample which is an improved version of the SilverTabs.

The template file with the JS in that one is ActiveResetHover.Parent.template.txt
DavidWSnow
<250Posts
Posts:213


11/17/2007 3:40 PM  

I thought that I had looked in that file --- I must have look at the child one twice. 

The JavaScript in the Parent Template requires a full identification to work in xhtml transitional
    <script type="text/javascript" language="javascript">
    //

    // ]]>
    </script>

It was easy to add, but you might want to include it in your next kit

 

After I got by that issue I got was complains from the xhtml generated by the menu. It has a couple of extra 's. See below.
They are now inside of html quotes with my initials DWS.  The menu looks ok on the page but MS VWD Express and W3C validator are very happy with them. They are in the parent menu but not on every LI, only 2 out of 7 tabs.  These error are on the pages that have children, except for that very last page which also has children.  I suspect that ther may be an error in your logic.   Would you take a look at it please.

On a seperate note W3C valitator bitched about a menu entry "Computer & Web tools" I don't know if this is a menu issue or a DNN issue. Itook the easy way out and changed "&" to "and" but W3C thinks that it sould be the "code for &"  If it is something that you should be checking for in the menu then I thought you might want to know.

Regards,

DaveS


 I just deleted the html  after seeing what the forum did to it. I'll attach it below

 


Attachment: 1111744172571.txt

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software