Author Topic: need help with web page  (Read 1282 times)

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« on: November 23, 2001, 06:19:00 PM »
okay i figured out how to play a sound file on my page when it opens.

how do i go about making a button (or text group) that can be clicked to make it turn off?

i am using html, not a web page editor thingy

thanks in advance

Offline Kieran

  • Platinum Member
  • ******
  • Posts: 4119
need help with web page
« Reply #1 on: November 23, 2001, 07:05:00 PM »
The tag is:

<embed src="sound.mid" console="true" width="128" height="128">

You can manually adjust the size of the box by changing the height and width attributes.


Forgot to close my quote!

[ 11-23-2001: Message edited by: Kieran ]

Offline Kieran

  • Platinum Member
  • ******
  • Posts: 4119
need help with web page
« Reply #2 on: November 23, 2001, 07:08:00 PM »
FWIW, you can go to: World Wide Web Consortium and get about any HTML information you could ever use. There is info on Javascript, CSS, PERL, etc. Check it out.

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #3 on: November 23, 2001, 08:22:00 PM »
thx man <S>!

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #4 on: November 23, 2001, 09:09:00 PM »
hmm cant seem to get it to work

says it cant download the plugin properly

there is the outline of a button, but it dont work  :(

i forgot to mention this page is not on a web server, just on a local computer in a notepad .htm file

maybe that makes a difference?

Offline Kieran

  • Platinum Member
  • ******
  • Posts: 4119
need help with web page
« Reply #5 on: November 23, 2001, 09:11:00 PM »
What browser type and version are you running? You should be able to d/l the updates to whatever browser it is and solve that prob. The code is right, your browser sounds like it might be missing a plugin.

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #6 on: November 23, 2001, 10:28:00 PM »
duh, i wasnt running a current version of internut exploder

am now, no plug in error

but still not button and no worky

think we are getting close  :)

thx for the continual help

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #7 on: November 23, 2001, 10:45:00 PM »
k i got the image to show

you can click on the play buttons etc, they change in appearance,,,but the damn song wont stop...lol

i see that the file extension is .mid
mine is .mp3

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #8 on: November 23, 2001, 11:21:00 PM »
this is retarded

okay the image is right

the buttons look like they work

BUT

i can only stop pause or play the song after it runs through once first

my tag for the sound file is:
<BG SOUND SRC="websong.mp3" LOOP="1">

i have tried with and without quotes around 1

the closing tag is

<embed src="websong.mp3" console="true" width="156" height"128">

any ideas?
i ahve tried removing the loop part of the tag...no good

Offline SOB

  • Plutonium Member
  • *******
  • Posts: 10138
need help with web page
« Reply #9 on: November 23, 2001, 11:37:00 PM »
Get rid of the BGSOUND tag altogether.  All you should need is the embed tag.


SOB
Three Times One Minus One.  Dayum!

Offline Tac

  • Platinum Member
  • ******
  • Posts: 4085
need help with web page
« Reply #10 on: November 24, 2001, 12:02:00 AM »
They are 2 different tags loser.

The BGsound will make that music file play as part of your background. It will follow the number of loops and thats it.

The embed src tag is a "stand alone" music/avi playing tag with its own start/stop buttons.

Use the embed tag always, that bgsound thing is EXTREMELY annoying to viewers, they have to SIT there and suffer through it...or press BACK and leave your page, never to return.

If ye need any help, let me know.

Check out my "baby" http://home.cfl.rr.com/wraithfleethq

 :D

[ 11-24-2001: Message edited by: Tac ]

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #11 on: November 24, 2001, 01:22:00 AM »
okay

thanks tac this is starting to make sense

you know what my sound file is, tag it for me.

i changed both my tags to the "embed" thing and sitll have the same problem

btw, where the hell is the bathroom in the big ship of yours?  mmmmmmmmmmmmm....nevermind

Offline loser

  • Silver Member
  • ****
  • Posts: 1642
need help with web page
« Reply #12 on: November 24, 2001, 01:28:00 AM »
holy crap am i ever dumb, just after i posted my last message i had a thought.

maybe this thing is a stand alone tag

well anyway after changing my pants because of tac's huge assed lavatory free space ship (guaranteed it has a glass tail) everything works great.

thanks all for your help, i really appreciate it
<S!>

Offline Kieran

  • Platinum Member
  • ******
  • Posts: 4119
need help with web page
« Reply #13 on: November 24, 2001, 08:19:00 AM »
Sorry to take so long to get back, just got out of bed.

Yup, my fault, I didn't make myself very clear. You had me late at night, and while I suspected you were using bgsound, I assumed you would know that once you used embed you would dump bgsound. My bad (and I teach this stuff!).

Offline Tac

  • Platinum Member
  • ******
  • Posts: 4085
need help with web page
« Reply #14 on: November 24, 2001, 10:26:00 AM »
In the future we use the airlocks loser.

 :D