bookmark link on a image

  • kplusonline
  • Born
  • Born
  • kplusonline
  • Posts: 1

Post 3+ Months Ago

Does anyone know how to make a bookmark link on a image.
What i mean is some websites i have visited have a cool picture saying bookmark this website when clicked it gives you the option to bookmark the website.
Does anyone know how this is done or could you direct me to a website that tells you how it is done.

thanks
kplus
  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 483

Post 3+ Months Ago

try something like this

HTML Code: [ Select ]
<span style="cursor: hand; text-decoration: underline;" onclick="window.external.AddFavorite(location.href, document.title);">
Click here to add this page to your favorites</span>
 
  1. <span style="cursor: hand; text-decoration: underline;" onclick="window.external.AddFavorite(location.href, document.title);">
  2. Click here to add this page to your favorites</span>
  3.  


OR

HTML Code: [ Select ]
<a href="javascript&#058; window.external.addFavorite('http://www.website.com','Website Title');">
Click here to add the homepage to your favorites!</a>
 
  1. <a href="javascript&#058; window.external.addFavorite('http://www.website.com','Website Title');">
  2. Click here to add the homepage to your favorites!</a>
  3.  


EDIT:: the : is not rendering correctly it is rendering as &#058;
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1156
  • Loc: England

Post 3+ Months Ago

Code: [ Select ]
<a href="http://flowersnpalms.com/wildandmysterious/">
<img border="0" alt="W3Schools" src="http://www.flowersnpalms.com/kris/blowpipe2.jpg" width="250" height="166">
</a>
</p>
  1. <a href="http://flowersnpalms.com/wildandmysterious/">
  2. <img border="0" alt="W3Schools" src="http://www.flowersnpalms.com/kris/blowpipe2.jpg" width="250" height="166">
  3. </a>
  4. </p>


I think, anyway its from W3C.... :mrgreen:

S

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 12 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.