0

Calling CSS on clicking button

asked 2006-04-10 07:04:26 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3677895

By: michelito

I have a problem with my CSS page. I would like to change te color of my background when I click on a button .

I do like this:

<?xml-stylesheet href="/tableau.css"?>

<zk>
<button label="Test">
<attribute name="onClick"> sclass="blue";</attribute> </button> </zk>


My CSS class -->

.blue {
background-color: blue;
}


Why it don't work?


thanks,

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-10 07:04:26 +0800

Seen: 295 times

Last updated: Apr 10 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More