Code to use to prevent right clicking
presented by Fawn


The code below. I will put in red what the message is that you put to
show in the pop up..when there is a right click on the picture.

You put this in the head of the webpage. Copy from <!--Begin to
</script><!----------- --------stop thief end--------- -------->
fawn
 

<!-- Begin
function stopthief(ie) { var warning = "Artist asks for no copying!!!";
if (navigator.appName == 'Netscape' && ie.which == 3) {
alert(warning) ;
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' &&
event.button= =2) {
alert(warning) ;
return false;
}
return true;
}
document.onmousedow n = stopthief;
// End -->
</script><!----------- --------stop thief end--------- -------->



Cemetery Pictures as Pop-ups:
presented by Kristin


This is the version I use the most, it allows you to change the size of each photo window in case some of your photos are "portrait" and others are "landscape".

<A HREF="/photoname/ .jpg" onClick="window. open('/photoname /.jpg', '/photoname/ ', 'width=375, height=500') ; return false">

Place that coding in front of the text you are using as a link--likely the name of the person the photo is for, and then the </A> tag after the name. Replace the "photoname" in the link with the name of each photo.

Or if you have your photos stored on a photo host, insert the photo link such as "http://photohost.com/photoname.jpg"  Change the height and width to suit your photos. Since this is a long piece of coding it's easiest to keep a template link like the one above, copy and paste it into your coding and then add the photo names to the template. This will save you from typing out that link every time.

This is one page I've used it on, if you want to look at the source:
http://genealogytrails.com/ill/mason/cemetery/finch.html



Submit Info Box:
presented by Nanette

<center><form method="post" action=mailto:your email?subject=info being submitted for>
<textarea rows="5" cols="20" wrap="physical" name="comments">
Submit Info. Here </textarea><br><input type="submit" value="Send Email"></form></center>


'Fixing' Background Image:
presented by Kimmer


The following example sets a background-image to be fixed (will not scroll) when clicking on a button:

Kimmer uses this:

<html>
<head>
<style type="text/css" >
body
{
background-color= "#FFCC80" ;
background-image: url(bgdesert. jpg);
}

</style>
</head>

As you can see, it must be inserted between: <head> and </head>.

Christine uses this:

 bgproperties= "fixed"    
 
EXAMPLE -- this is where I would put it 
<BODY BACKGROUND="alleganbg.jpg" TEXT="maroon"    bgproperties= "fixed"    BGCOLOR="beige" LINK="navy" ALINK="yellow" VLINK="black">

Copyright Date - placing this code onto your pages will automatically change the 'year' without you having to go into that page at the end of the year.

Put this part after the META tag

<!-- GET CURRENT YEAR -->

<SCRIPT language="JavaScript">

today=new Date();

cy=today.getFullYear();

</SCRIPT>

Put this part before the word ‘copyright’ or after the ‘copyright symbol’

<SCRIPT

language="JavaScript">

document.write(cy);

</SCRIPT>