Profile
Achievement
BFTrick's Recent Snippets
- All /
« Prev 1 Next »
Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
0
891
posted 13 years ago by BFTrick
You will want to include the jquery easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/
Add a class of 'scroll' to any element that should slide to an anchor tag. You must give the anchor tag an id equal to the name.
1
975
posted 13 years ago by BFTrick
A default HTAccess file. Uncomment any lines that you want to use.
http://enarion.net/web/htaccess/trailing-slash/
1
695
posted 14 years ago by BFTrick
This code redirects all external traffic (all traffic not belonging to a particular ip) to a temp page. This is useful for performing site maintenance.
2
891
posted 14 years ago by BFTrick
This code will loop through any posted variables and print the name of the field as well as the value of the field.
0
769
posted 15 years ago by BFTrick
Must have a field named Weight. The more Weight the more often the record is selected. Weight should be an integer between 1 and 10.
1
893
posted 15 years ago by BFTrick
The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
2
856
posted 15 years ago by BFTrick