Hello Folks,

I've got a problem on a type of event in IE.
It works perfectly on Firefox 2, Konqueror 3.5.8 but not on IE 6.

Here is a very simple test case : 
(I've also posted the source code on the bottom of this message)

In a nutshell, a link is shown on mouse over on a div.
The problem is that the event on the link is never sent on IE.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
        <script type="text/javascript" src="prototype.js"></script><!--
Prototype's version -->
        <script type="text/javascript">

                // On load, initialize events
                Event.observe(window, 'load', initializeEvents);

                function initializeEvents(e) {
                        $('area').observe('mouseover', showLink);
                        $('eventToLaunch').observe('click', function(e) { 
alert("Ok, it
works !"); Event.stop(e); });

                function showLink() {
                        $('area').insert( $('toInsert') );

        <div id="area" style="width: 400px; height: 400px; border: 1px solid
                A link will appear on mouse over.

        <span id="toInsert" style="display: none;">
                <a href="" id="eventToLaunch">links on wich event is registered 
Firefox 2, Konqueror but not IE 6 ! Why ?</a>


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 rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to