Drupal 7 Create node with node_add() in custom module
Drupal 7 Create node with node_add() in custom module
Drupal 7 Create node with node_add() in custom module
Why on earth is the latency of the NTC's ADSL gateway from my home so high? Khatey NTC. I think over subscription is the reason behind this. http://dl.dropbox.com/u/28646207/ping.txt
How can UP/DOWN scroll be distinguished in jQuery?
To alter the path of a js file included in .info in some special cases
like if you want a separate main script file on ur site for some special browsers like iphone or mobiles.
do the following in your template.php
To remove unwanted-style.css from current website do the following in your template.php
function MYTHEME_css_alter(&$css){
unset($css['sites/all/themes/MYTHEME/css/unwanted-style.css']);
}
To detect an iPad or an iPhone in PHP use following function
function is_ipad_or_iphone(){
if((preg_match("/iPad/",$_SERVER['HTTP_USER_AGENT']) or preg_match("/iPhone/",$_SERVER['HTTP_USER_AGENT'])) and preg_match("/Mobile/",$_SERVER['HTTP_USER_AGENT']))
return true;
else
return false;
}