Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Front-end Tooltip
« previous
next »
Print
Pages: [
1
]
Author
Topic: Front-end Tooltip (Read 4098 times)
tmcgee123
Newbie
Posts: 21
Front-end Tooltip
«
on:
May 17, 2009, 23:00:36 »
I have tried using mosToolTip in the front-end but the tip doesn't display. I've included overlib and the hidden overDiv. What am I missing? Is there an easy way to debug this?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Front-end Tooltip
«
Reply #1 on:
May 17, 2009, 23:42:55 »
The usage of tooltip is very simple:
First initialize tool tips:
mosCommonHTML::loadOverlib();
Then echo your tips in the place where you wish to be displayed:
echo mosToolTip('test message');
Works in both front-end and back-end.
Note:
The Tool tip will generate javascript error if the text message is written in multiple lines or it is not well escaped (very often we do corrections to the language files submitted by translators due to this).
«
Last Edit: May 17, 2009, 23:45:00 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
tmcgee123
Newbie
Posts: 21
Front-end Tooltip - SOLVED
«
Reply #2 on:
May 19, 2009, 05:13:38 »
Thanks for your response. I should have said that I'm using Elxis 2009 and the page not working with tooltips also uses tabpane.js vis mosTabs. I noticed tabpane.css uses z-indexes; maybe that's the problem.
Actually, various front-end templates show the tooltips in various locations, some are off of the page. So it's a problem with relative page elements and css. Now fixed.
«
Last Edit: May 19, 2009, 05:28:44 by tmcgee123
»
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Front-end Tooltip