Welcome To Snipplr
Everyone's Recent Snippets Tagged button
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
this will disable a button after the first click, but will continue to do its original postback. Note: if it has a custom css class, then the button will still appear clickable, with the exception that the text of the button gets the slight disabled...
0
940
posted 13 years ago by pjobson
Code in single.php, loop.php, index.php, page.php, category.php, und archive.php , innerhalb des loops einfügen.
0
799
posted 14 years ago by PM-Webdesign
If you are using Simple Facebook Connect Wordpress plugin, it is better to add this code after changing the og:image value or deleting it. Using this code in your Wordpress Theme header will result in having more meaningful information shown in Faceb...
0
999
posted 14 years ago by ala7lam
Each image button requires two images to represent two states: the off-state and the on-state. In this case, the on-state has "_ovr" appended.
0
825
posted 14 years ago by nijgnet
original source - http://www.filamentgroup.com/lab/update_styling_the_button_element_with_css_sliding_doors_now_with_image_spr/
Overides default styling
0
670
posted 14 years ago by tennison
HTML code for input buttons with background images and rounded corners. For cases when it is not possible to use Progressive Enhancement (ie. when you need to have rounded corners in IE6+). See Customized buttons under CSS for styles.
0
614
posted 14 years ago by jofan
CSS code for input buttons with background images and rounded corners. For cases when it is not possible to use Progressive Enhancement (ie. when you need to have rounded corners in IE6+).
See Customized buttons under HTML for markup.
0
575
posted 14 years ago by jofan
Here is a template button class, ive been using for my projects. Cheers!
0
1003
posted 14 years ago by alvincrespo
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1
1144
posted 14 years ago by Meander365
Inspired by http://particletree.com/features/rediscovering-the-button-element/
1
678
posted 14 years ago by cssbutton
This uses the button's instance name to assign functions. Instead of using a bunch of event listeners, you can use one function to delegate actions according to the button's instance name.
0
617
posted 15 years ago by MacEvelly