Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other My 1st site isn’t validating, doesn’t like anythinslider links or javscript

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #33378
    gmox
    Participant

    Here’s the site and the anything slider is on the other pages.

    The script for the drop down menus doesn’t seem to fly with the validator nor does it like the syntax for linking to specific slides in the anythingslider. Did I not properly use these plugins?

    Also, any feedback on my markup and css (or on anything) would be appreciated as well.

    Thanks, you guys have been a big help already!

    #82859

    Hello gmox,

    most of the errors were because you used an ampersand in the href with the “&” symbol whereas it should be &.

    another thing, onmouseover and onmouseout are case sensitive, so change all ur OnMouseOver with onmouseover and they’ll validate just fine.

    finally, instead of

    .prepend('hide')

    it should be

    .prepend('span[class="close"]hide')

    #82871
    gmox
    Participant

    Thanks for the help. Everything worked except for the .prepend(‘span[class=”close”]hide’) which broke the close caption link. See my deBug page to see what happens.

    #82873

    my bad, please try

    .prepend('span[class=*close]hide')
    #82881
    gmox
    Participant

    Hmmm, that’s not working either, see the deBug page where I have your new code. Thanks for trying!!!

    #82904

    strange that the newest version of anythingslider fx has that span element in the script.. maybe u can send me ur project folder so i can do some debugging myself?

    #82905
    gmox
    Participant

    You mean all the files, photos and all? Sure, how do I go about doing that?

    #82918

    on second thought, u can use the CDATA section for ur script which would make the validator ignore it. i tried it, it still validates and the close caption link is intact.

    #82934
    chrisburton
    Participant

    Apparently validated markup is not required as long as you have readable HTML

    #82968
    gmox
    Participant

    Thanks for all your help 3a2roub!

    #82975
    Mottie
    Member

    There is also a trailing comma in the AnythingSlider options (after the navigation formatter) that will cause IE to act like this rabbit.

    #82978

    anytime :)

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Other’ is closed to new topics and replies.