How to I know the "host" for my iPage web hoster? like for filezilla?

Click Here To View All Answers...

First of all How to I know the "host" for my iPage web hoster? like for filezilla? Thanks for any answer. My other question... I have a thin frame that only displays one image and plays a background sound. I'm actually going about things in an odd fashion but I don't know javascript too well and I'm looking for a double effect..

So I have an image that is a link to an identical page where there is no background sound and with a "music off" type image. A simple concept for turning the music on and off.. while having the button image change as well. Wouldn't you know it.. I go about this is the most simplistic way I can imagine and I run into a problem.. a very odd one..

When I try to right align the image on the page that has the background music I end up with a space above the image.. somehow due to my <EMBED> and <NOEMBED> statements that play the BGSOUND for NS and IE respectively. I have tried moving things all around but nothing seems to be working for me. The closest I have come to a solution is adding a second useless <body> tag.. which almost looked like it worked in Dreamweaver's design view but when I previewed the page I still had this large space..

And pretty pretty please, unless you want to write the javascript for me, don't just tell me what a lame technique I'm using for switching sound on and off.. I'm just looking for a fix..



Comments (10)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some poking around and get back to you if I discover an answer. You should email the people at iPage as they probably can help you..

Comment #1

Well that really is a shame but is simple cannot use flash.. no flash allowed.. not going to happen.. ever..

So unless you have any helpful advice aside from advocating flash.. well, you are free to go. ;p..

Comment #2

It's ok Bas11, I'm not trying destroy any ideas you might.

Have... an easy one you could inform visitors, is to.

Click the Stop button within the browser toolbar to mute.

The sound and then reload button to play the sound again...

Comment #3

Well that is a little closer to the advice I was looking for.. but I'm actually trying to move past the whole "browser stop button" issue..

I realize now I will probably end up using javascript becuz somewhere else out there on the internet is a java forum where some eager little java geek will be just dying to get his code into my iPage site and also solve my problem..

I still haven't heard anything about the possiblity of fixing my very simple issue. It it impossible... does embedding a sound file HAVE to create space in the body of my html document. Could this space possible somehow come after the image, leaving it in place. Is anyone willing to take a stab at it or give me some advice on the actual topic?..

Comment #4

I have an idea - it may seem stupid but it'll work.

Put this between the <head> tags.


<! Begin.

Var MSIE=navigator.userAgent.indexOf("MSIE");.

Var NETS=navigator.userAgent.indexOf("Netscape");.

Var OPER=navigator.userAgent.indexOf("Opera");.

If((MSIE>-1) || (OPER>-1)) {.

Document.write("<BGSOUND SRC=*******.wav LOOP=INFINITE>");.

} else {.

Document.write("<EMBED SRC=*******.wav AUTOSTART=TRUE ");.

Document.write("HIDDEN=true VOLUME=75 LOOP=TRUE>");.


// End >.


Your wave script is not browser friendly - use the above.


Now make a link on your main page that says mute - link it.

To a second page with the same contense as your main page.

But make this page without sound..

It works.


Comment #5

By the way on the mute page make a link that says "sound".

And link it to the sound page..

You could also change the volume the same way - linking.

To different pages with other parameters like:.

Document.write("HIDDEN=true VOLUME=25 LOOP=TRUE>");.

Well I think this is closest you'll get to managing sound.

From within the browser..


Comment #6

Seem stupid? Thats the smartest thing you've come up so far!! I'll see if it works out for me.. I imagine when viewed in netscape it'll still knock my image down a line as the embed stuff goes in the body.. but even if that is the case I don't care.. Netscape sucks and people that use it just have to deal with pages lookin' funky..

I'll let you know of it works out...

Comment #7

Thanks Bas, I'd like to see it in action.

Good luck!.


Comment #8

I still got a few animated gifs to do and such on this draft but when I put this iPage site up in it's temp space I'll throw a link on this thread for ya. Thanks for the code.. I actually read a similar java browser detecting one on the net while I was looking for an answer but I then came to my simple idea of switching pages and then ran into the stupid formatting bug. Anyways.. it still doesn't work in Netscape but that might just be my bad as it claims to be loading the plugin.. I wouldn't know if my Netscape 7 works..

Anyways I hope you don't use Opera cuz I still can't make the iPage site work in Opera.. frikken table puts images whereever the hell it wants...

Comment #9



<title>Music ON</title>.

<body bgcolor="#808080" leftmargin="0" topmargin="0">.

<EMBED src="music.wav" autostart=true loop=true volume=75 hidden=true>.


<BGSOUND src="music.wav" loop="-1">.




Hmm, the above example is missing the </head> before <body>..

This is how I have got it to work before: The <EMBED> goes within the <HEAD> ... </HEAD> structure, which also means that the page validates as well..

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">.



<title>Music ON</title>.

<EMBED src="music.mid" autostart="true" loop="1" volume="75" width="0" height="0"></EMBED>.



<img src="MUSICON.gif" width="80" height="40" border="0" alt="Music Loaded" title="Music Loaded">.



Comment #10

Curious as to why flash was a no-go? Flash is supported very widely, and would have taken about half as much time to get working as your current solution..

Not that creating tons more work for yourself doesn't have it's advantages... like you may learn that Java and JavaScript are two completely different things. You might also learn not to insult those of us who have taken the time to learn enough JavaScript to help others out..

Finally, the embed tag does seem to be a block element, try putting this into the tag:.

<embed style="display: inline">.

Or use a transparent gif/ <br> to even things out when you don't have an embed tag. You could use absolute positioning to place the div. You could put the embed at the end of the page....

Using this I don't see the space.....

Comment #11

This question was taken from a support group/message board and re-posted here so others can learn from it.