Hi
I'm using the Thumbnail Viewer II with additional captions added as per the script available on this forum here: http://home.comcast.net/~jscheuer1/s...les/thumb2.htm
I've got it all validating to XHTML 1.0 strict except the name attribue part of the script in the thumbnail section which I can't get to validate as it says that name can only be a single word.
Is there any way round this?HTML Code:<a href="#" name="My Dog" onmouseover="modifyimage('dynloadarea', 0); get_cap(this.name);"><img src="images/dog.jpg" width="80" height="80" alt="My dog" /></a>
Thanks
Edit: I've tried changing the name attribute to id which works but again doesn't validate for the same reason. I've also tried adding a nonbreaking space character instead of an actual space but the validator doesn't like that either. In fact I've tried reducing the DOCTYPE and it won't have any of it! the only thing that works is an underscore but that is really ugly
2nd Edit: OK I solved the problem eventually! I swapped a title attribute for the name attribute and that works and validates!![]()




Reply With Quote

Bookmarks