The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Tooltip script

3 posters

Go down

Tooltip script Empty Tooltip script

Post by Decibel December 10th 2007, 7:13 pm

Little script I made to display 1 tip for everyday of the month. I left my text in as an example, so you will have to edit. As far as appearance, I placed mine in a new portal block, placed in header, with no table. If your wishing to space it properly you can use  (as many as you like ex.    ...) before the text.(" text text text"). In testing, in putting them before the document write, the script won't work.(Need to be placed before the text string) Also refrain from using " and ! in the text as well, as the script did not work with those either.
Code:
<script language="JavaScript">

var date    = new Date().getDate();
var quote  = new Array();
 quote[1]  = "Welcome to a new month. Hope its a good one.";
 quote[2]  = "Like our website? Tell a friend about us in our Refer Us page.";
 quote[3]  = "Register today and start posting in our Forums.";
 quote[4]  = "Photo's to share? Upload them in our Photo gallery.";
 quote[5]  = "Have an idea or suggestion for us? Share it with us.";
 quote[6]  = "Check out our Radio Player powered by Iceberg Radio playlists.";
 quote[7]  = "Have Lyrics to share? Post them in our Your Lyrics Forum.";
 quote[8]  = "Check out our Cummunity Lounge. Mingle with friends, have a good time.";
 quote[9]  = "Need help? Try our main support forum at http://help.forumotion.com/";
 quote[10]  = "Promote your band, new release, or music here.";
 quote[11]  = "Grab a coffee and discuss anything general about music and songs in our Music Lounge.";
 quote[12]  = "Guitars, Drums..Tell us about yours in our Instruments Forum.";
 quote[13]  = "Pedals, Amps, Woofers, Mixers. Discuss stereo and Production Equipment in our Forum.";
 quote[14]  = "Tell us about your favorite Genre of music, here at Decibels.";
 quote[15]  = "Important date to remember? Mark it down on our Calendar page.";
 quote[16]  = "Have a favorite Artist? Tell us about it here.";
 quote[17]  = "Check out our many rss Music feeds. Great reading, located in our The Times page.";
 quote[18]  = "Thanks for visiting, and we hope you return soon.";
 quote[19]  = "Check out our top 10 Posters on our Top 10 page. Got what it takes?";
 quote[20]  = "Rock, Pop, Country, Jazz, Reggae,.. we discuss it ALL here.";
 quote[21]  = "Thank you for visiting, and keep that Music coming.";
 quote[22]  = "Want lively discussion on all aspects of Music? Get it here.";
 quote[23]  = "Like to Chat? Meet up in our Chatbox, located at the bottom of Forums page.";
 quote[24]  = "Wanting to affiliate? You can email or pm me with details. Regards, Decibel";
 quote[25]  = "Let us know what you think. Feedback form located on Refer us page.";
 quote[26]  = "Create a free Usergroup here, and expose your Music.";
 quote[27]  = "The Management Team - Administrators: Admin, Decibel Moderators: dthmtl_MaNiAc_";
 quote[28]  = "New York, London, Paris, Munich, everybody talk about Decibels music.";
 quote[29]  = "Free arcade by Ultimate Arcade, located on the Arcade page.";
 quote[30]  = "Interested in helping? pm an Admin or Moderator and let us know.";
 quote[31]  = "Wheee, end of the month. Tell us how your feeling in our Community Lounge.";

</script>

<script language="JavaScript">
document.write(quote[date]);
</script>
Enjoy.
Decibel
Decibel
Forumember

Male Posts : 201
Reputation : 10
Language : english
Location : Canada

http://decibels.forumsmusic.com

Back to top Go down

Tooltip script Empty Re: Tooltip script

Post by Random January 1st 2008, 4:58 pm

Thank you very much ^^ I have been looking for one of those Very Happy
Random
Random
Forumember

Posts : 338
Reputation : 5
Language : English

http://www.FunChat.qforum.biz

Back to top Go down

Tooltip script Empty Re: Tooltip script

Post by Raph95 January 1st 2008, 5:34 pm

And why can't we see the example? I don't understand this well
Raph95
Raph95
Forumember

Male Posts : 798
Reputation : 3
Language : English, Serban, Croatian, Bosinan :)
Location : Nis, Serbia

http://TMNT-Forum.com

Back to top Go down

Tooltip script Empty Re: Tooltip script

Post by Decibel January 1st 2008, 5:54 pm

What do you mean by example?
Decibel
Decibel
Forumember

Male Posts : 201
Reputation : 10
Language : english
Location : Canada

http://decibels.forumsmusic.com

Back to top Go down

Tooltip script Empty Re: Tooltip script

Post by Raph95 January 1st 2008, 7:13 pm

Raph95
Raph95
Forumember

Male Posts : 798
Reputation : 3
Language : English, Serban, Croatian, Bosinan :)
Location : Nis, Serbia

http://TMNT-Forum.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum