473,224 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

XHTML validator not liking onMouseOver event

Hi,

I am trying to validate my website against XHTML 1.0 transitional.
Unfortunetely it throws up an error because I have used javascript
event onMouseOver

<span onMouseOver="Swap_Image(...

.... and it gives me an error saying that there is no onMouseOver
attribute.

Is there any other way of writing this? Cheers

Burnsy

Aug 5 '05 #1
2 2107
Hi,

Sorry but I seem to have put this in the wrong newsgroup. Anyway, if
anyone can help me out it would be much appreciated, thanks

Burnsy

Aug 5 '05 #2
Yeah you're probably in the wrong newsgroup. But this is only probably
the right answer...
bi******@yahoo.co.uk wrote:
Hi,

I am trying to validate my website against XHTML 1.0 transitional.
Unfortunetely it throws up an error because I have used javascript
event onMouseOver

<span onMouseOver="Swap_Image(...


Try this:

<span onmouseover="doSomethingClever();" >

It is the documented format for XHTML, and XHTML is intolerant of
incorrect case.

Aug 5 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: mike | last post by:
regards: I use Jtidy (api) to translate a HTML file into a "XHTML file". But The "XHTML file" cannot be identified by nokia 6600. Do I miss something important? Or this is Jtidy's weakness or...
5
by: Sergio del Amo Caballero | last post by:
Hello, I want to validate my simple page with xhtml 1.0 strict. But i want to use javasript inside. When i try the validator the answer is: Error: # Line 33, column 39: there is no attribute...
59
by: Philipp Lenssen | last post by:
I've tested some of the new Nokia 6600 functionality. It ships with WAP2 and XHTML Support (it says). What it does is check the Doctype -- if it's not the XHTML Mobile Profile Doctype, but a...
3
by: Ney André de Mello Zunino | last post by:
Hello. I decided to start experimenting with XHTML 2.0, having never messed with any of its previous versions, except for a quick look at XHTML 1.0 when it came out. When I tried to validate the...
2
by: bissatch | last post by:
Hi, I am trying to validate my website against XHTML 1.0 transitional. Unfortunetely it throws up an error because I have used javascript event onMouseOver <span...
4
by: Keith | last post by:
Hi, I'm in the process of learning a bit of web programming, and I'm making an effort to stay compliant with current web standards. I have a minimal web page with divs intended to change colour...
9
by: rbronson1976 | last post by:
Hello all, I have a very strange situation -- I have a page that validates (using http://validator.w3.org/) as "XHTML 1.0 Strict" just fine. This page uses this DOCTYPE: <!DOCTYPE html PUBLIC...
12
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
0
by: Neal | last post by:
Hi All, Help please Cross browser and W3C issues: Having major hassles trying to get my site working and looking decent in FFox (great in IE), MOzzie support said to try the W3C Validator so...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.