[jQuery] Re: Outline html elements on hover and click

2009-06-19 Thread ecofriend
Thanks Karl, your info was very helpful. I had to modify the code a little bit to get what I needed since I did not need to multiple row highlight option so I post that here in case someone is looking for that funcationality. // Highlight the row which will be selected if the user clicks the

[jQuery] Re: Outline html elements on hover and click

2009-06-19 Thread Karl Swedberg
cool deal. btw, I posted an entry on learningjquery.com that improves on my little script: http://www.learningjquery.com/2009/06/quick-tip-outline-elements-on-hover --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 19, 2009, at 1:34 PM, ecofriend

[jQuery] Re: Outline html elements on hover and click

2009-06-15 Thread Karl Swedberg
Hi Dave, This should get you started: script type=text/javascript $(function(){ $( #divCodeArea ) .mouseover(function(event) { $(event.target).addClass('outlineElement'); }) .mouseout(function(event) { $(event.target).removeClass('outlineElement');

[jQuery] Re: Outline html elements on hover and click

2009-06-15 Thread Dave
Works like a charm. Many thanks. =) On Jun 15, 3:49 pm, Karl Swedberg k...@englishrules.com wrote: Hi Dave, This should get you started:     script type=text/javascript     $(function(){        $( #divCodeArea )        .mouseover(function(event) {