invisible layers
Does anyone know how to do invisible layers? What I want to do is have an image in a cell with text in a layer underneath that's invisible. When you go to the text version, the image is stripped out and the layer with the text in comes forward?
The coding for stripping out images is already in place and if there's any white text the code changes it to black so there shouldn't be a problem with the layer.
Any help appreciated
Jo
detox posted this at 13:40 — 26th February 2002.
They have: 571 posts
Joined: Feb 2001
sounds like you are simply trying to hide or change the visibility of the layer. Is that right or Have I got this completely wrong?!!!
jocanning posted this at 14:03 — 26th February 2002.
They have: 22 posts
Joined: May 2001
Nope, you've got it right!
Jack Michaelson posted this at 14:52 — 26th February 2002.
He has: 1,733 posts
Joined: Dec 1999
This should help you out:
<head>
<script language="javascript">
function JoCanningIsCool()
{
jocanning.style.visibility="visible"
}
</script>
</head>
<body>
<img src="JoCanningImageSource" onmouseover="JoCanningIsCool()">
<div id="jocanning" style="visibility:hidden">YourText</div>
</body>
Shakespeare: onclick || !(onclick)
jocanning posted this at 15:18 — 26th February 2002.
They have: 22 posts
Joined: May 2001
I'll give it a go,
Thanks
Jo
Wil posted this at 16:01 — 26th February 2002.
They have: 601 posts
Joined: Nov 2001
Simply add visibility=hidden to the object you're trying to hide.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.