Re: demo site - security problem
Blaine Simpson <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bordet, Simone wrote:
> Hi Blaine,
>
> SNIP
>
>>>A note on the browser, I'm using Firebird 0.7 and there is
>>>no "hand"
>>>cursor on the links, I'm wondering if it's a stylesheet issue or a
>>>browser one.
>>
>>Known problem. I'm using a Java onclick event. Anybody out
>>there know how I can get this to emulate the hover behavior
>>of HTML hyperlink, but without clobbering browser history
>>with a self href link?
>
>
> I did not know this possibility.
> Have you tried the stylesheet to be
>
> a:hover
> {
> cursor:hand;
> }
>
> Simon
I tried it and it doesn't work with Firefox 0.8 (the successor of Firebird 0.7),
and I don't think cursor is even a CSS property, since it's not listed in the
CSS references that I checked. I also doesn't change the status bar like real
HTML hyperlinks do (although I could do that, with much coding, with mouseover
events).
I think the real solution is to use
<a... href="javascript: myfunc()...
instead of
<a... onclick="myfunc()...
I'm gonna go ahead and do this, but if anybody knows of side-effects of this
(like does it generate an extra GET or something, since it's an href), pls
reply to save me some time.
--
Don't pray in my school, and I won't think in your church.
ICF: 703-934-3692 Cell: 703-944-9317
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click