Tuesday, June 2, 2009

How To Add Javascripts Directly Without Javascript Hosting "For Blogger Users"

Many of the bloggers who's blogging for programming posts don't have javascript hosting site to upload any javascript file to order any javascript code so i found two methods to solve your javascript code to add in your blogger template or what you want.

 
In the first method is we add some changes in javascript source code before adding it for example any js code must look like this:

<script type="text/javascript" src="Javascript file.js">
bla, bla, bla

</script>
All you will do just copy all the content of the Javascript file.js and then copy in this new javascript code:
<script type='text/javascript'>
//<![CDATA[
SCRIPT_CONTENT
//]]>
</script>
The second method also you can upload Javascript file.js but in TXT format not JS format and put the new link look like this:
<script type="text/javascript" src="Same js but in new format.TXT" /> 
</script>

4 comments:

mcx on June 8, 2009 at 8:47 PM said...

thanx mado , i like 2nd method

good work

The Magazoner on June 9, 2009 at 1:47 AM said...

thanks 4 u Amr

راديو وتلفزيون اونلاين on June 10, 2009 at 2:34 AM said...

nice,I searched for it but no resultt
thank you for support

Mados on June 10, 2009 at 3:01 AM said...

All thanks for you

Post a Comment

 
http://www.wikio.com Blog Search Web Design Directory of Web Development Blogs Top Marketing SEO  blogs Hit It! blog search directory podcast directory Free Trial of Our Professional Search Engine Submission Service Blog Directory

Hello

 

 

 

BProfile

My photo
Be Hungry For Success.

Followers

^^^Back to Top Page^^^