View Full Version : CSS sound? Also some bugs that need a fixen'

11-24-2005, 10:35 AM
I actually have two questions.

1. Can you code css to play small sound files like beeps or clicks when you roll over a link or a list item? If so, that would be flippin sweet... anybody know where I can find a tutorial on code to do that? Or if it's even possible.

2. my current project is here. (http://www.paradisefx.com/pages/aboutus/tim.html) For some reason i get flickering of the main content of the page whenever i resize my window. This happens only in Firefox on windows. Also, in safari, it doesn't seem to recognize the z-index properly. I have a little flash nav at the top that should flow slightly OVER the content below it. (The nav there now is just a test to see if it would work only the green box is currently working,) it does on firefox, but not safari or IE6 windows. IE just pushes the overflow down, it doesn't let me extend my flash files over anything. Safari handles the overflow correctly, but doesn't go over the content, instead it goes behind it. Like I said before, seems to be mis reading the z index. Any body know what might cause these issues? I validated all my css and it all seems to be fine except apparently i have issues with my xhtml. I don't even begin to know how to correct that.

I would apreciate any help i could get. thanks a lot. My css file is here. (http://www.paradisefx.com/css/steel.css)

P.S. you need flash player 8 (http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash) to get the flash to play correctly.

11-24-2005, 11:59 AM

this should help

11-24-2005, 01:12 PM
Apart from the obvious Flash inclusion errors (there should be a remedy for that: search on ALA for "Flash Satay"), this:

<li><a href="tim.html">Tim Thomas</a></li>
... etc. is just plain wrong. You can only have list items (li) as children of a list (ul in this case); you may have the h2 inside the li, although I can't see any semantic justification for using heading elements here at all.
What was your rationale for using them?

Never mind searching, here it is: Flash Satay: Embedding Flash While Supporting Standards (http://www.alistapart.com/articles/flashsatay/).

11-24-2005, 06:47 PM
Well, using the h2's where i did was just something that was left over. I suppose i should use a class style on them but i already had the h2's and h3 set up to look the way i wanted inside the nav on the left, and just later put them in a list. To be perfectly honest, not much rationalization took place when putting that together, it seemed to work so i just left it. haha. I will look into that flash link right now. Thanks for your help. I will change the heading tags with class styles. and let you know how it works. Thanks. And happy thanks giving.