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
981
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
809
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
1025
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
836
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
684
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
632
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
586
posted 14 years ago by jofan
Here is a template button class, ive been using for my projects. Cheers!
0
1016
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
1166
posted 14 years ago by Meander365
Inspired by http://particletree.com/features/rediscovering-the-button-element/
1
693
posted 15 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
634
posted 15 years ago by MacEvelly