View Full Version : Tables Out Of Place!!


kicker91
05-20-2003, 01:27 AM
Own of the sites I am working on is switiching the top table with the bottom. NO CLUE!!! Just be aware THIS IS NOT MY SITE!!:

noelles site (http://www31.brinkster.com/noellessite/index.html)

amicus
05-21-2003, 03:23 AM
here's the corrected code, you should check it make sure i didn't break anything :).

<html>
<head>
<title>.......:noelles site:.......</title>

<style>
<!--
#myimage {
filter: light;
}

.borderimage {
border: 1px solid #969799;
}
-->
</style>

<script language="javascript1.2">
/*
* Highlight Image Script II-
* © Dynamic Drive (www.dynamicdrive.com)
* For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
function borderit(which, color) {
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
which.style.borderColor=color
}
}
</script>
</head>

<body bgcolor="#969799">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td align="center">
<a href=""><img src="noelle_logo.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
<a href=""><img src="noelle_home.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
<a href=""><img src="noelle_aboutme.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
<a href=""><img src="noelle_favz.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
<a href=""><img src="noelle_friendz.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
<a href=""><img src="noelle_emailme.gif" height="103" width="103" border="0" class="borderimage" onMouseover="borderit(this,'#cd005b')" onMouseout="borderit(this,'')"></a>
</td>
<tr valign="top">
<td align="center">
<img id="myimage" src="noelle_logo.gif" height="369" width="369" OnMouseover="window.status='noelles site'; return true;" OnMouseout="window.status='noelles site'; return true;">

<script language="JavaScript1.2">
//Image spotlight effect- By Erik F (die_schlampe@hotmail.com)
//Code enhancements by Dynamicdrive.com
//Visit http://www.dynamicdrive.com for this script

s = 43; // the size of the spotlight
vp = 13; // the visibility percent of the picture
startx = 0; // the top position of your sportlight into the image (on start)
starty = 0; // the left position of your spotlight into the image (on start)

//////////////////////////////////////////////////////////////////
// No need to edit below this line //
//////////////////////////////////////////////////////////////////

var IE = document.all?true:false

function moveL() {
xv = tempX;
yv = tempY;
myimage.filters.light.MoveLight(1,xv,yv,s,true);
}

if (IE&&myimage.filters) {
document.all.myimage.onmousemove = getMou^^^Y;
}

var tempX = 0
var tempY = 0

function getMou^^^Y( e ) {
tempX = event.offsetX;
tempY = event.offsetY;

if (tempX < 0){ tempX = 0; }
if (tempY < 0){ tempY = 0; }
if (t) { moveL(); }

return true
}

var xv = startx;
var yv = starty;
var t = true;

if (IE&&myimage.filters) {
myimage.style.cursor = "crosshair";
myimage.filters.light.addAmbient( 255,255,255,vp );
myimage.filters.light.addPoint( startx,starty,s,255,255,255,255 );
}
</script>
</td>
</tr>
</table>
</body>
</html>

kicker91
05-21-2003, 09:54 PM
TRIPLE THANX!!