View Full Version : onFocus="this.blur();" site wide
Bluemonkey
09-06-2002, 02:20 PM
how can i use onFocus="this.blur();" but site wide so all my links are using that line???
thanks
brothercake
09-06-2002, 02:28 PM
please don't - it would make your site impossible to navigate without a mouse
Bluemonkey
09-06-2002, 03:06 PM
true but is it possiable?
brothercake
09-06-2002, 04:09 PM
You could try DHTML behaviors (sic), which allow you to attach scripting to particular kinds of element, much as would attach styles with CSS.
Have a look at http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/overview.asp
It is win/ie5.5+ only, but I think Mozilla also has a similair technique
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.