Jump to content
xisto Community
Sign in to follow this  
Lyubomyr

Website Building help needed

Recommended Posts

If you know how to do these then pls help me out: 1 - Putting songs for the site to play, like if you go to A section you hear X song, you go to B section you hear Y song, and i don't mean by clicking a link, i want it to automaticly play the song. 2 - Putting help on a hover button, like a smell bubble telling you what is in that link. 3 - Adding smilies and other-non pictures stuff.

Share this post


Link to post
Share on other sites

If you know how to do these then pls help me out:

1 - Putting songs for the site to play, like if you go to A section you hear X song, you go to B section you hear Y song, and i don't mean by clicking a link, i want it to automaticly play the song.

2 - Putting help on a hover button, like a smell bubble telling you what is in that link.

3 - Adding smilies and other-non pictures stuff.

<{POST_SNAPBACK}>


In order to play background music on a website you need the use the code just below the <body bgcolor line adding (<bgsound src="songname.mp3/wav">) use that code after the bgcolor code and different one each page to play a new song when a new page is opened

Share this post


Link to post
Share on other sites

2 - Putting help on a hover button, like a smell bubble telling you what is in that link.



i think what u mean is using alt tag
just like this :

<img src="picture.gif" alt="the text u will see when the cursor points to the picture">

3 - Adding smilies and other-non pictures stuff.

smiles .. u mean those smilies like this :( ?
this is a picture and u save the files and put the tag inside ur html:
<img src="smilies.gif">

what do u mean by other non-pictures stuff ??
word. just type any words will do .... wat r u asking for?

Share this post


Link to post
Share on other sites

Note that the alt tag only works for images. If you want a tooltip over some text instead, enclose it in the acronym tag, as follows:


[br][/br]These are some extremely small <acronym title="buzzword, doesn't really mean much">widgets</acronym>.[br][/br]

This will enable an explanation when the word "widgets" is hovered over. If you want to put a similar explanation for a text LINK (instead of just a non hyperlink) use the following:


[br][/br]Visit my site at <a href="web-site.tk; title="this is a great site">web-site.tk</a>.[br][/br]

So basically, adding "title" to many elements will produce a tooltip, or an explanation of the link which will appear when the item is hovered over. Hope it helped!


Share this post


Link to post
Share on other sites

I have one advice for you - if you use sound in your website make sure that you provide visitors with a way to turn it off, since many people are annoyed bysites with music, especially people who surf the web at work - like me! :(

Share this post


Link to post
Share on other sites

...As for the hover functionality, what you have to do is dynamically change the src of the image onMouseOver and then restore it onMouseOut.E.g.<img src="whatever..." id="myImage" onMouseOver="java script:hover('in')" onMouseOut="java script:hover('out')">.........<script>function hover(String s){if (s == "in"){document.myImage.src="activeImage...";} else if (s == "out"){document.myImage.src="normalImage...";}}</script>

Share this post


Link to post
Share on other sites

I have one advice for you - if you use sound in your website make sure that you provide visitors with a way to turn it off, since many people are annoyed bysites with music, especially people who surf the web at work - like me!  :(


Yeah, the simplest way to do this is to use an iframe hidden somewhere and a page in that window with the music playing...simply make it so when you click a specific link, it opens in the iframe and opens the file "about:blank"...well, it's how I'd do it anyway (if I dared actually play music in a web page...it's so n00bish :-))

Share this post


Link to post
Share on other sites

Yeah, the simplest way to do this is to use an iframe hidden somewhere and a page in that window with the music playing...simply make it so when you click a specific link, it opens in the iframe and opens the file "about:blank"...well, it's how I'd do it anyway (if I dared actually play music in a web page...it's so n00bish :-))

<{POST_SNAPBACK}>


Be careful with those iframes... I know Netscape didn't support them and I think Firefox doesn't support them now. <iframe> is IE proprietary, you'd better stick with the standards...

Share this post


Link to post
Share on other sites

Yeah, the simplest way to do this is to use an iframe hidden somewhere and a page in that window with the music playing...simply make it so when you click a specific link, it opens in the iframe and opens the file "about:blank"...well, it's how I'd do it anyway (if I dared actually play music in a web page...it's so n00bish :-))

Share this post


Link to post
Share on other sites

In order to play background music on a website you need the use the code just below the <body bgcolor line adding (<bgsound src="songname.mp3/wav">) use that code after the bgcolor code and different one each page to play a new song when a new page is opened

Share this post


Link to post
Share on other sites

1 - Putting songs for the site to play, like if you go to A section you hear X song, you go to B section you hear Y song, and i don't mean by clicking a link, i want it to automaticly play the song.

Do you want it to play non stop while you go to differant pages on your website? If so i can send you the script for that on aim A Random Dot
and if you would like it just to play on one page automaticly once you go on then the script would be:
<embed src="http://source.mp3" autostart=true>

-duckie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.