HTML/Website help needed - fast!

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

HTML/Website help needed - fast!

Postby Godly Paladin » Wed Apr 11, 2007 2:31 pm

Hey all, I'm throwing together a really, really quick little web page to surprise my mom tomorrow for her birthday - I'm going to set it as her browser homepage. Like I said, fast 'n dirty.

All I want is a photo arrangement I've made in Photoshop and a bit of mp3 music in the background.

I've got the photo; now I need to do the music. Can anyone help me out?
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Mithrandir » Wed Apr 11, 2007 3:00 pm

Here's what I would use...

Code: Select all
<embed
src="myfile.mp3"
width="1"
height="1"
autostart="true"
mimeType="audio/mpeg"
name="mysound"
id="mysound"
enablejavascript="true" />



Just change myfile.mp3 to whatever the name of the sound effect is.
HIH!
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Godly Paladin » Wed Apr 11, 2007 5:06 pm

Thanks!
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Mithrandir » Wed Apr 11, 2007 5:07 pm

Waves are WAY bigger than MP3. You don't have some place you could stick it?

I would consider a "low quality" mp3, then.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Godly Paladin » Wed Apr 11, 2007 5:15 pm

I sized down the JPG - it was 5 megs - to a reasonable quality and was able to get the MP3 on the server.

I'm trying the code now...
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Mithrandir » Wed Apr 11, 2007 5:16 pm

Great. Let me know if it works out.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Godly Paladin » Wed Apr 11, 2007 5:29 pm

Huzzah to the heavens! It worked! Thanks for the snappy help, Mithrandir.
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby Mithrandir » Wed Apr 11, 2007 5:30 pm

np. Good luck!
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 225 guests