IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
2 Pages V   1 2 >  
Reply to this topicStart new topic

Website Building

, help needed !!!


Lyubomyr
no avatar
Member [Level 1]
****
Group: Members
Posts: 56
Joined: 14-October 04
Member No.: 1,744



Post #1 post Nov 16 2004, 03:35 PM
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.
Go to the top of the page
+Quote Post
Fantasia
no avatar
Newbie
*
Group: Members
Posts: 2
Joined: 17-November 04
Member No.: 2,320



Post #2 post Nov 17 2004, 08:33 AM
QUOTE (Lyubomyr @ Nov 16 2004, 10:35 PM)
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.
*




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
Go to the top of the page
+Quote Post
ashiezai
no avatar
King of My WOrld
*********
Group: Members
Posts: 482
Joined: 11-October 04
Member No.: 1,665



Post #3 post Nov 17 2004, 09:55 AM
QUOTE (Lyubomyr @ Nov 16 2004, 03:35 PM)
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">

QUOTE
3 - Adding smilies and other-non pictures stuff.


smiles .. u mean those smilies like this smile.gif ?
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?
Go to the top of the page
+Quote Post
Vacant
no avatar
Advanced Member
*******
Group: Members
Posts: 117
Joined: 4-August 04
From: England, UK
Member No.: 654



Post #4 post Nov 19 2004, 12:22 PM
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:

CODE
[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:

CODE
[br][/br]Visit my site at <a href="http://www.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!
Go to the top of the page
+Quote Post
rovertos
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 45
Joined: 19-November 04
Member No.: 2,337



Post #5 post Nov 19 2004, 01:59 PM
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! wink.gif
Go to the top of the page
+Quote Post
rovertos
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 45
Joined: 19-November 04
Member No.: 2,337



Post #6 post Nov 23 2004, 01:08 PM
...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>
Go to the top of the page
+Quote Post
tiger
no avatar
Newbie
*
Group: Members
Posts: 8
Joined: 12-November 04
From: Canada
Member No.: 2,251



Post #7 post Nov 24 2004, 10:20 AM
the easy way i do it for link descriptions is by using this code:

<a href="url here" title="description of link">blah blah</a>

biggrin.gif nice and easy.
Go to the top of the page
+Quote Post
SmUX
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 37
Joined: 24-November 04
Member No.: 2,414



Post #8 post Nov 24 2004, 04:55 PM
QUOTE (rovertos @ Nov 19 2004, 02:59 PM)
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!  wink.gif


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 :-))
Go to the top of the page
+Quote Post
rovertos
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 45
Joined: 19-November 04
Member No.: 2,337



Post #9 post Nov 29 2004, 09:19 AM
QUOTE (SmUX @ Nov 24 2004, 07:55 PM)
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 :-))
*



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...
Go to the top of the page
+Quote Post
antitrust
no avatar
Member [Level 2]
*****
Group: Members
Posts: 89
Joined: 8-December 04
Member No.: 2,614



Post #10 post Dec 11 2004, 06:53 AM
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 :-))
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 9 noxit 852 21st June 2004 - 08:16 PM
Last post by: wassie
No new   22 -iancovenant- 1,106 9th December 2008 - 06:40 PM
Last post by: Echo_of_thunder
No new   21 Dagoth Nereviar 1,302 11th November 2008 - 03:27 AM
Last post by: Ruben
No New Posts   6 rpgsearcherz 328 8th December 2008 - 12:23 PM
Last post by: minimcmonkey
No New Posts   3 Thunder 525 28th July 2004 - 02:35 AM
Last post by: killer
No New Posts   12 EricDrinkard 1,617 6th August 2004 - 09:29 PM
Last post by: Vacant
No New Posts   0 andyy15 495 29th July 2004 - 03:59 PM
Last post by: andyy15
No New Posts   1 Jarek_Gd 243 24th February 2008 - 12:49 PM
Last post by: rvalkass
No new   21 PnOyKiO 2,168 12th September 2004 - 11:04 AM
Last post by: dreek
No new   15 Dehornos 1,611 2nd January 2009 - 09:04 AM
Last post by: contactskn
No New Posts   11 sonesay 744 12th February 2008 - 07:42 PM
Last post by: sonesay
No new 19 Vacant 1,458 26th September 2004 - 10:13 AM
Last post by: gotcha41
No New Posts   8 djleli 775 28th February 2005 - 04:29 PM
Last post by: bjrn
No new   17 odomike 1,236 27th August 2004 - 06:31 AM
Last post by: odomike
No new   22 Shadow 1,640 12th September 2004 - 07:20 PM
Last post by: Shadow