Thinking Web Publishing? Think www.YouNeedItAll.com!

Website Search

Social Media Networking

Geo Twitter Map
See who Twits in your area

web design, web development and web technology news
Business Networking and Social Media Networking Clients and Partners:
Nikolay Web DesignerNikolay Mikychkin History of Paintings sharper web design Think Beyond Labels HD RADIO USA - HD   TV Used   Cars Syracuse 2012   Phenomenon Beyond Web Design Custom Design   labels CATERING in New   York Attorney At Law Web Site Domain   Name Video News Search cars arriveVashchenko Family Leonardo   da Vinci  custom FOOD labels and personalised CRAFT LabelsCatering in  SyracusePersonalized  Labels European Food in   CNYSyracuse Web Designer, New York website designer Custom Web Design Custom Design Labels Renaissance HistorySoftware on the Fly Upstate Pizza Web Search Engines Laser Cut it All Web Site Design Agency in New Yorktwitter user directory Verified AccountFree Web Templates, free css styles ideasI do Web Design NY Web Search Engines Visual Search, how searsh engines work? fundrasing ideas

Personalize Your Business

Da Vinci Art Gallery

LEONARDO DA VINCI's Art Gallery, Live, Paintings, Inventions, Secrets and History of Renaissance

Web Templates Sale

History of Painting


Stylistic Periods in Western Art History Major Art Movements in Western Art History
Stylistic Periods in Western Art History Major Art Movements in Western Art History

Site Statistics

Content View Hits : 635018
How to Remove mootools.js
How to remove mootools.js
Web Development and Web Technology
Written by Nikolay Gul   
I will start with easiest way to remove mootools.js and caption.js from you templates.
Just comment or remove them...
However there are some other more fancy ways: For most Joomla 1.5 template, they don't use mootools.js and caption.js at all. These two JavaScript libraries are mainly used in the administrator control panal. Their size are about 75K, and decrease the response speed of Joomla site. Here I introduce a method to remove the two JavaScript libs.
To make sure your Joomla site have the two scripts in the front site, you can look you site's html source code and will find the following code:
  

To remove the above javascript's import, you just need to add the following code at the top of your template's index.php file.
		getHeadData();
		reset($headerstuff['scripts']);
		foreach($headerstuff['scripts'] as $key=>$value){
		  unset($headerstuff['scripts'][$key]);
		}		
		$this->setHeadData($headerstuff);
		?>
 
Clear cache and go back to you front site's source code, you will find the mootools.js and caption.js gone.
 
Web Templates Sale, Full site templates Sale, flash templates sale


Email or Call:(315) 378-9729 and Search for www.YouNeedItAll.com @ Nikolay Gul 2009 © All rights reserved