CodeLifter.com
Software & Scripts by CodeBrain.com
Home

JavaScripts
PopUp Maker
-
popup windows

CodeLifter 5
-
source viewer

ScrollBar Styler
-
color scrollbars

Flash Fixer
-
remove alerts

Roll-Over Maker
-
image roll-overs

Link Cloaker 5
-
encrypt links

Site Capture 3
-
hidden frames

CHMOD 2 Utility
-
chmod utility

BlackBird 3.0
-
browser shell

Zoom 1.0
-
magnifier
MicroTicker.com
-
text scroller

CodeBrain.com
-
java applets

D3Q.com
-
xp icon control

BrainCode.com
-
java applets

MailToProtector
-
protect email
Java Applets
Perl Scripts
Affiliate Program
Index Floating Email-This-Link Script
With URL Auto-Capture
Index
This script creates a floating layer (scroll the page to see it work) with an email-this-link script in it.  The layer can be positioned anywhere on the screen, and it will float to that position whenever the window is scrolled.  Enter the recipient address and click the send button, and the visitor's email client is opened, complete with a message in the email body that includes the link for whatever page in which the script is placed.
Click here to select the code in the window below.
Use Ctrl+C to copy it to your clipboard.

Additional Notes

This script, though long, is easy to install -- just paste the entire code block into your page, just before the </body tag (not the <body> tag, now, the </body> tag).  Take special care not to let line-breaks intervene anywhere but where shown in the JavaScript portions of the code!

Customization of the appearance of the layer is done entirely with styles in the section marked as editable HTML.

Positioning is done with the hX and vY variables (see the script).  This is a little unusual, so take note: a negative number in hX will position horizontally relative to the right of the screen; whilst a positive number will position relative to the left.  Similarly, in the vY variable, a negative number will position relative to the bottom of the screen, whilst a positive one will position relative to the top. (Keep in mind that you must also allow for the dimensions of the layer.)

Using these two variables, however; it is possible to position the layer so that it floats in any desired position on the screen.

Finally (show enlarged, below), here is the background image used in the layer.  Right-click and save-as to download a copy. [Never link to an image on this site, as we move them often.]


float_dots.gif
.

Get The Code! CodeLifter is a CodeBrain.com Sister Site
©1995-2010 OEC Corp & CodeLifter.com
CodeLifter™ & CodeBrain™
Legal Notices


CodeBrain InterNET Group
BrainCode.com CodeFoot.com CodeBelly.com
D3Q.com etLux.com FFFast.com
IEFix.com PopUpWorks.com MicroTicker.com
DavidSosnowski.com OECCorp.com MailToProtector.com
CodeBrain.com


Free MUSIC!

Contemporary classical music, completely free.


Who do WE
Use for Hosting?


We judge hosts harshly. Uptime. Lightning-fast support. Servers that sing. And prices that please. Anything less, and you're history. Our clients won't accept anything but the best. Will you? From demanding music sites like DavidSosnowski to CodeBelly.com to dozens more, we use... HostNine.com






















E-Mail This Link
Enter recipient's e-mail: