Profile
Achievement
stephcode's Recent Snippets
- All /
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0
1072
posted 11 years ago by stephcode
Annoy your visitors, fool your friends, fun and party. Please note that this also disables ability to write in form fields.
0
674
posted 13 years ago by stephcode
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0
815
posted 13 years ago by stephcode
PHP
Handy PHP thing I can\'t come up with a title for; display different data depending on where user comes from, sort of
If user enters city.php from footer.php, page will return certain string. If user enters independently, solution lets user see predefined string (in this case, 'your city').
0
1274
posted 13 years ago by stephcode
Not sure what I\'d ever use this for as it doesn\'t exactly lend itself to flexibility in the long term, but saving it anyway.
0
957
posted 14 years ago by stephcode
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1
866
posted 14 years ago by stephcode
Thankfully, Sjoerd Visscher mentioned an interesting technique that could be used to force IE to use the specified CSS styling. Specifically, once you create a new DOM element (of the same name as the one in the document) all styling is applied. [.....
0
856
posted 14 years ago by stephcode