Page 1 of 1
css background music....
Posted: Tue Feb 03, 2004 9:44 am
by gavinbsocom
here is what im trying to accomplish....I want to put a link on a page that goes back to the previous....But When you hover over that back link I want it to say....Ill be back...I have the audio clip from terminator that says it....I just can't get it to do it in my stylesheets....I searched the internet..yet no one has an answer to this yet....Thankyou.
Posted: Tue Feb 03, 2004 11:34 am
by malcolmboston
i dont believe this is possible within CSS, as from what i am aware, there is no audio controller, Javascript can do it though
Posted: Tue Feb 03, 2004 12:41 pm
by Unipus
CSS has no audio controls, malcolm is right. you'll have to use the DOM or ActiveX to do it.
also consider that me or anybody remotely like me will close your page the second I hear that sound play more than once, and never come back.
Posted: Tue Feb 03, 2004 2:46 pm
by malcolmboston
unfortunately unipus statement is correct
also consider that me or anybody remotely like me will close your page the second I hear that sound play more than once, and never come back.
i once built a site that once you entered said hello, this was @ the beginning of my days with html, believe me once you become experienced in web development you realise hpow tacky these things really are
if you are really adament on including this you should create it in flash, you therefore are able to add controls, pause volume etc etc, this way the 'user' has a get out clause in that he can turn off the music if he so desires
just my 2 cents, but i think my opinion will be echo'd through out the board
Posted: Tue Feb 03, 2004 4:46 pm
by gavinbsocom
yah i agree its tacky....and the only reason im asking is cause im in this html class in school....which is complete and utter b.s. and i know as much as the teacher knows and then some....but i wasn't sure about this...and he was so excited when he thought of this idea...so i figured i give it a whirl...I agree with all you guys though....so thanks any who...
Posted: Tue Feb 03, 2004 4:50 pm
by uberpolak
Lol, so why don't you teach the class? I did that in high school several years ago for HTML, and worked out a deal with the teacher where I got 100% in the class for doing it.
Posted: Thu Feb 05, 2004 9:21 am
by gavinbsocom
in that case....if i used javascript to do it....where would i start...anyone got some examples....Can i do it in php??? well an example in java would be nice..Thankyou.