Click to See Complete Forum and Search --> : ray326
jmcdonald21
06-24-2005, 09:49 PM
ray326 thanks for all your help. Could you check out my markup at file:///home/josh/Desktop/webpgs/gregs_page/greg.htm
and tell me if I could do anything better? I am trying not to cheat and to do things the "right" way. Thanks again.
ray326
06-24-2005, 09:51 PM
No I can't because that's a location on a file system somewhere, not a web URL.
jmcdonald21
06-24-2005, 09:53 PM
Whoops! Heh heh wrong URL heres the right one!
http://www.mjmcdonaldfam.com/gregs_stuff/greg.htm
Sorry.
ray326
06-24-2005, 10:12 PM
There are a few markup glitches; duplicate "dna" ID, open img tag, etc. Do the rollovers on the bottom menu with CSS to eliminate the gratuitous Javascript. Not much to recommend.
jmcdonald21
06-24-2005, 10:14 PM
Could you give a quick example on how to do the javascript rollovers with CSS?
I was always wondering if there was a way to cut down on the scripting?
ray326
06-25-2005, 05:10 PM
This forum is lousy with 'em.
a:link, a:visited { color:#000; background: #fff }
a:hover, a:active { color:#fff; background: #000 }
jmcdonald21
06-28-2005, 10:09 PM
But, can you do javascript image flips with the CSS? Where onmouseover one image is there, while onmouseout another is?
ray326
06-28-2005, 11:16 PM
That's typically done with background images. You can find a huge amount of info on that at A List Apart (http://alistapart.com).