se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#17791 - 07/09/08 09:08 PM Where's the code for the tooltip
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
I know the tooltip feature is used when you first start out creating a character (ie Paladin, Mage, etc..) and it gives a description of the added bonuses with each class.

But I'm having problems locating the actual tooltip code which calls on this.

I've never seen or used the code for tooltip. Which file(s) is the tooltip code located. I've already found the /script/tooltip.js file but I'm looking for the files that actually use the tooltip \:\)

Top
#17792 - 07/09/08 10:05 PM Re: Where's the code for the tooltip [Re: Evilman]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
The tool tip is set in the primary template. The code is in that js file. Its called on in the create char template or whatever it is called.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17795 - 07/09/08 10:13 PM Re: Where's the code for the tooltip [Re: AnmanIndustries]
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
Hi Anman, I found it in the user_newchar.php file but it's odd, there's no code, and it's calls on it but it doesn't specify that it's a tooltip. It looks like a regular call function, here's the code below. It calls on <b>{{classdesc}}</b> but there's no mention it's a tooltip. Any ideas \:\/

Edited by Jamin: Quit posting entire files inline.


Edited by Jamin (08/14/08 07:27 PM)
Edit Reason: Grr.

Top
#17796 - 07/09/08 10:15 PM Re: Where's the code for the tooltip [Re: Evilman]
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
And in the primary.php file, it only shows the tooltip as

<script type="text/javascript" src="scripts/tooltip.js"></script>

Top
#17797 - 07/09/08 10:16 PM Re: Where's the code for the tooltip [Re: Evilman]
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
I think what I'm trying to say is how is it that it knows that it's a tooltip function call in the user_newchar.php with no mention it's a tooltip call. Hope I'm making sense, I'm longwinded sometimes \:D
Top
#17798 - 07/09/08 10:20 PM Re: Where's the code for the tooltip [Re: Evilman]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Oh I totally forgot that its all parsed into the template.

Find it in your users.php file.

And dont triple post.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17799 - 07/09/08 10:36 PM Re: Where's the code for the tooltip [Re: AnmanIndustries]
Evilman
Grape Nuts


Registered: 06/15/08
Posts: 46

Offline
Sorry for triple posting, I just wanted to seperate the files so you could see what I mean. I'll try to post everything in one post the next time.

Ok, I have the users.php file below but I can't see the tooltip. Can you help point it out to me please \:\)

Edited by Jamin: Stop failing.


Edited by Jamin (08/14/08 07:25 PM)
Edit Reason: Fail.

Top
#17802 - 07/09/08 11:52 PM Re: Where's the code for the tooltip [Re: Evilman]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
No. Look for it yourself. Its right there and I even found it. Im not your slave. I told you its in that file. Look.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17907 - 08/14/08 07:03 PM Re: Where's the code for the tooltip [Re: Evilman]
Sephiroth
Cheerios
*****

Registered: 11/20/07
Posts: 131
Loc: The Lifestream

Offline
http://se7enet.com/forums/ubbthreads.php/ubb/showflat/Number/17812/page/1

Do us all a favor and read that, evilman.

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo