Is this what you are searching for?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<script type="text/javascript" src="/MyPath2Prototype/prototype.js">
</script> 
<script>
Event.observe( window,'load',   function(){
        
Event.observe($("myelement"),"mousedown",       function(element){
        
alert("foo1 says: "+element);   
        
})
                                                                }

);
        
});     

</script>
</head>

<body id="mybody">
<div id="myelement">Raum für den Inhalt von  id "element_id"</div>
</body>
</html>


--~--~---------~--~----~------------~-------~--~----~
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