H I O X INDIA
FREE Javascript
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java Script Source
List All
Date & Time
Calendar
Stop Watch script
Slide Show
Image Effect
Mouse Effects
Color Picker Tool
Dynamic Color
Random Generator
Select All
Form Validation
Textbox Counter
Dynamic Form select
Bookmark
Window / User Info
Security / Authenticate
Status Bar
Title Bar
Cursor Position
Country List
Calculators
Delete Repeated Values
Alphanumeric
Free Games





HBOOKMARK 1.0 (HIOX BOOKMARKER)


About
This free bookmark script (javascript) will help the user to easily bookmark your page or add your page to their browser favorites just by clicking a image/link on the page. After bookmarking, the user can revisit the page from the list of bookmarks. This free javascript code can be used in any html page.


Features
a)Just by clicking the bookmark image/link the user can add the page to his browser favorites/Bookmarks list.
b)Bookmark image or text will scroll along with the page.
c)You can place the link anywhere in your page.
d)Just copy the code in to your html pages and start to bookmark your page.
e)Very simple to use


Preview
Click the bookmark image which is on the bottom left corner of this page.


Code
Note: For book image to scroll instead of plain link - Right click and save the book image in to your folder.

Free JavaScript Bookmarks Code:
<!--        Script by hscripts.com          -->
<!--        copyright of HIOX INDIA         -->
<!-- more scripts @ http://www.hscripts.com -->

<script language=javascript>

//set the bookmark image position(topright,topleft,bottomright,bottomleft)  
var corner = "topright";

var url = window.location;
var title = document.title;
document.write('<div id=ddd style="position: absolute; visibility: visible; top: 5px; left:5px;">');
document.write('<a style="font-size:10px; text-decoration: none;" href="javascript:bookmark(title, url)" title="click here to bookmark this page"><img src="book.gif" alt="BOOKMARK " border=0><span style="background-color: seashell; font-size:10px;"><sup>H</sup></span></a></div>');

var os;
if(document.layers)
 os = "n4";
else if(document.getElementById&&!document.all)
 os = "n6";
else if(document.all)
 os = "ie";

function run()
{
 if(os == "ie"){
   pwidth = window.document.body.offsetWidth;
   pheight = window.document.body.offsetHeight;
   stop = document.body.scrollTop;
   sleft = document.body.scrollLeft;
 }else{
   pwidth = window.innerWidth;
   pheight = window.innerHeight;
   stop = window.pageYOffset;
   sleft = window.pageXOffset;
 }

  var dda = document.getElementById('ddd');
  if(corner == "topleft"){
    dda.style.top = (stop)+"px";
    dda.style.left = (sleft+15)+"px";  
  }else if(corner == "topright"){
    dda.style.top = (stop)+"px";
    dda.style.left = (sleft+pwidth-110)+"px";  
  }else if(corner == "bottomleft"){
    dda.style.top = (stop+pheight-45)+"px";
    dda.style.left = (sleft+15)+"px";  
  }else if(corner == "bottomright"){
    dda.style.top = (stop+pheight-40)+"px";
    dda.style.left = (sleft+pwidth-110)+"px";  
  }
  setTimeout('run()',5);
}

function bookmark(title,url){
	if(window.sidebar) 
          window.sidebar.addPanel(title,url,"");
	else if(window.opera && window.print){
          var elem = document.createElement('a');
          elem.setAttribute('href',url);
          elem.setAttribute('title',title);
          elem.setAttribute('rel','sidebar');
          elem.click();
	}
	else if(os == "ie")
          window.external.AddFavorite(url,title);
}
document.onload = run();
</script>
<!-- Script by hscripts.com -->

  • To use the Bookmark image, right click on the bookmark image and save it into your local disk.
  • To change the bookmark image position just set the variable corner to any of the given values "topright,topleft,bottomright,bottomleft".
  • [eg: var corner = "topleft";]

Release Date - 06-04-2007

Get free version without ©copyright link for just 5



Usage
a) Copy the code in to your page.
b) Now right click on the image and save it in your local drive.
c) You can place the bookmark image either at topright/topleft/bottomright/bottomleft corner of the page just by changing the variable "corner".(eg: var corner = "topright";)
Note: Use only the keywords specified above.
d) You can also use image to bookmark instead of using text link.
e) This free bookmarking JavaScript is tested in windows IE, firefox and opera.
f) Add your code under the comment to fit your requirement.




License
- This javascript (misspelled as java script)/HTML code is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- Detailed License information can be found here
- You can purchase the script if your requirements does not meet GPL License terms.


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Others