CSS JavaScript Dynamic Attacher

CSS JavaScript Dynamic Attacher
 点击下载
Purpose:
I personally use this because if my clients are not going to take advantage of Javascript there is no point in using CSS, so this will remove all CSS that is loaded with Javascript when Javascript is disabled.
Use this however you like, thats just why I use it.
The way this is setup you can load from,PHP, ASP, ETC. File extension doesn't matter.but you must define what it is only works for css and js.
Example of use:

  1. $cssjsattach("test.css", "css"); 
  2. $cssjsattach("test.js", "js"); 
  3. $cssjsattach("test.php", "js"); 
  4. $cssjsattach("test.php", "css"); 

转载请注明:代码家园 » CSS JavaScript Dynamic Attacher

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)