JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Calendar Script Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




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 right 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 type="text/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 price

For customization of this script or any script development, contact us at support@hscripts.com


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
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting