<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Proniit &#187; javascript</title>
	<atom:link href="http://www.proniit.co.za/blog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.proniit.co.za</link>
	<description>Online Media, Web Developement and Internet Promotion Strategist</description>
	<lastBuildDate>Tue, 15 Mar 2011 16:50:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Using External JavaScript Source Files</title>
		<link>http://www.proniit.co.za/blog/2009/07/using-external-javascript-source-files/</link>
		<comments>http://www.proniit.co.za/blog/2009/07/using-external-javascript-source-files/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:35:42 +0000</pubDate>
		<dc:creator>Business Blogger</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[external]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.proniit.com/blog/?p=403</guid>
		<description><![CDATA[By now most web designers and developers know that JavaScript causes a real headache for search engine spiders. There are however a number of scripts which, whilst not absolutely essential to the functioning of a site, are nevertheless very handy. So where do you draw the line between keeping your page as search engine friendly [...]]]></description>
			<content:encoded><![CDATA[<div>By now most web designers and developers know that JavaScript causes a real headache for search engine spiders. There are however a number of scripts which, whilst not absolutely essential to the functioning of a site, are nevertheless very handy. <strong>So where do you draw the line between keeping your page as search engine friendly as possible and including reams of JavaScript to achieve the desired effects?</strong><span id="more-403"></span></div>
<div>
<p style="text-align: center;">
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
   google_ad_client = "pub-1580129458799088"; /* 468x60, created 6/14/09 */ google_ad_slot = "4252380589"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p style="text-align: justify;">You may be surprised to learn that there is an alternative which keeps search engine spiders (reasonably) happy whilst drastically cutting down on the necessary scripts within any given web page.</p>
<p style="text-align: justify;"><strong>External JavaScript Source Files</strong><br />
Let&#8217;s take the humble <strong>&#8220;Add Bookmark&#8221;</strong> script as an example (please note that I have replaced the &lt; &gt; brackets with [ ] brackets so as to be able to display the code properly within this article).</p>
<p style="text-align: justify;"><strong>[script Language="JavaScript1.2" type="text/javascript"]<br />
var bookmarkurl = &#8220;http://www.doodademporium.com&#8221;;<br />
var bookmarktitle = &#8220;Purple Doodads for sale&#8221;;<br />
function addbookmark()<br />
{<br />
if (document.all)<br />
window.external.AddFavorite(bookmarkurl, bookmarktitle);<br />
}<br />
[/script]</strong></p>
<p style="text-align: justify;">By placing the script&#8217;s function into an external folder and file (/java/bookmark.js for example) you will be able to streamline your code down to the following:</p>
<p style="text-align: justify;"><strong>[script Language="JavaScript1.2" src="java/bookmark.js" type="text/javascript"][/script]</strong></p>
<p style="text-align: justify;">It&#8217;s worth remembering that this is probably one of the simplest examples of JavaScript out there and that the savings in terms of code are going to be substantial with larger scripts.<br />
This method is also worth its weight in gold, so to speak, if you are running a number of scripts on the same page.<br />
Just remember to create a different source file for each script, so as not to confuse matters unnecessarily.</p>
<p style="text-align: justify;">Through the use of external JavaScript files you not only save yourself having to write (or even copy/paste) the same bulky scripts again and again, you are also saving search engine spiders from becoming seriously disillusioned with your web page and going elsewhere in search of easier prey.</p>
<p style="text-align: justify;">Always remember that any web site should make a search engine&#8217;s life as easy as possible.<br />
If you do use JavaScript in your pages, this approach will prevent unnecessary complications when having your site indexed, whilst at the same time easing your task of coding.</p>
</div>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
    google_ad_client = "pub-1580129458799088"; /* 336x280, created 6/29/09 */ google_ad_slot = "0289477569"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<h1>Guest Author</h1>
<p>An experienced copywriter with well over a decade of authoring experience, Sasch Mayer currently lives in Larnaca, Cyprus where he writes under contract to IceGiant <strong><a target="_blank" rel="nofollow" href="http://www.proniit.co.za//goto/http://www.icegiant.co.uk/" >Web Design</a></strong> Services.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proniit.co.za/blog/2009/07/using-external-javascript-source-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repairing Javascript Errors &#8211; a Piece of Cake</title>
		<link>http://www.proniit.co.za/blog/2009/07/repairing-javascript-errors-a-piece-of-cake/</link>
		<comments>http://www.proniit.co.za/blog/2009/07/repairing-javascript-errors-a-piece-of-cake/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:21:26 +0000</pubDate>
		<dc:creator>Business Blogger</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.proniit.com/blog/?p=401</guid>
		<description><![CDATA[For most PC users around the world, JavaScript is a formidable term. As Brian Kemp, a 28-year-old accountant from New York, says, &#8220;I&#8217;ve been using a PC for the past 18 years and the Internet for 10 years, and in all this time, I never felt the need to acquaint myself with JavaScript.&#8221; That was [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: justify;">For most PC users around the world, JavaScript is a formidable term. As Brian Kemp, a 28-year-old accountant from New York, says, &#8220;I&#8217;ve been using a PC for the past 18 years and the Internet for 10 years, and in all this time, I never felt the need to acquaint myself with JavaScript.&#8221; That was until his web browsing grew increasingly fraught with JavaScript errors cropping up every now and then. &#8220;Once I began reading up on JavaScript basics, I realized that it was not the exclusively technical territory that I had taken it to be,&#8221; admits Brian.Essentially, JavaScript is a web development language that is most commonly used on websites.</div>
<div><span id="more-401"></span></div>
<div style="text-align: justify;">Popular among non-programmers for its user-friendly nature, JavaScript also allows scripting access to objects embedded in other applications. However, JavaScript errors are fairly common too, largely because so many amateurs write web development programs using it. The three most common reasons for your browser showing a JavaScript error message are a) JavaScript is not enabled in the browser; b) The browser does not support JavaScript technology; c) The web page contains a JavaScript programming error.</div>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-1580129458799088"; /* 468x60, created 6/14/09 */ google_ad_slot = "4252380589"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<div>
<p style="text-align: justify;">Web programmer Patrick Hanmer says the best way to eliminate JavaScript errors would be to clean Windows Registry regularly. You say you know nothing of Windows Registry? You are not alone. The majority of PC users are unaware that the Registry is a huge internal database on your PC that monitors the running of your system. Therefore, whatever changes you make to the system reflect in the Registry. And when you are browsing the Net, you leave footprints in the Registry as well.</p>
<p style="text-align: justify;">Explains Chris, &#8220;When you are viewing a web page that uses JavaScript, JavaScript is writing to Windows Registry, so that it records components that may be missing in the future, so you get a JavaScript error message when you view a web page.&#8221;</p>
<p style="text-align: justify;">Clear so far? Good, so you understand the value of Windows Registry cleaning when it comes to repairing JavaScript errors. I recommend downloading a user-friendly, reliable and reputable Registry cleaner, to ensure that your PC does not suffer additional damages when you clean the Registry (see my recommendation in the resource box below). Make no mistake, choosing the wrong Registry cleaner could well induct all kinds of malware into your system, so that you are left with a bigger headache than when you began the cleaning process.</p>
<p style="text-align: justify;">The bottom line is that JavaScript is not the technical gobbledygook that you take it to be, and even better, you need not be a programming expert when it comes to repairing JavaScript errors. A simple installation of a reliable Registry cleaner will give you JavaScript error-free browsing.</p>
</div>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
  google_ad_client = "pub-1580129458799088"; /* 336x280, created 6/29/09 */ google_ad_slot = "0289477569"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<h1>Guest Author</h1>
<p style="text-align: justify;">Jeff Wilson writes extensively about computer related issues like fixing those annoying Javascript errors, speeding up your PC, and how to protect your personal privacy on the Internet. To get a FREE download of Jeff&#8217;s favorite Javascript error repair tool visit <a target="_blank" rel="nofollow" href="http://www.proniit.co.za//goto/http://www.my-pc-helper.com/" >http://www.my-pc-helper.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proniit.co.za/blog/2009/07/repairing-javascript-errors-a-piece-of-cake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Four powerful features of Javascript programming language</title>
		<link>http://www.proniit.co.za/blog/2009/07/four-powerful-features-of-javascript-programming-language/</link>
		<comments>http://www.proniit.co.za/blog/2009/07/four-powerful-features-of-javascript-programming-language/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:06:49 +0000</pubDate>
		<dc:creator>Business Blogger</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.proniit.com/blog/?p=397</guid>
		<description><![CDATA[In the community of web developers and surfers, Javascript is highly popular as client side scripting language for web browsers. In any web application, javascript can be used to implement simple features like rollover of images as well as to make asynchronous requests to server using ajax. Few years back when flash was not so [...]]]></description>
			<content:encoded><![CDATA[<div>In the community of web developers and surfers, Javascript is highly popular as client side scripting language for web browsers. In any web application, javascript can be used to implement simple features like rollover of images as well as to make asynchronous requests to server using ajax. Few years back when flash was not so popular, javascript was widely used to add beautiful effects to webpages and is still being used for the same purpose. Let&#8217;s take a look at some of the features of this language.</div>
<div><span id="more-397"></span></div>
<div style="text-align: center;"><script type="text/javascript">// <![CDATA[
  google_ad_client = "pub-1580129458799088"; /* 468x60, created 6/14/09 */ google_ad_slot = "4252380589"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></div>
<div>
<p><strong>1) Browser support:</strong> To access flash content, you need to install flash plugin in your browser. But to use javascript, you don&#8217;t have to use any plugin at all. This is because all browsers have accepted javascript as a scripting language for them and provides integrated support for it. All you need to do is to handle some of the tasks that are dependent on DOM (Document Object Model) of different browsers properly.</p>
<p><strong>2) Can be used on client side as well as on server side:</strong> As javascript has access to Document object model of browser, you can actually change the structure of web pages at runtime. Due to this, javascript can be used to add different effects to webpages. On the other hand, javascript could be used on the server side as well. For example, in Alfresco which is a popular open source enterprise content management system, javascript is used in creating webscripts. This makes adding custom tasks to alfresco quite simple.</p>
<p><strong>3) Functional programming language:</strong> In javascript, function could be assigned to variables just like any other data types. Not only that, but a function can accept another function as a parameter and can also return a function. You can have functions with no name as well. Clearly, this gives you the ability to code in functional programming style.</p>
<p><strong>4) Support for objects:</strong> Javascript is an object oriented language. However, the way javascript handles objects and inheritance is bit different from conventional object oriented programming languages like Java. Due to this, javascript supports most of the object oriented concepts while being simple to learn and use.</p>
<p>These are some of the features that give javascript an ability to handle simple as well as complex tasks. Due to this, javascript has remained as the most popular programming language for a long time. It is also a good language for people who want to learn computer programming as it supports object oriented as well as function concepts and to use it, you just need a browser and a text editor.</p></div>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-1580129458799088"; /* 336x280, created 6/29/09 */ google_ad_slot = "0289477569"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<h1>Guest Author</h1>
<p>Anay Kamat is a software developer having experience in developing web applications in .NET and PHP. You can find many articles related to web hosting, website design, Ajax and PHP programming on his blog. Visit his blog at <a target="_blank" rel="nofollow" href="http://www.proniit.co.za//goto/http://www.anaykamat.com/" >AnayKamat.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proniit.co.za/blog/2009/07/four-powerful-features-of-javascript-programming-language/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introduction To Javascript For Newbies</title>
		<link>http://www.proniit.co.za/blog/2009/07/introduction-to-javascript-for-newbies/</link>
		<comments>http://www.proniit.co.za/blog/2009/07/introduction-to-javascript-for-newbies/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 09:59:22 +0000</pubDate>
		<dc:creator>Business Blogger</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.proniit.com/blog/?p=393</guid>
		<description><![CDATA[Javascript is a client-side programming language whose processing engine is embedded in web browsers like Internet Explorer, Netscape, Firefox, etc. This enables the processing engine to read and interpret web pages that contain the javascript code when browsing.Javascript first made an appearance in 1995, although by that time it was known as Livescript. This name [...]]]></description>
			<content:encoded><![CDATA[<div>Javascript is a client-side programming language whose processing engine is embedded in web browsers like Internet Explorer, Netscape, Firefox, etc. This enables the processing engine to read and interpret web pages that contain the javascript code when browsing.Javascript first made an appearance in 1995, although by that time it was known as Livescript. This name was later changed to javascript.Javascript was invented to add more exciting features to HTML pages. HTML on it&#8217;s on is pretty boring and it cannot do much besides display a webpage. Javascript programming, on the other hand, can provide a host of exciting features like perform calculations, allows the user to interact with webpages, perform form validations, manipulate elements on a webpage, provide excellent visual effects, enables dynamic functions and so much more.</div>
<div>
<p><span id="more-393"></span></p>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
    google_ad_client = "pub-1580129458799088"; /* 468x60, created 6/14/09 */ google_ad_slot = "4252380589"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p>All of this provides the user to the site with an enhanced user experience. Because javascript is a client-side language, all of these features are available in real time without the browser having to refer to the server all the time. This prevents time delays and increases user satisfaction.</p>
<p>Let&#8217;s take a closer look at the great things you can do with javascript programming:</p>
<p><strong>Perform Calculations</strong></p>
<p>Javascript can be used to perform simple to advanced mathematical calculations. This is especially useful if you want your users to interact with your site by inputting some information that requires some sort of calculation and displaying the relevant content based on that result. For example, javascript can calculate a loan repayment and display the appropriate result if a user enters a required loan amount on the site. Furthermore, javascript can also tell date and time, time a certain activity and perform intricate date and time calculations.</p>
<p><strong>User Interaction</strong></p>
<p>The javascript on the webpage can take interaction from a user and perform a certain function by way events. Some of the most popular events are:</p>
<p>onblur<br />
onchange<br />
onclick<br />
ondblclick<br />
onfocus<br />
onkeydown<br />
onkeypress<br />
onkeyup<br />
onload<br />
onmousedown<br />
onmousemove<br />
onmouseout<br />
onmouseover<br />
onmouseup<br />
onselect<br />
onsubmit</p>
<p><strong>Perform Form Validations</strong></p>
<p>Javascript can validate and check user input to determine whether it conforms to a certain requirement. For example, you can check if a field is left empty, if an email address is in the proper format, if a zip code code is in the proper format, etc. In most cases, if an error is made by your site visitor, an alert can display the appropriate error message to him or her.</p>
<p><strong>Manipulate Elements On A Webpage</strong></p>
<p>Javascript allows a user to change content or styles of a webpage upon a user interaction by way of the aforementioned events. For example, hovering over a certain text can make an image appear, text on a submit button can change on submit, etc.</p>
<p><strong>Provide Visual Effects</strong></p>
<p>Javascript has a host of ways to provide visual effects to a webpage that other server-side programming languages cannot. A typical example of this might be some fancy image rollover buttons.</p>
<p><strong>Enables Dynamic Functions</strong></p>
<p>Javascript, together with AJAX (asynchronous JavaScript and XML), can be used to create dynamic applications. One example of this is to load dynamic content onto a webpage without refreshing the page.</p>
<p>In my next chapter, we will delve further into javascript programming.</p></div>
<p style="text-align: center;"><script type="text/javascript">// <![CDATA[
     google_ad_client = "pub-1580129458799088"; /* 336x280, created 6/29/09 */ google_ad_slot = "0289477569"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<h1>Guest Author</h1>
<p>Susan Lang is a web developer who also teaches people how to use javascript on their sites. You are welcome to access free javascript training tutorials on: <a href="http://www.toknowmore.net/e/1/javascript/">http://www.toknowmore.net/e/1/javascript/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.proniit.co.za/blog/2009/07/introduction-to-javascript-for-newbies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

