|
Dreamweaver Behaviors
|
Other links at JavaScript > Tutorials > Miscellaneous |
| 1. |
Bookmark Homepage
|
|
|
Creating a simple "set to homepage" link. The dhtml script that sets the homepage only works for IE. It calls the following function, "this.setHomePage(http://someurl.com)" see webpage for more details.
|
| 2. |
Calculate Distance Between Two Points Using Longitude & Latitude
|
|
|
Tutorial and sample codes to calculate the distance between two locations. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription.
|
| 3. |
Add to Favorites
|
|
|
Creating a simple add to favorites link. This is a client side request, that asks the browser to put the link in the favorites folder. Each browser may respond differently to this request, IE will pop open a window asking the user if they wish to add to their favorites.
|
| 4. |
Pop-up Windows
|
|
|
Use the Dreamweaver behaviors panel to create small pop-up windows. This behavior helps to create pop-up ads, small browser windows etc. If you dont have Dreamweaver we have provided the code that you can cut n paste and use in your web page.
|
| 5. |
To hide the errors
|
|
|
This code snippet lets you hide the error message which appears when there occurs a Javascript error in your pages. The script will still not function but the visitor will not see the error message. Written in French.
|
|
|