2009/9/20 Mike Alsup <mal...@gmail.com>: >> For the biggest part this works. There is a problem with the >> displaying of the buttons. In Firefox and MIE it goes allright. But in >> Opera and Konqueror (and possible Safari, because this uses the same >> engine as Konqueror) the border is not displayed. That is not nice, >> but not a very big problem. But at the moment I click on a 'button' >> the rounded corners disappear. Is there something I can do about this? >> I am now Using $(this).parent().find('.switchButton, >> .hideButton').corner(); in the click function, but that does not work, >> because that makes a mess of hideButton. Also this work is also done >> in browser where it is not necessary. > > > I changed your code a bit and posted the same page here: > > http://jquery.malsup.com/test/sep20.html > > Notice that I added a <span> tag to the switchButton and update the > text of the span instead of the button. This will prevent the loss of > the button corners and will allow you to call "corner" just one time > instead of on ever click.
I use now also a span. This works. I also changed the variable names. Your names where better. It looks like it works now. (Not completly. When you look carefully, you see that the round corners disappear for a short period. But I can live with that.) Thanks. The only remaining problem is that Opera and Konqueror lose the border. If someone knows what is happening ... -- Cecil Westerhof