Can I have some HTML help here, please?

I see that on several sites when you move your mouse over a link it changes color; how do you do this? I know all about Java event-handlers, but I can't see how to do it. Please email me the code for it at (url="http://"mailto:zac@v-west.in2home.co.uk")mailto:zac@v-west.in2home.co.uk(/url)zac@v-west.in2home.co.uk

OK Here is the HTML

<<csobj t="Button" ht=""><a href="++++++++++" onmouseover="return CSIShow(/CMP/'button',1)" onmouseout="return CSIShow(/CMP/'button',0)" onclick="return CSButtonReturn()"><img src="*"name="button" border="0"></a></csobj></td>
</tr>

For the *********'s put in your image

for the +++++++++'s put the link to the page.

------------------
Admiral Zombat
http://www.cerolia.pyar.com

"Im only insane if youre insane, darnit!!"

Try using Dreamweaver 3...it automatically does it for ya 🙂

I don't know how I'm going to live without it when my trial runs out (only 12 more days :frown: ). If you like WYSIWYG editors, I would say it is the best...the only bad thing is the huge windows...it clutters my screen at highest resolution (1024 x 768)

------------------
Kraig Hill
--------------------------------
"It's better to burn out then to be forgotten" - Neil Young
--------------------------------
http://www3.cybercit...lyde/index.html

You could always just delete the invisible file that stores how long you've had it

------------------

Quote

Originally posted by Machiavelli:
**You could always just delete the invisible file that stores how long you've had it
**

Yeah, but the problem is finding the invisible files... 😉 😉

------------------
From Left Hand Phoenix of the AWL
(url="http://"http://www.awl.cjb.net/")http://www.awl.cjb.net/(/url)
(url="http://"http://www.saturn.spaceports.com/~awl/halo/index.html")Halo(/url), (url="http://"http://www.saturn.spaceports.com/~awl/home.html")Homeworld(/url), (url="http://"http://www.saturn.spaceports.com/~awl/d2/index.html")Diablo II(/url), (url="http://"http://www.saturn.spaceports.com/~awl/terminus/termhome.html")Terminus(/url).

If the link is just text, you can use stylesheets. Here what you need in the stylesheet itself:

A:hover { color: #A5E4FF } (or whatever color you want)

I forgot the code to insert into the header for your html file to use the stylesheet, ask someone else.

------------------
$ take -over=world
bash: take: command not found

AIM: obormot345

The l33t use simpletext and notepad.

------------------
tear it down / AIM: G2uidehatr

Quote

Originally posted by Obormot:
**If the link is just text, you can use stylesheets. Here what you need in the stylesheet itself:

A:hover { color: #A5E4FF } (or whatever color you want)

I forgot the code to insert into the header for your html file to use the stylesheet, ask someone else.
**

If you need an operating example of how to get that to work, I have it enabled on my site (c'mon, did you really expect HTML advice without me promoting my site? Sheesh...). Link is at the bottom.

Also: that only works for IE. This is the single feature that IE has that I wish NS had. 🙂

------------------
EVula
(url="http://"mailto:evula@evula.com")mailto:evula@evula.com(/url)evula@evula.com

Quote

Originally posted by Admiral Zombat:
**OK Here is the HTML

<<csobj t="Button" ht=""><a href="++++++++++" onmouseover="return CSIShow(/CMP/'button',1)" onmouseout="return CSIShow(/CMP/'button',0)" onclick="return CSButtonReturn()"><img src="*"name="button" border="0"></a></csobj></td>
</tr>

For the *********'s put in your image

for the +++++++++'s put the link to the page.

**

That's not HTML. that's nowhere close to validating.

------------------

Quote

Originally posted by Admiral Zombat:
**OK Here is the HTML

<<csobj t="Button" ht=""><a href="++++++++++" onmouseover="return CSIShow(/CMP/'button',1)" onmouseout="return CSIShow(/CMP/'button',0)" onclick="return CSButtonReturn()"><img src="*"name="button" border="0"></a></csobj></td>
</tr>

For the *********'s put in your image

for the +++++++++'s put the link to the page.
**

That will never work. Anyway, all that <csobj> stuff is cyberstudio only, plus you are callin cyberstudio routines, which are only included in cyberstudio documents and are also under copyright.

For image rollovers you can use the following code:

in <head> section:

<script language="JavaScript1.2">
<!--

rollover1 = new Image;
rollover1.src = "/my/imageover.jpg"; //Do this for each image, using rollover2 etc

normal1 = new Image;
normal1 = document.rolloverimage1; //Do this for each image you have. document.<
imagename

//-->
</script>

Now a sample image tag:

<img src="/my/image.jpg" name="rolloverimage1" onMouseOver="document.rolloverimage1 = rollover1" onMouseOut="document.rolloverimage1 = normal1">

I hope that works. The rollover will only work inside an <a> tag in netscape.

For a text rollover you can only do it in IE, in the <head> section:

<style type="text/css">
a:hover {color: #CCCCCC}
</style>

Or just put the a:hover bit in your site stylesheet.

I think you may be able to get it to work in NS with a workaround method, but it is very hard.

------------------
--blackhole
(url="http://"mailto:blackhole@mac.com")mailto:blackhole@mac.com(/url)blackhole@mac.com

Thanks a million (particularly you, blackhole)! I will put the code into my page tonight... (i.e. monday, 17th July) 🙂

------------------
Hornet
------------------
(url="http://"HTTP://WWW.v-west.in2home.co.uk/zac/zac.html")My cool EV/O website(/url)
Email:
(url="http://"mailto:zac@v-west.in2home.co.uk")mailto:zac@v-west.in2home.co.uk(/url)zac@v-west.in2home.co.uk