Code to use to prevent right clicking
presented by 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
<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
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"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>