Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validation XHTML
27th August, 13:37
Post: #1
Validation XHTML
hello,

It seems there is a concern with the Validation XHTML at the level of the balise content in the qtip script:

The validators say document type does not allow element "b" or "img" or "div" here

So i try to put it all in a separate .js file, but then it doesn't work.

Would there be a means to correct this, or should one stay with these validation errors for using the plugin ?
Find all posts by this user
Quote this message in a reply
27th August, 14:05
Post: #2
Validation XHTML
abtip, not entirely sure I understand. Are you saying the script itself is causing XHTML Invalidation?

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
27th August, 14:28
Post: #3
Validation XHTML
I don't know, it may be the script, or the validator which is out of date for such plugin.

One can see this also by placing one of the qtip demo page into a validator.
Find all posts by this user
Quote this message in a reply
27th August, 15:49
Post: #4
Validation XHTML
You mean placing the script tags? Standards usuall dicate that you surround all JS code in an HTML comment like so if yo uwant it to validate:

JS Code
<script><!-- js code --></script>

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
27th August, 18:06
Post: #5
Validation XHTML
It was just it. Thanks very much, you really help.
Find all posts by this user
Quote this message in a reply
9th October, 16:57
Post: #6
Validation XHTML
Hi,

I have a question along these lines. I ran my page through the WC3 validator and got this message:

Attribute "tooltip" is not a valid attribute.

I am using XHTML Strict as a DOC Type. Is there any way to get the 'tooltip' attribute to validate using this standard?

Thanks,

-NBreslow
Find all posts by this user
Quote this message in a reply
11th October, 00:30
Post: #7
Validation XHTML
nbreslow, unfortunately there isn't. Try using a different attribute name instead, or simply ignore the validation in this case, as in all honesty it doesn't mean much.

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] qTip input fields validation not working with display:none Maverick 6 1,414 25th July 16:44
Last Post: Maverick
  post ajax from qtip2/validation form jquerynewb 4 1,346 14th July 08:19
Last Post: Craig
  [Solved] How to display php errors in a login validation usign qTip? mbarros 1 1,458 20th November 23:56
Last Post: mbarros
  qtip + jquery validation not showing the title of the input mbarros 3 1,809 16th November 23:13
Last Post: Craig
  qtip doesn't work with W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN raccoon8888 2 1,904 27th October 00:03
Last Post: Craig
  Using qtip with jQuery validation framework mutleyoz 2 3,453 9th June 08:23
Last Post: lounge
  [Solved] Trigger qtip on validation failure franko75 3 1,574 4th May 11:11
Last Post: franko75
  QTip for validation JontyMC 1 2,317 18th March 22:56
Last Post: Craig



User(s) browsing this thread: 2 Guest(s)