Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Adobe Dreamweaver | Settings | How to add bookmark link in Dreamweaver
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

How to add bookmark link in Dreamweaver

In this lesson you will learn how to add script that allows site visitors to easily add page to favorites.

 
  Author: Brodjan | Version: CS5 | 25th December 2013 |  
 
 
1.
 

Create new HTML document.

 
 
2.
 

Click Code to open page in HTML view.

 
 
3.
 

Move between <title> and </head> and make some space.

 
 
4.
 

Now insert this code:

<script language="JavaScript1.2" type="text/javascript">
function CreateBookmarkLink() {
title = "dreevoo.com - online learning";
url = "http://www.dreevoo.com/";
if (window.sidebar) {
// Mozilla Firefox Bookmark
alert("Press CTRL + D to add dreevoo.com to Favorites");
} else if( window.external ) {
// IE Favorite
window.external.AddFavorite( url, title);
}
else if(window.opera && window.print) {
// Opera Hotlist
return true; }
}

</script>


You can also change the name and web address of your web page.

 
 
5.
 

Click Design to go to Design view.

 
 
6.
 

Now write any text and select it.

 
 
7.
 

At Link field below insert javascript:CreateBookmarkLink();.

 
 
8.
 

Now click the link. You will get notification to press CTRL+D to add page to Favorites.

Also recommended:


 
 
 
   
  Please login to post a comment
  Click to open user profile  
thefansbuzz, 19th Feb 2023, 7:54 PM
The idea of social media marketing is to create content and generate leads on social media sites such as Facebook, Twitter, and LinkedIn. However, creating content for these sites can be challenging for marketers. This is where Top Smm Panel services come in. With these services, you get a panel of people who will post and share your content on their own social media pages. This means that you can focus on other tasks and work on your own marketing strategy. Visit our website at: https://thefansbuzz.com/
 
 
  Click to open user profile  
rosydam, 31st Oct 2024, 11:00 AM
The fun part of https://block-blast.org is trying to beat your own high score by clearing more blocks in each game.
 
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO