Frontpage

  • Thread starter Thread starter Guest
  • Start date Start date
<a href="LINK GOES HERE" onMouseOver="imageSwap(document.images.nav_2, 'FIRST
PICTURE')" onMouseOut="imageSwap(document.images.nav_2, 'ORIGIONAL
PICTURE')"><img name="nav_2" src="ORIGIONAL PICTURE" >

Hope this helps. I know this works for pictures but I dont know about text.
 
Clint said:
<a href="LINK GOES HERE"
onMouseOver="imageSwap(document.images.nav_2, 'FIRST PICTURE')"
onMouseOut="imageSwap(document.images.nav_2, 'ORIGIONAL
PICTURE')"><img name="nav_2" src="ORIGIONAL PICTURE" >

Hope this helps. I know this works for pictures but I dont know about

I would suggest a hidden <div>

In <head> section
<script type="text/javascript>"
function hideit(elid)
{
e = document.getElementById(elid).style
e.display = (e.display != 'block') ? "block" : "none"
}
</script>

In <body>
<a onmouseover="hideit('conts');onmouseout="hideit('conts')>Contents</a>

<div id="conts" style="display:none">
contents 1
contents 2
contents 3
contents 4
</div>
 
Trevor said:
I would suggest a hidden <div>

Of course, if you want a little box to appear, that is different.

<script type="text/javascript>"
function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
if (scaleType == 'percent')
{ h = (h * screen.availHeight) / 100
w = (w * screen.availWidth) / 100 }
if (x == 'center')
x = (screen.availWidth - w) / 2
if (y == 'center')
y = (screen.availHeight - h) / 2
options += ',width=' + w + ',height=' + h
+ ',left=' + x + ',top=' + y
var newWindow = window.open(url, name, options)
newWindow.focus()
}
</script>

<a href=""
onmouseover="spawnJimcoPopup
('contents.html','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no',
'180','200', 'center','500','pixel');return
false;">Contents</a>
Then put your contents in contents.html

You will have to close this window with the X in the top right corner
 
Back
Top