TinyPortal

Development => Resources => Topic started by: Kazie on April 13, 2009, 05:43:11 PM

Title: wz_tooltip
Post by: Kazie on April 13, 2009, 05:43:11 PM
Hello.. yesterday i started exploring the possibilities with TP on my SMF forum..

and i managed to make 2 blocks for wow, with some code from these forums.. They work fine, however the blocks need wz_tooltip in order to function properly, as the varying information comes from the tooltips.

The tooltip is from here: http://www.walterzorn.com/tooltip/tooltip_e.htm

But i have been unable to make it work so far.

Can anyone tell me where to put the files
and what line, in what file, to put the load script.

i hope you can help me.

Thank you in advance

- Kazie
Title: Re: wz_tooltip
Post by: Kazie on April 13, 2009, 06:21:20 PM
Never mind.. figured it out with the help of Raugturi!

- Kazie
Title: Re: wz_tooltip
Post by: ZarPrime on April 13, 2009, 07:44:17 PM
Glad you got it solved.  topic marked solved. :up:

ZarPrime
Title: Re: wz_tooltip
Post by: shadrach on April 21, 2009, 04:19:24 PM
Any chance you could post the solution for others that know so that it doesnt need to be asked over and over?
Title: Re: wz_tooltip
Post by: Kazie on April 22, 2009, 12:35:15 AM
Off course..

You have 3 files:

tip_centerwindow.js
tip_followscroll.js
wz_tooltip.js

These I have placed in a folder called "Includes" located in the root folder of the forum.

Then open "Themes/Default/Index.template.php" and search for <body> and add this script on a new line:

<script type="text/javascript" src="Includes/wz_tooltip.js"></script>

So it looks like:
<body>
<script type="text/javascript" src="Includes/wz_tooltip.js"></script>


I hope it helped you, it sure did for me.

Sorry for not beeing too good at at explaining this. I hope you can bare with me :)

- Kazie
Title: Re: wz_tooltip
Post by: shadrach on April 27, 2009, 01:26:06 PM
Thanks, just what I needed.
Title: Re: wz_tooltip
Post by: Kazie on April 27, 2009, 11:05:56 PM
You're welcome :)