Profiel van RicHTML TutorialWeblogLijsten Extra Help

Weblog


    29 augustus

    Add Bookmark

    Add Bookmark

    As you may know you can add bookmarks to websites so you can easily go back to them whenever you want. The most common way of doing this is by clicking Favorites, Add To Favorites..., but there is another way. You could place a link on your site which when clicked on opens a pop-up window allowing your users to add a bookmark easily.

    How To Do The Above

    Right, well if you want to create this function for your website you will need to copy and paste the following code to a text editor e.g. notepad:

    <html>
    <head>
    <title>ADD TO FAVORITES</title>
    </head>
    <body>
    <font face=arial><center>ADD TO FAVORITES</center></font>
    <SCRIPT LANGUAGE="JavaScript">
    var link = "http://spaces.msn.com/members/keepthechange123";
    var title = "HTML Tutorial";
    function fav()
    {
    if(document.all)
    window.external.AddFavorite(link,title)
    }
    fav();
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">
    function exit()
    {
    if(document.all)
    window.close();
    }
    exit();
    </SCRIPT>
    </body>
    </html>

    Editing The Code

    Once you have the code in a text document you will need to save this as a .html file e.g. addbookmark.html, changing the addbookmark to whatever you want.

    Now just change http://spaces.msn.com/members/keepthechange123 to whatever the link of your MSN Space is. And change HTML Tutorial to whatever you want your page to be called in your users bookmarks.

    You will then need to upload this file to an online space, I use 50 Webs. Once you have uploaded the file you will need to create a link to the file on your website, to do this just put this code onto your site:

    <a href="linktobookmark.html" target="_blank">Add Bookmark</a>

    Changing linktobookmark.html to whatever URL your uploaded file is, and changing Add Bookmark to whatever you want your page to display as a link.

    Thats it! You should now have a link that will allow your users to add a bookmark to their page. For an example CLICK HERE.

     


     

    MSN Alerts | © RIC-KEEPTHECHANGE123

    (2) reacties

    Een ogenblik geduld...
    De reactie die je hebt ingevoerd is te lang. Maak hem iets korter.
    Je hebt niets ingevoerd. Probeer het opnieuw.
    We kunnen je reactie nu niet toevoegen. Probeer het later opnieuw.
    Je hebt toestemming van je ouders nodig om een reactie toe te voegen Toestemming vragen
    Je kunt geen reacties geven omdat je ouders dit hebben uitgeschakeld.
    We kunnen je reactie nu niet verwijderen. Probeer het later opnieuw.
    Je hebt het maximale aantal reacties overschreden dat je elke dag kunt versturen. Probeer het over 24 uur nog eens.
    De mogelijkheid om reacties te geven is uitgeschakeld voor je account omdat onze systemen aangeven dat je spam naar andere gebruikers verzendt. Als je van mening bent dat je account ten onrechte is uitgeschakeld, kun je contact opnemen met de klantondersteuning van Windows Live.
    Voer de beveiligingscontrole hieronder uit om een reactie achter te laten.
    De tekens die je typt moeten overeenkomen met die in de afbeelding of het audiofragment.

    Meld je aan bij Windows Live ID om een reactie toe te voegen (als je Hotmail, Messenger of Xbox LIVE gebruikt, heb je al een Windows Live ID). Aanmelden


    Heb je geen Windows Live ID? Maak er nu een aan

    Afbeelding van Anoniem
    cremoman2 zegt:
    any thanks looking forward to re vamp.Have down loaded your tool bar,should come in handy
    Robin
    30 Aug.
    Afbeelding van Anoniem
    cremoman2 zegt:
    as much as i have enjoyed you tutorals i still find it difficult to grasp my be I lack the confidence or trying to take too much in all at once, I want to add music,video,counters all topics you have covered but can i do no way!!!!.what can i do to improve.

    Robin
    30 Aug.

    Links naar je weblog

    De URL voor de link naar dit weblogitem is:
    http://keepthechange123.spaces.live.com/blog/cns!F6A299334D3EAB8D!460.trak
    Weblogs die naar dit item verwijzen
    • Geen
    *