Burak Gunay wrote:
In my asp.net 2.0 page, I have a hyperlink with an arrow image
<a id="imgtest" href="#"onclick="return hideColumn()">
<img id="imgArrow" src="App_Themes/Trmis/WebResource3.gif"
alt="Click" />
</a>
This is XHTML markup. XHTML UAs most certainly already support the
`onclick' attribute for `img' elements; you do not need a not gracefully
degrading a[href=#,onclick]:
<img src="App_Themes/Trmis/WebResource3.gif" alt="Click"
id="imgArrow" onclick="return hideColumn();" />
See also <URL:http://jibbering.com/faq/>
Note however, that IE does not support XHTML. AFAIK, it is the major
drawback of ASP.NET that it generates XHTML markup code that is served
as text/html and therefore relies on error correction to be properly
displayed. That is Microsoft's idea of proper XHTML support ...
<URL:http://hixie.ch/advocacy/xhtml>
WebResource3.gif is an arrow pointing left and when I click on it I
want to replace it with WebResource4.gif which is an arrow pointing
right, but for some reason the code below is not working.
Well, the code is simply junk.
<URL:http://pointedears.de/scripts/test/whatami>
And prophylactic: <URL:http://validator.w3.org/>
PointedEars
--
The English government is much of a German poodle as
other governments. The Germans infiltrated them all.
-- "The only real Barbara Schwarz", dsw.scientology,
<16**************************@posting.google.com >)