Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Arbol usado para mostrar categorias dentro de una lista
Cat1
==subcat11
Cat2
==subcat21
====subcat211
0
1078
posted 17 years ago by lisandro
Small query to help you relocate those modules you are not using anyways.
2
1497
posted 17 years ago by torkil
Forward users from your alias domains to your main domain automatically. Nice to have if your site has got one or more aliases. Notice that all the domain aliases have [NC,OR] at the end of the line, while the last alias and_so_on.com just has [NC]....
6
1659
posted 17 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force removal of www in urls. Good for letting search engine spiders in the right door...
Insert the code in your .htaccess-file in your website's root folder.
3
1825
posted 17 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force users to use www in urls. Good for letting search engine spiders in the right door...
Insert the code in your .htaccess-file in your website's root folder.
5
1890
posted 17 years ago by torkil
This script can help you control the scroll of div by a simple function.
Set thr property 'scrollTop' then the scoll can be controlled.
1
1712
posted 17 years ago by multani
This function allows you to limit the amount of a string, like a sample from a post.
Create a file like function_lmt_txt.php and include it to use it.
Any comments to improve this are welcomed.
1
969
posted 17 years ago by bioascii
This code is based on enlaces de paginacin posted by Web Design
2
1154
posted 17 years ago by shellydennison
If you had seen some errors in the code, please send me notice about it on the: [email protected]
Thanks, K.Karpenko
1
1191
posted 17 years ago by LoRd1990
Taken from : http://www.phpfreechat.net/forum/viewtopic.php?pid=7587
See also this class : http://www.phpbuilder.com/snippet/download.php?type=snippet&id=2205
1
1062
posted 17 years ago by clapfouine
Also see the automagic column builder on this page.
YOU NEED THIS FILE TOO! Place it in the subfolder, "css/".
http://snipurl.com/3col_support_css
4
1669
posted 17 years ago by Winkyboy
Set different values for an element based on browser (specifically, how the browser interprets the CSS). Definitions must be in order as shown below because newer definitions override existing.
The first setting will apply to all browsers.
The...
3
1627
posted 17 years ago by Winkyboy
Place the first function, phptemplate_links() in your template.php file. Alternatively (and IMO better) is to name the function your_theme_name_links() where your_theme_name is the name of your theme.
From here on, you can add theme functions like...
2
1728
posted 17 years ago by berkes