initial commit
This commit is contained in:
55
design2.htm
Normal file
55
design2.htm
Normal file
@@ -0,0 +1,55 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Herschewe Real Estate (herschewe.com)</title>
|
||||
<style type='text/css'>
|
||||
body {
|
||||
margin: 0px;
|
||||
background-color: #000000;
|
||||
}
|
||||
#main {
|
||||
background-color: #000000;
|
||||
}
|
||||
</style>
|
||||
<script type='text/javascript' language='javascript'>
|
||||
<!--
|
||||
if( document.images ) {
|
||||
var contactus_btn = PreLoad( 'contactus' );
|
||||
}
|
||||
|
||||
function PreLoad(btn) {
|
||||
var img_path = "./graphics/pngs/"; //file path to find button images
|
||||
var temp = new Array();
|
||||
var ext = '.png';
|
||||
|
||||
temp[0] = new Image(); //don't know which image we're actually loading
|
||||
temp[1] = new Image(); //so format temp to hold an image, any image
|
||||
//then we can use .src to load each button img
|
||||
temp[0].src = img_path + btn + "1" + ext; //first version: no mouse over image
|
||||
temp[1].src = img_path + btn + "2" + ext; //second version: mouse over image
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
function Swap(btn, mouse_on) {
|
||||
var img = btn.id;
|
||||
if(document.images) {
|
||||
var temp = eval(img);
|
||||
document[img].src = temp[mouse_on].src;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id='main' align='left'>
|
||||
<div><img src='graphics/pngs/light.png' /></div>
|
||||
<div style='padding-left:350px'>
|
||||
<a href=''>
|
||||
<img src='graphics/pngs/contactus1.png' id='contactus_btn' name='contactus_btn'
|
||||
onmouseover="Swap(this,1)" onmouseout="Swap(this,0)"
|
||||
border='0' />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user