[Javascript] Anotherbeginner's question
Mike Dougherty
mdougherty at pbp.com
Mon Jan 30 09:10:30 CST 2006
I suggest that you DO use <a> tags, with their href set to the default location. Then you still
have functional links without javascript (yeah, I know.. who uses a browser without javascript)
Another benefit is that you can style your links using CSS (a {style} a:hover {cursor:
pointer;})
Rather than using onmouseover/out, you could reassign the href(s) once the document is loaded -
after all, the user is not likely to change their IP address while moving around your page.
If this change in approach is going to upset your "regular JavaScript guy" then you should
probably stick with the approved plan.
On Mon, 30 Jan 2006 09:39:57 -0500
"John Warner" <john at jwarner.com> wrote:
> An issue has come up today and the regular JavaScript guy is out this
> week. I hope this basic question does offend. I have a menu that leads
> to different pages, but don't want to use normal <a> tags for the links.
> The reason is we need to make a decision about where we send the client
> based on his choice and what we know about him (his IP is part of the
> decision). My question is, how on a onMouseOver event do I (IE 6 is the
> target - intranet) change the mouse cursor to the little hand figure
> like occurs when you point at a normal <a> in IE and of course back
> onMouseOut?
>
> Thanks and again sorry for such a basic question, brace yourselves this
> week I may be back with even stupider ones.
>
> John Warner
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
>
> __________________________________________________________
> This message was scanned by ATX
> 9:55:55 AM ET - 1/30/2006
More information about the Javascript
mailing list