JavaScript Source Code 3000: Messages: Show Link Info
Show Link Info
Let your visitor know exactly where a link will send them. This short script displays the domain the link points to as well as the filename of the page in the status bar at the bottom bar of the browser window.
Yahoo search engine.
JavaScript Source Code 3000: Messages: Show Link Info
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
<!-- TWO STEPS TO INSTALL SHOW LINK INFO:
1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<! >
<! >
<!-- Begin
function linkInfo(link){
fname = link.pathname;
lastSlash = fname.lastIndexOf("/", fname.length);
fname = fname.substring(lastSlash+1, fname.length);
return("Visit " + link.hostname + "'s " + fname + " page");
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<a href="http://www.javascriptsource.com/link-us.html" onMouseOver="window.status=linkInfo(this); return true;" onMouseOut="window.status=''; return true;">JavaScript Source Link Us Page</A>
<!-- Script Size: 0.97 KB -->
Wyszukiwarka
Podobne podstrony:
show user infoshow item infoshow infodo show info1974 WT Historical Slide Show Info SheetInfo & Linkshow listinfolinkBeach Head Desert War infoinfo8 0 info czujnikilinkinfowięcej podobnych podstron