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

List:       kde-bugs-dist
Subject:    Bug#30074: javascript/css
From:       sam bowlby <bowlby_s () bellsouth ! net>
Date:       2001-07-31 17:28:53
[Download RAW message or body]

hi,
I'm having a problem on konqueror web browser with a css/javascript 
combination in a link.  I have a style sheet that highlights and italicizes 
links on hover.  These all work except for one that i put in an onClick 
command in the link.  The onClick works when it is clicked on, but the link 
with it does not highlight on hover like the other links.  I've attached a 
sample html so that you can see what I'm talking about. 
Please, no hurry on this for my benefit, but if this is fixed(or if it's just 
something I've done wrong), please let me know how to update it.

Thank-you,
sam bowlby

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

<html><a name="#top"></a>
<head>

<style type="text/css">

BODY: {background-color: black }

a.menb:link { color: white; text-decoration: none }
a.menb:active { color: red; text-decoration: none }
a.menb:visited {color: white; text-decoration: none }
a.menb:hover { color: white; background: #149614; font-style: italic }

</style>
<body bgcolor="black" text="#149614"><br>
</head>
This demonstrates my problem with css/javascript combination.
<br>
<br>

This <a href="thispage.html" class="menb"> link</a> works like it is suppose to. \
Notice that when you hover over it it changes colors.<br>

<br><br>

But, notice that this <a href="thispage.html" class="menb" onClick="alert('javascript \
works fine, but not with css')"> link</a> also uses the same class, but it doesn't \
highlight when you hover because of the onClick command in the a tag.

</body>
</html>



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

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