Wednesday, November 16, 2011

Introduction to Javascript For Newbies


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'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.

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.

Let's take a closer look at the great things you can do with javascript programming:

Perform Calculations

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.

User Interaction

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:

onblur

onchange

onclick

ondblclick

onfocus

onkeydown

onkeypress

onkeyup

onload

onmousedown

onmousemove

onmouseout

onmouseover

onmouseup

onselect

onsubmit

Perform Form Validations

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.

Manipulate Elements On A Webpage

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.

Provide Visual Effects

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.

Enables Dynamic Functions

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.

In my next chapter, we will delve further into javascript programming.




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: http://www.toknowmore.net/e/1/javascript/




Tuesday, November 15, 2011

How to Get Rid of the JavaScript Warning on Internet Explorer


JavaScript is the standard programming language for web pages on the internet. JavaScript errors are bugs in the programming code for a page.

Back at the dawn of the internet, web pages were limited to using the Hypertext Markup Language (HTML). HTML is a standard used by all browsers to display web pages. HTML handles things like font styles, links, and pictures, which was enough at first, but people wanted to do more with web pages.

Netscape used a simple programming language developed for JavaScript so that even non-programmers could enhance their websites with functionality that is more sophisticated. The language itself has become more sophisticated and is now a standard which, like HTML, is supported by all web browsers.

JavaScript was not designed to run extremely complex programs; it was designed for simple enhancements to web pages. As the internet has evolved, the programming behind web pages has become more complex, often straining the limits of JavaScript. To alleviate the problem some of the programming has been offloaded to servers rather than trying to download it all onto your computer.

JavaScript, which runs locally, is currently used heavily by websites to drive their user interfaces. Although many modern websites communicate with servers to get their data, that communication can be slow or even fail altogether. It is important for the user interface to be responsive even if there is a problem with the server, so the interface is usually written in JavaScript and run locally from your computer, while the more complex code runs on a server.

As with any programming language, JavaScript will have bugs in it, and sometimes they will cause the program to fail. Fortunately, unlike a desktop program, when a JavaScript program fails, the rest of the page usually still works fine.

Getting Rid of the JavaScript Warning Dialog on Internet Explorer

Most JavaScript errors you get are due to a failure in a single webpage. Usually these errors are harmless: Although you may lose some functionality, they are not a danger to your computer.

However, Internet Explorer pops up a warning dialog by default. This warning stops you from doing anything on the page and can be annoying. If you are a programmer it may be interesting to look at the code, but for the rest of us it is not very useful.

To get rid of the dialog, follow these steps:

1. In Internet Explorer, select Internet Options from the Tools menu.

2. Click on the Advanced tab.

3. Depending on your version there may be up to three checkboxes you need to set (two of them checked, one unchecked):

o Check: Disable script debugging (Internet Explorer)

o Check: Disable script debugging (Other)

o Uncheck: Display a notification about every script error

4. Click the OK button.

This should stop the warning dialog from showing. If you start having problems with many web pages, there may be a problem with your browser, not with the web page, and you may need to reinstall Internet Explorer.




Boost-Your-PC-Performance can provide you with advanced registry cleaning technology. It will scan, diagnose, and fix javascript errors [http://www.boostyourpcperformance.com/2010/01/why-some-javascript-errors-are-not-always-javascript-errors/], leaving you with nothing but a highly optimized PC.




Monday, November 14, 2011

How to Solve the Javascript Void(0) Problem


Many internet users face this problem when they try clicking a link and see this error code on the status bar of the browser which doesn't allow the link to work. It is actually an error message that occasionally appears in a web browser when you face a problem loading a JavaScript from a webpage. Though this error message pops up on various occasions but the actual reasons could be different for different users, and resolving these problems is necessary by knowing the most possible reasons for this error message.

1- The major cause of this error message is the Popup blocker blocking the JavaScript while stopping the windows which open up as the advertisements on various sites. Resolving this problem involves making changes in the preferences of the popup blocker based on your requirements and thus disabling the popup blocker. One can even download another anti popup software instead or can read the product reviews of popup blockers to assess if they really cause these error messages.

2- The malfunctioning of the web proxy servers (which are used for accessing the various banned websites) can also block the various scripts in the process. This problem can be avoided by not using the proxy server itself or using a proxy server that functions better and do not interfere in the downloading of various scripts. Also check for the compatibility of the proxy server with various web pages and scripts.

An improperly written JavaScript could also lead to this error message. The solution lies in notifying this error to the webmaster who in turn must rewrite the JavaScript.

3- The JavaScript might be disabled in your browsers, and this needs to be enabled. To enable this in IE, go to scripting tab of the security option in the Tools menu under the internet options; and to enable this in Firefox, go to Tools menu and enable the JavaScript option in Web features.

4- Web browser implementation of JavaScript might also be broken in some cases, and this requires the switching or simply the up gradation of your web browser.

There is this simple way where you can really avoid "javascript:void(0)" error message at the first instance because we know that this "javascript:void(0)" can cause certain browsers to really present your web pages in unusual ways, and since the "javascript:void(0)" statement is often occurred when a link has no URL attached to it, and the browser doesn't understand how to react and returns the error message. So for this, instead use the "return false;" statement to let the browser not to look for the URL. Try opening the document in any text editor; Locate the "javascript:void(0)" references within the document, Replace the links with the (#) symbol with the syntax ".", Add the "return false" declaration to the statement that would make the whole link reference to appear as a Link. Replace the "callFunction()" with your function name; Save and close the file finally.




Here I am going to share an informative resource of javascript:void(0)
You can find more information about how you can avoid javascript:void(0) problem here.




Sunday, November 13, 2011

Why You Should Learn JavaScript


Since the beginning of the web, there have been focus on different techniques for building websites. In the beginning, a lot of the focus was on the browsers and what you could achieve with the different versions of HTML supported in those browsers. As the browsers got better and better they also supported JavaScript for adding interaction to the web pages through a scripting interface. We saw a lot of web pages with a lot of JavaScript in the end of 90's and the beginning of the millennium, but there were no standards, and of course it was a mess to maintain websites that had a lot of JavaScript in them.

The IT bubble burst and JavaScript was thrown out, and focus was more on implementing everything server side. People working with front-end related activities focused their efforts on CSS, as browsers started to live up to standards where it was possible to separate content and look-and-feel with XHTML and CSS. For almost 3 years focus was on separating content from design, and front-end from back-end, but soon, around 2005, people felt that the interactivity on the web had declined and with browser supporting standards, maybe we could start looking at JavaScript again with different goggles. We saw the birth of AJAX and JavaScript libraries such as Prototype, jQuery, MooTools, Dojo and likes. From now on a lot of the people focusing on front-end development started looking into the possibilities that opened up utilizing JavaScript in their websites and online web software.

Today we see that a lot of web services open up external api:s letting developers request data from other websites, integrating them into their websites, creating so called mash ups. Google, Yahoo and other large companies open up their JavaScript libraries and api:s enabling developers to create even more complex web solutions. In the next couple of years JavaScript will also grow stronger on the server side with solutions such as Aptana Jaxer, Rhino and SpiderMonkey. Developers working with web sites and solutions that are built as web solutions better start learning JavaScript.




Mattias Hising runs the blog FrontEndBook.com, FrontEndBook.com offers in-depth articles on JavaScript, learning their subscribers techniques such as JavaScript form validation and everything about jQuery.




Saturday, November 12, 2011

Javascript Error - The Things You Should Do to Fix Javascript Errors


JavaScript is a scripting program that is commonly used by website builders and developers in order to create a fully functional webpage or website. All the animations that are used in websites including the visual effects are all created with the help of JavaScript.

It takes a lot of time to fully understand how JavaScript works and how to make a website function properly. It requires a lot of encoding and scripting, and as you familiarize yourself with JavaScript, there will be unexpected pop-up error messages. JavaScript basically is what makes a website and what binds its functions together. However, errors in JavaScript can ruin a fully functional website and it will cause frequent crashes while others are visiting your website.

Here are some of the tips that will prevent you from experiencing JavaScript errors and will allow you to surf the internet properly:

1. Having a lot of JavaScript errors while browsing a website can be annoying for anyone and in order to fix it, all you have to do is to turn off the JavaScript alert. These alerts can cause computer freezes or crashes. It is important to turn theses alerts off in order to prevent a computer crash while browsing the internet

Firefox users can turn off JavaScript error alerts by following these simple steps:

- Click the Tools tab that is located on the topmost part of your browser.

- Click Options and then select the Content Tab.

- Look for the Enable JavaScript option and leave the box uncheck to disable the JavaScript.

Internet Explorer users can turn off JavaScript error alerts by following these simple steps:

- Click the Tools tab that is located on the topmost part of your browser.

- Click the Internet Options then select the Advanced Tab

- Uncheck the box located next to the phrases Display a Notification about Every Script Error.

This will disable the pop up message but it won't actually fix the problem. Here is the next thing that you should do to remove JavaScript errors from your system.

2. Changing the browser that you are using can prevent JavaScript errors from occurring. Firefox for example can detect more errors compared to Internet Explorer. Try switching between several browsers and see what is compatible with your system. You can try Opera Browser, Google Chrome, Maxthon Browser, Safari Browser, Mozilla Firefox, and Internet Explorer.

3. Clean your registry

In order to permanently get rid of JavaScript errors all you have to do is to clean your registry database by using an exceptional registry cleaner. Cleaning your registry regularly will not only get rid of JavaScript errors but will also keep your computer clean from several errors that are caused by a messy registry.




Best Registry Cleaner: Serving Over 6 Million IT Professionals Worldwide

Wilson S. Miller is an award winner registry cleaner programmer for top software companies for the last 8 years.
Top Registry Cleaner: As Seen on CNET




Friday, November 11, 2011

Javascript Error - Four Steps to Fix JavaScript Errors


JavaScript is what makes a website around the internet work; it is responsible for all the visual effects, animations, and other website functions. JavaScript makes a website fully functional and makes it visible to other people. Understanding how JavaScript works takes a lot of time and as you familiarize yourself with JavaScript, you will encounter errors that are associated with JavaScript. It is the basic foundation of a website and if your website has invalid entries it will result to JavaScript error message boxes.

If your computer is prompting you with JavaScript errors while browsing your site or another website, try these simple steps and say goodbye to JavaScript errors:

1.) Turn off JavaScript Alerts

The first thing that you should do, before fixing JavaScript errors, is to turn off the error message prompts. These will cause your computer to hang and will sometimes crash, this is annoying if you are trying to fix JavaScript errors. Once turned off you can enjoy surfing without worrying about sudden error pop-ups.

For Mozilla Firefox users:

a.) Go to the Tools tab in the menu bar located at the topmost part of your browser.

b.) Click the Options menu and then select Content Tab

c.) Look for the Enable JavaScript option and make sure that the box next to it is unchecked.

For Internet explorer users:

a.) Go to the Tools tab in the menu bar located at the topmost part of your browser.

b.) Click on Internet Options, and then select the Advanced Tab

c.) Look for the "Display a Notification about Every Script Error" and make sure that the box next to it is unchecked.

2.) Change your Internet Browser

Different browsers have different reactions of JavaScript errors. Try different browser and use the one works best with your system. Some of the browsers that are available today are: Maxton, Opera, Google Chrome, Crazy Browser, Mozilla Firefox, Safari, and Internet Explorer.

3.) Try another computer.

You can also try another computer and see if it still prompts you with the same error message. If it is, then the problem is on the other side of the website and not yours.

4.) Clean your registry

One of the most common causes of JavaScript errors is a corrupted registry file. Not only does it cause JavaScript errors, it also brings you errors such as computer slowdown and system crash. Use a registry cleaner to wipe out all the corrupted registry keys present in your system. This will set you free from JavaScript errors and all the other problems caused by corrupted registry keys.




Best Registry Cleaners: Serving Over 6 Million IT Professionals Worldwide. Protect your investment and ensure maximum PC speed and performance with RegCure registry cleaner. Top Registry Cleaner: As Seen on CNET: Compatible with all Microsoft products and third party applications.




Thursday, November 10, 2011

The Age of Javascript is Here


Web 2.0 has seen the resurrection of Javascript. This is quite amazing when you consider how it was misused like animated GIFs or Java applets previously were.

Many of today's key Web 2.0 sites are heavily reliant on Javascript for slick presentation. Some Javascript effects are almost rivalling Flash in their aesthetic attractiveness and complexity.

Software makers, and in particular Mozilla, Apple and Google are tripping over themselves to make sure their own particular browsers - Firefox, Safari and Chrome - give the best Javascript performance.

The recent version of Firefox included the TraceMonkey JavaScript engine and which made 3.5 twice as fast as version 3 and over ten times faster than version 2.

Google's Chrome is at the moment the champion Javascript-friendly browser, with the latest release scoring 709ms on the Sunspider Javascript benchmarker, beating Safari 4 with 910ms and Firefox, Opera and Internet Explorer following behind.

This outstanding performance will filter down to ordinary users as developers will design more complex Javascript applications and sites to take advantage of the new technology.

Ordinary users will notice the difference too in their email clients which will load a lot faster than previously.

For front-end developers, the advent of the JQuery Javascript library has taken hold across the industry and is just as revolutionary as the introduction of CSS. The whole concept of JQuery is based on the undeniable premise of web design: 'separate content, behaviour and presentation'; and this concept dramatically simplifies development and maintainability.

Other popular Javascript frameworks and libraries include Prototype, Yahoo! UI Library (YUI) and MooTools.

No doubt you are also familiar with the term AJAX which has been as ubiquitous as the term Web 2.0 over the last five years. AJAX is a shorthand for asynchronous JavaScript and XML, with the client-side scripting language being used as the glue to bring together HTML and XML. This technique for data presentation has been widely used in recent times and has presented to the web community another reason to use Javascript.

The Google crawler too has become far better at reading the language whereas before it would have trouble following links written with Javascript.

There are still accessibility issues with this script though and as a rule all essential features that is used for on a site should still function equally well if it is turned off in the browser.

It is still the case though that the main reason why anybody should use Javascript is for form validation. Using a client-side script for this purpose lessons the burden on server resources but also provides a more user-friendly approach than using a server-side script and CSS alone.

So if you are a web designer it really is worth thinking about learning Javascript as it will undoubtedly be a vital element of online creativity in the years and decades to come.




Andy Walpole is a web designer and developer: http://www.suburban-glory.com




Wednesday, November 9, 2011

DHTML and JavaScript Objects


The web is evolving, and the way that we use JavaScript to build websites is evolving too. It's important to understand what JavaScript offers, and how to use its capabilities to stay ahead of the curve.

History of JavaScript

JavaScript was invented by Netscape in 1996, just 5 years after the first webpage was created (click here to see the history of web pages and search engines). JavaScript's purpose was to enhance web pages by adding small browser side functionality to dynamically modify text on the screen. Once CSS became standard in 1997, JavaScript 1.2 allowed developers to dynamically change CSS styles with event listeners.

How JavaScript is used today

It is now 2010, and most developers use JavaScript in the same way that people used it over ten years ago. As websites become more dynamic and more programming logic is executed in the browser (making the web application seem more and more like a desktop application), the amount of JavaScript being used goes through the roof.

How to use JavaScript Objects

To define an object, just create a function that looks like this:

function person(name, age, sex) {

this.name=name;

this.age=age;

this.sex=sex;
}

To instantiate an object, do this:

var jane=new person("jane", 22, "female");
alert("hi " + jane.name + "!");

Using JavaScript objects will allow you to easily create and modify data being stored for a given webpage.

How MVC architecture is changing

In MVC architecture (the standard architecture for software applications) the data model objects and view objects have been traditionally located on a web server, where the html for a webpage is created and then sent to the client machine. As web applications move towards RIA's (rich internet applications), the MVC architecture of web applications is changing in such a way that the view objects are being moved to the client side (the browser). That being said, I find it hard to believe that a lot of people don't utilize JavaScript's ability to handle custom defined objects.

If you are developing web pages that use a lot of heavy DHTML, I fully recommend that you start treating your JavaScript code as the "view" in the MVC architecture model, and handle the data on your screen with objects! I'tl make your JavaScript code much cleaner and more versatile.

Good Luck!




by Eric Rowell, founder of http://www.WebKrunk.com




Tuesday, November 8, 2011

The Fastest Ways to Repair JavaScript


A number of issues can interfere with your browser's scripting functions, making it necessary for you to repair JavaScript quickly. If you wish to surf the web safely and efficiently, you need to make sure you repair JavaScript errors. Here are a few battle-tested methods for repairing JavaScript problems.

Practice Safe Browsing

Let's say you visit a particular website, and loads of errors pop up on your screen. First of all, you need to make sure that you are visiting a safe website. Many websites that are hiding malware use JavaScript error messages to disguise their malicious intent. Only visit websites you know, you can trust.

If you are visiting a safe website, then do a little bit of trial and error. Open another browser and visit the same website. If the website works on the other browser, then its likely JavaScript errors on the first browser are causing viewing issues. If the website is still malfunctioning, then there is something wrong with the website, and the problem is beyond your control.

Disable Programs that Might Interfere with JavaScript

If you are running anti-virus software, double-check it to make sure it is not currently scanning your temporary internet files or downloaded files. The anti-virus scan can interfere with your ability to view webpages containing JavaScript.

Clear and delete all of your cookies and temporary Internet files. This is straightforward. Here's how to do this with Internet Explorer 8:

1. Go to the Command bar and click "Safety."

2. Click "Delete Browsing History."

3. Check the Cookies option.

4. Click Delete

Make sure you download the most recent version of DirectX. Older versions of DirectX can interfere with your browser's ability to interact with JavaScript.

Enable Active Scripting and Use a Registry Cleaner

Also, enable active scripting, ActiveX controls, and java applets. All of these options are key components to JavaScript. You can find these options within your browser. Here's how to enable these features if you are using Mozilla Firefox:

1. In the top menu, select "Tools"

2. Click "Options."

3. Select "Content" from the navigation at the top.

4. Check the "Enable JavaScript" checkbox.

5. Click OK.

If none of the above works to solve your errors, then download a registry cleaner and run it. A registry cleaner works by scanning your entire registry for errors and then deleting those errors.

Registry cleaners work efficiently and thoroughly to remove errors. They are well suited to prevent errors from ever appearing, but you can also use them to cure errors. Learn more about how to repair JavaScript by identifying the cause of the problem and resolving it.




Optimize-Your-PC can provide you with advanced registry cleaning technology. It will scan, diagnose, and repair JavaScript, leaving you with nothing but a highly optimized PC.




Monday, November 7, 2011

What Are the Benefits of JavaScript?


For the beginner, the words JavaScript and HTML are just terms that he/she has probably heard of. So, presuming that some of these beginners are reading this article, let's start with the definition of these words. HTML stands for HyperTextMarkup Language which is, "the tags used to structure web pages so that a browser can display it in a way that is also influenced by the browser's design and the user's preferences for font, style, etc." (See 1). Meanwhile, JavaScript is "a scripting programming language most commonly used to add interactive features and webpages." (See 2).

Basically, HTML tags create what you put into your page and JavaScript allows you to manipulate what you put into your web page. Just imagine a web page that only has HTML on it. It would just look like a plain written document. You wouldn't even be able to go to the next page. But if you use JavaScript on your web page, you would be able to move things around.

So, what are the benefits of using JavaScript in HTML code?


JavaScript will improve visual displays

As mentioned earlier, if a web page will be plain HTML only, it would be just a page full of text. You would not be able to move around, and you won't even be able to go to the next page.
JavaScript will allow many page effects

Some page effects that JavaScript allows are:

User's time on page
Popups and tooltips
Collapsing text
Page timeout
Color changes and fades
Fontsizing and fades
Ultimate fader
Embedded audio
Print page/element
Scrolling banners
Flying text
News scroller
Automated popups
Image transitions
Toggle buttons

JavaScript will add user interactivity

The special effects that are added to the web page will make it more interactive. The user/visitor of your website will want to keep exploring within the web site.

JavaScript will provide seamless integration with user plug-ins

JavaScript not only provides access to HTML objects, it also gives access to browser and platform-specific objects like browser plug-ins (e.g. Adobe Acrobat, Media Player).

JavaScript will allow client-side user form validation

If JavaScript is available, an initial validation of the website's client can be done to check for simple errors such as missing information or non-numeric characters mistakenly placed in a non-numeric field. As a result, the user of the website gets faster feedback than having to wait for a response from the server.

JavaScript will allow access to some system information

You need JavaScript to make your website visually attractive to potential clients and visitors by adding interactivity and dynamics to HTML pages. After all, who would want to go to a website that only had one page filled with text? The web page would not look good, not to mention boring.

So, use all the tools that you need to learn JavaScript. Just do research on the web or better yet, have an expert teach you. You will find out that making a great website can be easy.

1. http://www.upei.ca/~meincke/glossary.htm

2. http://en.wiktionary.org/wiki/Java_Script




Grace writes to help people learn more about web design and development. She does work for a company that does Tulsa web design and Tulsa search engine optimization.




Saturday, November 5, 2011

Free JavaScript Codes Online


JavaScript is a scripting language which has the capability to be embedded inside HTML tags to add new features and functions that not only allow interaction but also enhance the website overall! JavaScript is sometimes considered a constraint due to security purposes, but this causes many websites to lose interaction, become less dynamic and lose additional features that contain scripts powered by JavaScript.

JavaScript is an asset available to web developers that can significantly enhance the look and functionality of their website. It can add interactivity to all HTML pages and get the users involved! This scripting language is an open language available to any and all individuals - there are no licenses involved! However, these days, JavaScript is being used in so many different aspects that sometimes it becomes hard for webmasters to find what they need.

For example, you may be in need for a JavaScript that disables right mouse click - but for that, you would have to search a lot to find one that works in all browsers and meets all your needs. In order to combat this lack of efficiently, FreeCodeJavaScript.com has developed and compiled a list of Java Scripts that you can simply copy and paste into your website! We have hunted and dug through thousands of websites to find JavaScript that actually works and is compatible with various browsers! It is an easy and user-friendly website that anyone can visit to fulfill their JavaScript needs!

Free Code JavaScript is a website dedicated to providing free Java Scripts to people around the world! Some of these JavaScripts have been written by us, but many have been submitted by various users of the site. All scripts have been verified to ensure their working state!







Friday, November 4, 2011

Javascript Error - How to Fix Javascript Errors Using a Registry Cleaner


There are times when you filled out forms for hours, and when you submitted the form all you get is a Javascript error message. This happens often and is really annoying since you won't get what you want even if you filled out the form because it was not submitted properly due to a simple Javascript error. In order to get rid of these annoying errors in the future all you need to do is a little tweak in your computer.

Javascript makes the little things on the internet working such as online calculators and converters, contact forms, product previews, pop up windows, submissions, animations and more. Javascript makes the internet a lot easier for website owners and visitors to communicate; it makes your website more than just a book to be read by your visitors. Javascript pop-ups are helpful but error pop-ups are devastating for your website. Javascript errors are annoying that it can drive hundreds of your visitors away from your website.

Java is different from Javascript but just like Java error, Javascript errors can cause runtime errors if the program script was improperly written. If the Internet Explorer doesn't work some browser hoppers are trying to delude the Javascript errors by trying the same script using different browsers such as Firefox, Opera, Maxthon, or Chrome. However, it is not advisable, very time consuming and unpractical. Instead of deluding Javascript errors, it is best to fix the errors so you can get what you want, when you want.

First thing to do when the Javascript pop-ups are not on your side is to make sure that your Javascript is enabled in your Internet Settings. These Internet Settings can be changed easily by accident. This usually happens when you're dealing with PC crashes and you started to hit keys to make your PC work, some of these keys will enable or disable the Javascript in your Internet Options by accident. Double checking your settings won't hurt you or your PC.

However, if the Javascript is enabled, the next best thing to do is to clean your registry. If you are familiar with registry structures and the data that are stored in the registry, then you can clean your registry manually. This process requires a lot of knowledge and if you are not familiar with registry structures it is not a good idea to fix your registry manually. The windows registry has thousands of files in folders that store your Windows preferences, from your hardware, software, and internet browsing activity. The windows registry is tracking all your programs and their errors, so if you don't clean your registry the Javascript cannot flow smoothly through the Windows registry, that's where the error pop-up appears.

To get rid of these error messages you can clean your Windows registry using a registry cleaner. There are a lot of registry cleaners available on the internet. A registry cleaner is capable of fixing your damaged registry, clean your clogged registry files, or delete missing and inappropriate files within your registry. Cleaning your registry data with a registry cleaner is as easy as 1-2-3, soon you'll say goodbye to these errors.




Best Registry Cleaner: Serving Over 6 Million IT Professionals Worldwide

Wilson S. Miller is an award winner registry cleaner programmer for top software companies for the last 8 years. Find out more about how you can easily fix your registry and improve your computer's performance by 200%.

Top Registry Cleaner: As Seen on CNET: Compatible with all Microsoft products and third party applications, RegCure seeks out and repairs those issues in your registry that lead to poor performance such as remnants left behind on your registry from failed installations, incomplete un-installations, disabled drivers, and spyware applications.




Thursday, November 3, 2011

Website Development - JavaScript Introduction


When dealing with website development, there is lots of scripting language that you can choose from depending on how you want to develop your website. You can use AJAX, HTML, CSS. Flash, Illustrator and a lot of other scripting languages that are commonly used nowadays. One of the most popular scripting languages is the JavaScript. Although it may sound like it was a part of the popular programming language which is Java that was developed by Sun, JavaScript is entirely different from it.

It was introduced with Netscape Navigator for website development and is designed to build dynamic online pages, used to check details on html forms before the page is allowed to submit any data. You can use JavaScript to manipulate webpages for it to be able to perform variety of functions. Although there are lots of available JavaScript codes that you can just copy online, you still need to learn its basics if you want it to do what it have to do. You do not need to learn HTML as well, as JavaScript does not use it. What you need to know about HTML is where you should place your JavaScript so that it will function properly.

Most web developers use JavaScript so that there can be an interaction between the visitor and the webpages. If you are into website development, of course you need your visitors to be able to interact with the website dynamically as nobody likes a stale webpage that just sit there. It is also helpful in protecting your passwords, detecting browsers and displaying information. JavaScript allows the website designer to have more control over the user's browser and how the browser will see the webpages.

When writing a JavaScript, you can simply use a notepad instead of doing it directly into your HTML document to avoid messing it up. You should also have a browser that is compatible with JavaScript so that you will be able to see if your script is working just fine. Remember that testing is essential in website development to make sure that you are getting your desired output. JavaScript is not as complicated as the other scripting languages, as long as you know the basics, especially the terms, then you will never go wrong in writing your own script.

If you do not want to go through writing the scripts for your website development, you can just simply go online and search for websites that can give you access to customizable JavaScript snippets wherein you can just copy and paste your customized objects and place it into your website. Although JavaScript can help you develop your website into something dynamic, you should also avoid scripts such as mouseover sounds, mouse trailers, mouseover popup windows and mouseover redirects, as these scripts might irritate your visitors most of the time making them leave your website instead of staying longer. If you want to learn more about JavaScripts and how to write it, there are several tutorials that you can find online and these tutorials can definitely help you develop your website into something greater that what you could have expected.




Are you looking for the best deals on ecommerce website design? Visit http://www.seoboutiques.com today for more information!




Wednesday, November 2, 2011

Javascript Popup Is For All


Javascript popup windows are currently one of the best methods for web advertising and catching the web surfers attention. We will discuss in this article here the impact of javascript popups on various groups of people on the web :

1.Advertisers :- The advertiser benefits the most because his message gets through to the end user. As simple as that. The advertisers can create different types of pop-up windows which will have the advertising message displayed on it. These popups are not only effective with popup blocker(s) but are also effective with general website audience because they are eye-catchy by nature.

2.The Search Engines :- Various search engines like Google, Yahoo, Alexa and Msn provide their toolbars with popup blocking feature. Such toolbars were introduced because many website advertisers took undue advantage of the popup method to create tons of popups for their websites and webpages. Unfortunately the search engine companies cannot make popup blockers for such type of Javascript Popups because removing Javascript and Dhtml can make the website look improper and ugly. Still Microsoft released Windows Xp service pack 2 (XPSP2) which has one such option which can block Javascript Popups.

3.General Users :- It is good for the general users that the Javascript Popup windows have replaced the old popups. The conventional popups were very annoying and could hang your browser or operating system for some time. These new Javascript Popups are not actually new windows but an imitation of the old Popup windows in the same browser window itself and can be closed easily on a single click.

4.Developers :- The developers have a new challenge to create new and different types of Javascript and Dhtml Popups. The types of popup Ads that can be created with the use of these Javascripts popups is left to the imagination of a web developer. The developers have created various softwares and scripts to create such type of popups even if the user does not know any programming language or have any knowledge of Java-script coding. Some such solutions that fall under this category to create Javascript popups are :

a) Software to create javascript popup window.

b) Subscription to webscript to create popup windows.

c) Using a webscript from browser running javascript popup window creator file.

What is so good about these applications is that you can create eye catchy beautiful pop-ups by just choosing the popup style which you like of the available options with the application, generating the code and pasting it in your document. The style may vary from conventional pop-up windows to advanced Javascript popups for optin ads, limited time offer ads or jumpy pop-up ads to catch the webpage visitors attention.




Jimmy Thakkar is the Head of Search engine optimization dept in India. He also gives search engine optimization training & tips to various website owners throughout the world. He is also the creator of Jvw popup maker 1.0 software.




Tuesday, November 1, 2011

JavaScript for Web Design - Advantages and Disadvantages


This article discusses the good and the bad points of using JavaScript in your website designs. It points out the areas where JavaScript excels as a web based programming language and also describes situations where its use can actually detract from the performance of a website.

First of all, JavaScript is a browser based programming language that actually runs client side. This means that any code that you write in JavaScript is delivered along with your web pages and the scripts that you write actually run from within the users' browser rather than directly on the server that is serving the web page. There are situations where JavaScript is an excellent solution for implementing neat features in a web design but there are also situations where using JavaScript can hurt your websites performance. It is my aim in this article to describe the best ways to use JavaScript and how to circumnavigate the downsides of using this versatile and powerful scripting language.

JavaScript for Web Design - The Advantages

JavaScript is an excellent solution to implement when validating input forms on the client side. This means that if a user forgets to enter his name in a form for instance a JavaScript validation function can popup a message to let him know about the omission. This is a far better solution that having a server side validation routine handle the error because the server does not have to do any additional processing. An asp or php routine could be written to achieve the same task but the JavaScript would not allow the form to be submitted unless it was completed properly in the first place, a much more robust solution!

Another area where JavaScript excels is in the creation of dynamic effects such as rollover images and scripted slideshows, where its use has become commonplace. Because JavaScript runs inside the clients browser it can be used to change the appearance of the users screen after the page has been sent by the server. This allows it to create some very impressive dynamic image effects.

JavaScript for Web Design - The Disadvantages

One of the major draw backs to using JavaScript is that it tends to severely bloat web pages. JavaScript code can quickly add up to hundreds of lines of code if you are using it to do anything even remotely interesting. That said the problem of large chunks of JavaScript code is easily solved by storing the JavaScript code off into separate JavaScript source files that have a .js extension. This cleans up your web page code because the JavaScript code is stored separately to the HTML page itself, leaving a much cleaner and more readable web page.

Because of JavaScript's tendency to bloat web pages it can be very detrimental to the search engine friendliness of your web site. This is because when a search engine arrives at your site looking for quality content and keywords to determine what your page is al about, the last thing it wants to see is hundreds of lines of JavaScript code. Again, this problem is easily solves by neatly storing JavaScript code away in script files with a .js extension and linking to the script file in your HTML documents.

Conclusion:

JavaScript is a feature rich and useful browser based script that if used properly can achieve some great effects and improve the experience for the end user. There are drawbacks to its use in that it tends to bloat web pages. The key thing to remember is to get the best of both worlds by using JavaScript code in external script files. That way the code is separated from your content so you get all the benefit of JavaScript functionality but without the adverse effects of the associated code bloating.




Stuart is a freelance website designer in Doncaster UK who specialises in search engine friendly web design doncaster for companies of all types.




Monday, October 31, 2011

Kill That JavaScript Error


A JavaScript error can make it painful to browse the Web. You need to defend your browser from each JavaScript error, as JavaScript errors love to ruin your fun. It's actually very easy to repair the majority of JavaScript problems. Here, we'll do a rundown of some of the best ways to fix JavaScript errors.

Delete your Temporary Internet Files

Call it unorthodox, but it's proven over and over that too many Temporary Internet Files can cause JavaScript problems. That's why you NEED to delete your Temporary Internet Files on a regular basis. Besides, all sorts of nasty stuff can sneak into your system through cookies and Temporary Internet Files.

Here's how to delete your Temporary Internet Files in Windows 7:

1. Click Start.

2. Select Control Panel.

3. Click Network and Internet.

4. Select Internet Options.

5. Click the Safety icon.

6. See the "Delete Browsing History" button? Click that.

7. Check all of the files you wish to delete.

8. Click Delete.

Your system will probably run a bit faster and smoother once you delete these files. Temporary internet files accumulate rather rapidly, so it's best to delete these often.

Check DirectX and Disable Interfering Features

You should also make sure that you are running the most updated version of DirectX. Sometimes DirectX errors can get mixed up with JavaScript, and then you have to pay the price. If you're having trouble with DirectX, you can use the handy DirectX Diagnostic Tool to troubleshoot these problems.

Sometimes firewalls or other security mechanisms can cause JavaScript problems. You need to check the settings of firewalls and anti-virus programs. If these programs are currently running, they will often play havoc with JavaScript. You'll need to experiment with your anti-virus, anti-spyware, and anti-malware programs. Often, if you disable a setting such as "Ad-Blocker" or "Pop-up Blocker," then JavaScript will miraculously start working again.

Registry Cleaners to the Rescue

It's wise to get a registry cleaner so that you can fight JavaScript errors head on. A registry cleaner is the best way to find out where that little bugger is hiding and blast him out of his hole.

Since the registry stores all information on your system, all errors will be logged within the registry. As such, registry cleaners are the most effective and powerful means of resolving errors. Some registry cleaners are well known for their ability to prevent errors from ever appearing. Use a good registry cleaner to detect and destroy JavaScript errors. You'll be glad you did. Learn more about how to repair your JavaScript error so you have keep having fun and working hard online.




Optimize-Your-PC, with its Advanced Registry Cleaning Technology, will fix that JavaScript error and Speed Up Your PC, all in under 2 Minutes.




Sunday, October 30, 2011

Launch an Investigation Into Your Browser's JavaScript Problem


Fixing a JavaScript problem isn't very difficult, but it's sometimes hard to pinpoint the source of the problem. A variety of issues can cause a JavaScript problem, so you have to do some detective work to identify the culprit and fix the error.

How Active Scripting Fixes JavaScript Errors

Always turn on Active Scripting when surfing the Web. You also need to make sure that ActiveX Controls and Java applets are enabled. These crucial options are necessary for JavaScript to function correctly. If you're having trouble with JavaScript, then you need to make sure that you have enabled active scripting.

Here's how:

Internet Explorer 8 (Windows)

o Select the "Tools" menu.

o Click "Internet Options."

o Select "Security."

o Select "Custom Level."

o Click the checkbox next to "Enable Active Scripting."
Mozilla Firefox 3.5 (Windows)

o Select "Tools" from the menu bar.

o Click "Options."

o Select the tab labeled "Content."

o Click the box next to "Enable JavaScript."

o Click OK.

o Close Mozilla, and then reopen it.

Turn Off Error Alerts

If pesky alerts are constantly bothering you but your browser seems to be operating smoothly, then you may just need to turn off JavaScript error alerts. Sometimes the error alerts are responsible for making your computer freeze. They can also interfere with your browser's functionality. It's quite simple to accomplish this in Internet Explorer. Follow these steps to turn off error alerts.

Internet Explorer 8 (Windows)

o Select the "Tools" menu.

o Click "Internet Options."

o Select "Advanced."

o De-select the checkbox next to the text "Display a Notification about Every Script Error."

o Close Mozilla, and then reopen it.
If one webpage seems to harbor a lot of JavaScript errors, then it's worth testing that webpage with another browser. In fact, you should always use multiple browsers to test JavaScript errors. If both browsers encounter the same errors, then it's likely that the webpage itself is responsible for the JavaScript errors.

For a Quick Resolution, Run a Registry Cleaner

If you just can't seem to shake off these JavaScript errors, then get a registry cleaner. A registry cleaner works by scanning your entire registry of errors. It then quickly resolves all uncorrected errors.

Registry cleaners are highly effective at fixing JavaScript errors. This is because JavaScript errors, like many other errors, are stored in the registry's root keys. So, it's quite simple for a good registry cleaner to isolate and wipe out these errors.

Learn more about repairing your JavaScript problem so you can improve your browser's performance.




Optimize-Your-PC can provide you with advanced registry cleaning technology. It will scan, diagnose, and repair that pesky JavaScript problem, leaving you with nothing but a highly-optimized PC.




Saturday, October 29, 2011

Four Powerful Features of JavaScript Programming Language


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's take a look at some of the features of this language.

1) Browser support: To access flash content, you need to install flash plugin in your browser. But to use JavaScript, you don'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.

2) Can be used on client side as well as on server side: 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.

3) Functional programming language: 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.

4) Support for objects: 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.

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.




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 AnayKamat.com.




Thursday, October 27, 2011

Pro JavaScript - IDEs


Pro JavaScript - IDEs

JavaScript has seen a rise in popularity in the last five years, from almost dying a death from incompatible browser versions. Instead, modern web developers have a great arsenal of tools to help them create quality JavaScript for every web application.

IDEs

Server-side developers have long enjoyed a great set of tools, which kept getting better every year. JavaScript developers had traditionally been expected to code by hand, or perhaps (if they were lucky) have syntax highlighting (which often didn't work correctly). That's changed over the past several years with a number of high-quality Integrated Development Environments (IDEs) catering to or at least supporting JavaScript.

Aptana

Perhaps the first major IDE specifically written to cater to JavaScript developers, Aptana has become a staple with many developers of all stripes. Aptana's JavaScript support goes beyond syntax coloring, and includes bundled support for a dozen or so of the top JavaScript frameworks (including Dojo, jQuery, YUI, MochiKit and many more). Aptana was one of the earlier IDEs to support "code completion" for the JavaScript libraries. By typing just part of a JavaScript operation, and hitting a key, the IDE will show you various options on how to complete the code (saving typing and potentially hours of debugging because of one wrong keystroke!)

Eclipse

Eclipse is the granddaddy of extendible IDEs. Long just for the Java platform, Eclipse has been extended to support multiple major languages, including JavaScript, through customization and plugins. Aptana is itself a highly customized and focused version of Eclipse, but still Eclipse all the same. For those already using Eclipse for web development, adding in a JavaScript plugin will net you some of the benefits of Aptana with none of the learning curve.

NetBeans

Long considered "past it", NetBeans has seen a resurgence in recent years, with renewed development on the core platform, and extensive support for languages like PHP, Ruby and others, in addition to Java. (Note - Aptana and Eclipse also offer support for multiple server side languages, although only Aptana and NetBeans provides good 'out of the box' experiences for anything beyond Java). NetBeans is not based on Eclipse, but is its own program. For those who don't like the visual stylings of Eclipse may find NetBeans a welcome change.

Microsoft Visual Studio

Microsoft earlier announced that it would bundle and support jQuery in its Visual Studio lines. While not offering extensive support for other languages like PHP yet, those developers who are already working in an MS environment would do well to look in to enabling jQuery support in Visual Studio to get code completion and inline documentation help while developing.




Michael Kimsal publishes content for web developers with JSMag, the JavaScript magazine, and GroovyMag, for Groovy and Grails developers. Register at either si




Wednesday, October 26, 2011

Freelance Programming and Freelance Programmers - JavaScript


JavaScript is fundamentally about objects. So what are objects' JavaScript is a wonderful tool to enhance the usability of Internet Web sites. It is the extra layer above the mark-up "what is this text" & the CSS "how should it be displayed". JavaScript is often perceived as An Internet Web scripting language, with a specialist purpose of manipulating HTML pages. JavaScript is, however, a general-purpose Turing-complete language: the best way to illustrate this is to emulate another system through JavaScript.

JavaScript is hosted by many different types of Internet Web browsers, and is generally our primary means to manipulate a browser's DOM. While ostensibly governed by W3C standards, we all know each browser contains variations and idiosyncrasies. JavaScript is loosely typed (you don't have to define the datatype of variables) while Java is not. JavaScript is mainly executed in a browser, where as Java can be used to create stand alone applications. JavaScript is wholly reliant on the browser to understand it & make it come to life.

JavaScript is a bastardised language, born out of necessity and with hardly and forethought. It's borrowed features from other languages - the syntax from Java, the functions from Scheme, the prototypal inheritance from Self, regular expressions from Perl and so on. JavaScript is a powerful scripting language used to add dynamic content to Internet Web pages. It is especially beneficial for everyday tasks such as password validation and creating dynamic menu components. JavaScript is ready to move to center stage as the development and delivery technology for Internet Web 2.x applications. In the past, most enterprise and product developers flocked to Java or C# while Internet freelance web developers moved to PHP, Perl, Python & more recently Ruby, with most ignoring the Internet Web based scripting language called JavaScript.

JavaScript is not the only language Internet Web sites use for programs sent to the user. Flash supports freelance programming through an extended variant of JavaScript. JavaScript is the only really widespread, multiplatform solution the modern IT world has seen. And yet, it made it. JavaScript is the perfect place to start to learn scripting because it is generally less complex than other scripting languages, and is client-side ' However you code pages now is great '

JavaScript is a good freelance programming language to use to add a dynamic toolbar to your Internet Website. You can add various buttons to the toolbar to give users a more interactive experience. JavaScript is a very expressive language and, as a result, there are a wide variety of techniques you can employ to build re-usable and extensible code. What I-describe here is by no means the final answer on that subject. JavaScript is the only freelance programming language that has ever shipped on every consumer computer, and it has done so for the last 10 years. In these post-QBasic times, HTML, CSS, and JavaScript have become for every ungainly, bespectacled troglodyte the gateway from social exile to deeper social exile.

JavaScript is probably at its best when it leaves the complex object handling stuff to the host software that the interpreter is embedded in. Your script can thus stay short and sweet and achieve powerful effects through the host objects exposed with no real need for an OO thought in your head. JavaScript is, of course, the scripting language used to control interactive features in PDF files & to automate processes in Acrobat. It did not just magically appear one day and attach itself to Acrobat.




Looking for a FREELANCE PROGRAMMER? Go to http://www.JZ-ART.com for a free quote and consultation.




Tuesday, October 25, 2011

JavaScript Alert - Every Web Master Running JavaScript Should Know This


Every web master running JavaScript should be aware of the HTML level tag . Many web sites these days are running Javascript in order to have fancy drop down menus. If the surfer has Javascript turned off, those menus can disappear entirely, leaving the surfer with the belief that he has stumbled upon an unfinished web site that only has a home page and no other pages. A web site that has rich content and many pages may seem to have only one page! I've seen it happen. The surfer will probably be clueless as to what has occurred and will hit the back arrow on his browser and will go elsewhere to obtain the information/product.

The authoritative w3schools.com web site reports an 11% rate of surfers that are browsing with Javascript turned off in January 2005. Because of virus scares, and the advice of companies like Microsoft, that rate is increasing. If most of your web site 'disappears' for 11% of the browsers that load your home page, doesn't that translate into a rough loss of 11% of your business sales?

Fortunately there are some very simple things you can do to remedy the situation. The HTML level tag is activated when a browser with Javascript turned off visits the page. Whatever HTML code you put between those tags will appear when Javascript is turned off and will show nothing when it is turned on.

In the case of Javascript drop down menus, the simplest fix you can do is to go to the place in your HTML source code where the Javascript drop down menus would display and add this code:

Javascript is turned off in your browser. You need Javascript turned on in your browser to use the menu systems of this web site.

If Javascript is turned off, that code would show a message in red warning the user that turning on Javascript is necessary, and optionally might link to a page explaining how to do that on different browsers. Small fix to potentially increase sales by 11%!




David Malia is a 20 year computer veteran with a fascination in web page usability offering web page design, graphic design, and web application programming. "Web pages designed for the real web - not the ideal web, because that's where your customers are." http://RationalWebDesign.com




Monday, October 24, 2011

An Introduction to JavaScript


JavaScript is an interpreted programming language, built on the ECMAScript standard. The language definition is really broad since it can be defined as aprocedural language based on prototypes, imperative, weakly typed, and dynamic.

JavaScript is mainly used as a client side programming language implemented as part of a web browser to allow developers an improved way to implement user interface and dynamic features in web pages, although there are implementations of JavaScript on the server side (SSJS) the popularity of the language is due to the client side implementations alone. JavaScript can also be found outside web applications, for example as a way to add interactivity to PDF documents and desktop widgets.

JavaScript was designed with a similar syntax as C, although it takes names and conventions from the Java programming language. However, despite the name Java and JavaScript are not related and have different semantics and purposes.

JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, which was later renamed to LiveScript, to finally being called JavaScript. The name change coincided approximately with the moment in which Netscape added support for Java technology in its web browser Netscape Navigator version 2.0B3 in late 1995. The name JavaScript was confusion, giving the impression that the language is an extension of Java, and it has been characterized by many as a marketing strategy for Netscape to gain prestige and innovate in what were the new web programming languages.

The following year Microsoft implemented a similar client side programming languages as part of its Internet Explorer 3.0 web browser. Microsoft called its client side language "jscript", to avoid problems related to the brand. The Jscript term seems so similar that the both "javascript" and "jscript" are often used interchangeably, but the specification of JScript is not 100% compatible with the ECMA specifications.

To avoid these incompatibilities, the World Wide Web Consortium (W3C) designed the standard Document Object Model (DOM, or document object model), which was incorporated in the version 6 of Internet Explorer and Netscape Navigator, Opera version 7, Mozilla Firefox since its first release, and all modern browsers thereafter.

In 1997 there was a proposal to submit JavaScript to the standard of the European Computer Manufacturers ' Association ECMA, which despite its name is not European but international, based in Geneva. In June 1997, it was adopted as an ECMA standard under the name of ECMAScript. JavaScript also became an ISO standard.

Because of its standardization and the great adoption of the internet, JavaScript has become the most used programming language in the planet.

Note: JavaScript is a registered trademark of Oracle Corporation. It is used under license by the products created by Netscape Communications and current entities such as the Mozilla Foundation.




John L. Michael - Visit http://www.javascriptframework.com to learn more about JavaScript.




Sunday, October 23, 2011

Javascript Improvements in Modern Web Browsers


A web browser is the most important piece of software for the internet. This might be why there are so many companies and versions out there striving to give users the best solution. Part of the challenge for web developers is creating websites that work across all of these different browsers while still pushing the envelope of web design and programming.

Definition of a Modern Web Browser

With all the web browsers and versions out there, what qualifies as a modern web browser? For the scope of this roadmap, we will talk about Safari 4, Chrome, and Firefox 3.5 (formerly 3.1) as examples of modern browsers. All 3 of these browsers share some important similarities that make them stand out from the browsers of the past.


Consistent and W3C standard web page rendering

Intuitive and responsive user interface

Beginning support for advanced HTML5 and CSS3

Fast JavaScript performance!

Websites are becoming more advanced and reliant on AJAX and JavaScript frameworks (i.e. mootools, jQuery, yui) to deliver interactive and responsive web solutions. Each of the 3 browsers mentioned above have custom implementations to dramatically improve JavaScript performance over the browsers of yesterday. With such improvements, it allows web developers to continue advanced JavaScript coding while still ensuring a good customer experience.

The following pages include SunSpider benchmarks to get a better idea of the JavaScript improvements that have been made. SunSpider is a standard benchmarking suite, developed by the WebKit team, used to compare the various browsers and their capabilities.

Safari 4

Safari 4 (currently in beta) uses the open source WebKit engine to render web pages. WebKit has evolved significantly over the last year and is blazing fast when it comes to rendering pages and especially shines in JavaScript performance.

WebKit implements a new JavaScript rendering engine called SquirrelFish Extreme (Apple calls this the Nitro engine - its referring to the same thing). According to the SunSpider JavaScript benchmark shown in Figure 1, Safari 4 outperforms all other browsers listed including Firefox 3.5, and Chrome. Safari 4 outperforms all other browsers listed including Firefox 3.5, and Chrome. Obtained via Apple.

Case Study:

I've worked on a website that uses JavaScript to display very large amounts of XML (we're talking megabytes of data), manipulate the data, and create dynamic HTML. Running one of these XML reports in Safari 3 took upwards of 10 minutes, while Safari 4 ran the same XML report in 30 seconds! That was with no code changes at all, the updated WebKit engine made that dramatic of a difference.

Chrome

Chrome is based on the open source Chromium project (which is based on WebKit) developed by Google. Chrome is very similar in performance to Safari 4 since they are both based on WebKit. The only downside to Chrome is they only officially have a windows version. Google is hard at work to release a native osx version in the near future.

Chrome implements a new JavaScript engine called V8. This engine speeds up JavaScript execution and the browser itself to provide a solid alternative to the more established browsers out there. According to CNET's tests, Chrome has the advantage over the other browsers. According to the CNET tests, Chrome has the advantage over the other browsers. Obtained via CNET.

Case Study:

The same XML report mentioned above in the Safari 4 section was tested in Chrome with similar improvements. The speed increase was not quite as much, but it still took under 60 seconds to render the same XML report.

Firefox 3.5

Firefox 3.5 (formerly 3.1) uses the Gecko engine to render web pages. While not as dramatic as my experience with the WebKit engine, Firefox 3.5 offers definite speed increases over Firefox 3. The overall browser experience is more responsive in addition to the JavaScript performance.

Firefox 3.5 implements a new JavaScript engine called TraceMonkey. Recently there has been some back and forth between Firefox and Chrome regarding the JavaScript rendering speed. Mozilla released some SunSpider benchmarks to show their TraceMonkey engine vs. Chrome's V8 engine. Mozilla released benchmarks to show their TraceMonkey engine vs. Chrome's V8 engine

Tip: Some of the most powerful features in Firefox are the browser add-ons available. As a developer, these tools are invaluable in helping to debug and build your websites. Check out firebug and the web developer toolbar!

In Conclusion

As we can see above, each browser is going to naturally have benchmarks that favor their particular JavaScript engine. However, one thing is clear across the board - all of these modern browsers are going to blow away the performance of older browsers. It is also important to note these browsers are in constant development, with optimizations being added nightly.

Browser technology is taking a major step forward in terms of speed and responsiveness. Web developers can continue to implement JavaScript heavy web applications and have confidence their sites will render and behave as intended.




WebAssist helps web developers and designers build better websites faster with Dreamweaver extensions, CSS templates, as well as pre-built PHP scripts and solutions.




Saturday, October 22, 2011

What is JavaScript?


Static v Dynamic

JavaScript can do more than HTML because HTML is static, but JavaScript is dynamic, which means that it can react to viewer actions, such as clicking or rolling the mouse over an object. JavaScripts are often called "behaviors." A behavior is made up of a viewer "event" and a response or "action" by the programming. You can program a behavior to happen when a viewer clicks, or you can program it to happen when the viewer double clicks - that is the "event." When the "event" happens, the programming responds by showing something, like a drop-down menu, or by doing something, like playing a sound. With JavaScript, you site is "dynamic" because it responds to your viewer beyond regular hyperlinks!

Client-side programming v Server-side programming

JavaScript is a "client-side" programming language. Client-side means that the program code is sent into your computer with the rest of the web page code (usually HTML); then, your browser reads the code and does what it says. That means that on many sites with JavaScript, you can look at the programming code right along with the HTML by going to Edit -> View Source in your browser. You can usually tell if the code has JavaScript in it because the head tag will have a like that says script language="JavaScript". That is a good way to look at some working scripts. (Some websites do hide their JavaScript coding.)

JavaScript and Browsers

JavaScript is frequently used to do simple programming tasks because web viewers can turn JavaScript off on their computer, which means that all your hard programming work doesn't function when they view your site. JavaScript may be turned off for security, and there have been browsers that have JavaScript disabled as a default setting. Instead, we use JavaScript to enhance the functionality of a web page. For example, if you completely rely on JavaScript to validate your online forms, you have a security hole. If a viewer's JavaScript is turned off, it will by-pass your validation. So, you may also use a "server-side" programming language to double check the input.

Newer browsers generally have newer versions of JavaScript, which means there are more programming options. Some old browsers can't read JavaScript, or they can only read limited amounts of JavaScript. A browser that is JavaScript enabled can read some version of JavaScript.

Other Options

There are other types of scripting that look a lot like JavaScript. For example, the Flash program has its own scripting language called ActionScript, and many of the effects it produces in Flash are similar to what JavaScript can do on a page. For example, you can create a set of rotating images in JavaScript. The same thing can be done in Flash, except the Flash action is generally much smoother. If you learn JavaScript, you have the basics to start on many other scripting languages that are used for web pages.

Give it a try

You don't have to be Super-Geek to learn a little JavaScript! Here is a link to a few simple JavaScript exercises. All you need to do these exercises is Notepad (or another text editor  - do not use a word processor as the files may not be readable by the browser) and a browser. http://www.thecomputergal.com/Programming/JavaScript/8-HourSyllabus.htm




If you have never worked in HTML code before, read this page first to understand the steps of working between your text editor and your browser: http://www.thecomputergal.com/WebDesign/Lessons/UsingTextEditorSteps.htm

These materials are used in the 8-hour JavaScript course at Dickinson Lifelong Learning Center in Missoula, MT

Nora McDougall-Collins
Missoula, MT
Putting the world of computers into plain English




Friday, October 21, 2011

Javascript Error Messages Just Might Jostle Your Nerves


Javascript error messages can really jostle your nerves when you spend hours filling out a form (or even a short five minute form) and you click submit only to get a "JavaScript error." Your transaction doesn't finish and you can't get what you want. Clean out your computer and throw away your PC error messages and go out and get what you want.

Javascript error messages can keep you from buying a book, getting information you need, or keep you from registering for a game or a forum. Javascript gets the little things on the Internet working, like online calculators and converters, forms, product previews, pop up windows, submissions, animations and more. Javascript keeps the Internet from being just a digital form of a big book to read, and it helps website owners and website visitors communicate and get what they want. Javascript pop-ups can be good, but Javascript pop up errors are no good. Too many JavaScript errors can really jostle the nerves, and the errors might be enough to drive many users to start jostling their computer until it flies out the window.

Just like a Java error (Java is different than Javascript), errors from Javascript can result in runtime errors if the programming script is written wrong. Internet Explorer errors can also cause errors from Javascript. Browser hoppers can juggle their Javascript pop up errors by trying the same Javascript command in Firefox, Opera or Chrome if it doesn't work in Internet Explorer - but that can be time consuming and unpractical. Getting rid of your flood of Javascript errors instead of juggling them can help you get what you want when you want it.

First, if you are getting consistent Javascript messages that don't agree with you, check your Internet Setting in Internet Options and make sure Javascript is enabled. You'd be surprised at how easily things can get checked and unchecked by accident. Especially if you're also dealing with computer freezes or PC crashes and you start hitting every key on the keyboard to get things working. Even if you think Javascript is enabled, it can't hurt to double-check it.

If Javascript is enabled in your Internet options, the next easiest thing to do is clean your registry. Doing this manually is next to impossible, and could take years. That's why there are registry cleaners on the market. The Windows registry has thousands of folders and files that determine your Windows configuration, your software, hardware, security and Internet browsing activity. Every order that comes off the Internet, even if it's just opening a tab or window - has to cross your Windows Registry in order to work. Your Windows registry keeps track of programs and errors, and if you don't clean it, the scripts and commands from Javascript won't be able to flow through the registry path it needs to survive. If Javascript can't make it through the Windows registry, it cries out an error of despair.

Javascript error messages can be thrown out by cleaning your Windows registry with an easy to use and highly customizable registry cleaner. Remove-PC-Errors.com has more information on how to get rid of a Javascript error, as well as other registry errors and how to prevent a Javascript error from happening in the future. Instead of juggling Javascript errors and letting them jostle the nerves in your brain, take a minute to visit Remove-PC-Errors.com and discover how to throw your Javascript errors away.




About The Author:
Kerry Top is a successful publisher and writes articles on many topics including PC errors. He Provides detailed information about removing pc errors.