1
davidl2
Tooltips
  • 2004/12/8 22:28

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


How easy is it to implement tooltips in css - so they can be added easily to any XOOPS content modules? (News/Sections/WF-Sections/etc?)

I remember seeing a piece on a site ages ago - but it seems to have vanished :(

Any help appreciated :)

2
davidl2
Re: Tooltips
  • 2004/12/9 18:18

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


bump

3
studioC
Re: Tooltips
  • 2004/12/9 18:56

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


it depends on what you want to do ..

i found a nice dhtml onhttp://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

perhaps this helps a bit ?
i did it a year ago on one of my site but added some things per hand, dunno if there is the way to include a script generally in /includes ?for i'm too stupid with php

michael


edit : i included the script in theme.html and added the onMouseover manually inside my link or page element that contains the tooltip

4
Draven
Re: Tooltips
  • 2004/12/9 20:39

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


I have a class that I designed for a module I'm currently working on that allows you to add a tool tip to any piece of text using a very simple function. It's not really ready for use outside the module it's currently in but I'll see about making it more usefull for any situation, and maybe add a SMATRY function for use in templates, and release it for others to use.

It uses the JS file from http://webfx.eae.net/dhtml/helptip/helptip.html

5
carnuke
Re: Tooltips
  • 2004/12/9 20:50

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


If you look at the smarFAQ help files here http://docs.xoops.org/help/sfaqh/index.htm you will see tool tips by overlib. I have a class files for this as well. Ive seen this used in other php scripts very successfully.

6
davidl2
Re: Tooltips
  • 2004/12/9 21:32

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I remember seeing one site - perhaps one of the Blog module sites? - which had instructions with inserting tooltips via CSS commands.... but it seems to have gone.

Anyway - there's some very good ones there for me to check out, thank you all for your help on this!

Cheers

David

7
Bassman
Re: Tooltips
  • 2004/12/9 22:11

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Have a look here, you might find this is what you want.

8
davidl2
Re: Tooltips
  • 2004/12/9 22:14

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


That is more like it! Looks like there should be very little space overhead, unlike some of the others...

Many thanks indeed!