WordPress.org

Ready to get started?Download WordPress

Forums

Fancy tooltips Invalidates site (10 posts)

  1. Jinsan
    Member
    Posted 9 years ago #

    Hmmm... Just wondering whether there should be just as much a stringent application on plugins in for WP to be valid in their workings, as much as emphasis is put on the designof themes.

    I only recently checked my site out of curiosity to see if it would validate - and it wouldn't. All the errors came from Fancy Tooltips with moz-blahblah within the CSS coming up as invalid.

    If validation is such an important issue, surely plugins should be valid before submission or at least provide documentation that it will invalidate?

  2. NorthernPassages
    Member
    Posted 9 years ago #

    I use them on my site and it validates just fine - though I chose a solid background colour, I'm guessing it's a problem with the opacity?

  3. Jinsan
    Member
    Posted 9 years ago #

    hmmm it's possible I don't know for certain against the CSS validator spews out error after error

  4. NorthernPassages
    Member
    Posted 9 years ago #

    swing by my site and check out my CSS for it here.

  5. Jinsan
    Member
    Posted 9 years ago #

    Well I found this error in validating my page as 1.0 strict it's fancytool tips related, any idea on this - not sure on teh resolution:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sekhu.net%2Fwp%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&verbose=1

  6. NorthernPassages
    Member
    Posted 9 years ago #

    Try putting that line in your header like so instead:

    <script type="text/javascript" src="http://sekhu.net/wp/wp-content/plugins/fancytooltips/fancytooltips.js"></script>

    See if that fixes it.

  7. victr9
    Member
    Posted 9 years ago #

    @Jinsan: To fix your validation errors, simply edit the fancytooltips.css file and remove all references to -moz-(whatever). You will not have the funky rounded corners, but it will validate properly. The thing is, all browsers but Mozilla based ones simply ignore the -moz values, but the validator looks at it from a 3rd person view and sees it as invalid. Believe me when I say it will not affect the display of your page. Remove it if you want, but you can safely keep it.

    @NorthernPassages: The FancyToolips script is coded to work in the more popular XHTML 1.0 Transitional doctype. If you want to have it verify in XHTML 1.0 Strict, remove the language="javascript" value from the fancytooltips.php file. It's easy, but if you need help just ask.

  8. Jinsan
    Member
    Posted 9 years ago #

    thanks for the suggestions guys - it's just well, there's an anal protocal for validated pages, so....I'll have to remove the opacity feature. It's a shame W3C don't support it, but they probably will if IE supports it *cough*

  9. victr9
    Member
    Posted 9 years ago #

    It's not that W3C doesn't suport it, it's just that they didn't standardize it. when a '-' is placed before a value in CSS, theoretically, a browser ignores it. Mozilla based browsers (Netscape, Mozilla, Firefox, Camino, ect.) are coded to find -moz items and render them in the page. It's a browser specific code. W3C doesn't ignore the code, because it's looking at it peice by peice. Perhaps if IE were to pick it up, W3C would be lenient enough to allow it. But, W3C doesn't condol the use of it.

  10. Jinsan
    Member
    Posted 9 years ago #

    Ok well I left it in, screw W3C!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.