14793Tutorial, How to Bookmark webpage in HTMLhttp://elouai.com/homepage.phpLet's extend this example and dynamically (using PHP), fill in the current page for us. This way we can re-use the same script on any webpage without having to edit the parameter for "this.setHomepage".JavaScript > Tips and Tutorials > MiscellaneousOct 12, 2006
Objects work so well because they act just like real life objects- objects have properties and methods. So if we were talking about a lamp, a property of it may be its height or width, say 12cm. A method of it may be to shine (an action). And when it's shining, its brightness property would be of a greater value than when it wasn't
One of the main issues that arise when writing javascript is ensuring that your script will work in all browsers, or at least fail gracefully if the browser can't support it. As a response to this need you'll find a plethora of browser detect scripts on the net that attempt, with varying degrees of success, to identify the browser being used.
Let's extend this example and dynamically (using PHP), fill in the current page for us. This way we can re-use the same script on any webpage without having to edit the parameter for "this.setHomepage".
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.