[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#28762: Test case
From:       Paul Pacheco <paul.pacheco () wavecode ! com>
Date:       2001-07-11 23:02:27
[Download RAW message or body]

This works in IE & mozilla ( netscape 4.x is a peace of crap).

Open test6.html in mozilla, move the mouse over the rows of the table. The 
row were the mouse is should change color.

To test if onmouseover is working, the last row has an alert (I am sorry it 
is very anoying) on the onmouseover event.

In Konqueror, the rows don't change colors but the alert does work, showing 
the event is working.



["test6.html" (text/html)]

<html>
<head>
<title>Untitled Document</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

</head>

<body >
  <table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="1">
      
    <tr BGCOLOR="white" ALIGN="CENTER">
      <td>Header 1</td>
      <td>Header 2</td>
      <td>Header 3</td>
    </tr>
    
  
    <tr BGCOLOR="#FFFFCC" onmouseover="bgColor='#FFCC00'" onmouseout="bgColor='#FFFFcc'" >
      <td>Text 1</td>
      <td>Text 2</td>
      <td>Text 3</td>
    </tr>
  
    <tr BGCOLOR="#FFFFFF" onmouseover="bgColor='#FFCC00'" onmouseout="bgColor='#FFFFFF'" >
      <td>Text 1</td>
      <td>Text 2</td>
      <td>Text 3</td>
    </tr>

    <tr BGCOLOR="#FFFFCC" onmouseover="bgColor='#FFCC00'" onmouseout="bgColor='#FFFFcc'" >
      <td>Text 1</td>
      <td>Text 2</td>
      <td>Text 3</td>
    </tr>
  
    <tr BGCOLOR="#FFFFFF" onmouseover="alert('called on mouse over')" onmouseout="bgColor='#FFFFFF'" >
      <td>Text 1</td>
      <td>Text 2</td>
      <td>Text 3</td>
    </tr>
    
  </table>
</body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic