The Manhatten Project wrote:

The Manhatten Project wrote:

> Hi Ken/Christophe,
>
> I actually did this in the end ..
>
> Event.observe('mydiv', 'mouseover',        function(e){
> Element.setStyle('mydiv', { border: '1px solid red;' } );   });
>
> Event.observe('mydiv', 'mouseout', function(e){
> Element.setStyle('mydiv', { border: '0px solid red;' } );   });
>
> I am sure it can be cleaned up ;) but it does work....
>
> Christophe, I am a long time watcher of this list and I must say I am
> amazed at the clarity and speed at which you post your answers - you
> are a credit to any list.  Thank you for this and all posts which help
> me understand Prototype/SAU better !!
>
> I will look into using the hover class directly as well.

In fact, do you have an example of using "pure" CSS?

In fact again....forget it I realised I need IE6 support ;-p so pure
CSS will not work..! thanks again...i am off to zzzz!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to