FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Tooltip for Javascript or CSS

 


AOP Web Development
Hi can you help me how to work on tooltip will just a fixed tooltip, which wil display after the in-line on the textbox. but it should be float.

let ex.



Code:


 -----------------------------    <----------------------------
| this is a sampletextbox  |     | THE TOOL TIP SHOWS |
 -----------------------------      | SUPPOSE IN HERE       |
                                              -------------------------


something like that....

i hope you can give some tips or how to work on css and javascript
alalex
There is a great and beatiful solution using jQuery Tooltip
Here is the URL:
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/

You need to have jquery also in your page for this to work, but that won't be a problem in most cases so... Wink
AOP Web Development
thanks for your reply will actually is what i'm using now is mootools, and same as jquery it has also a tooltip same such as jquery.

but what i need is something like a fixed tooltip... i'm planning to create a form validation. via mootools that is why, just wondering how to work on it.
alalex
I guess then you cuold just place a hidden div under each form element and position it relatively (to the right and up a bit) to appear to be over the field and to its right, and make it appear using mootols with JavaScript, inserting in it the errors whenever there are some.

If you need help with this post here the css you are trying and we'll try to fix it
AOP Web Development
thanks for your reply... anyway i already got what i do is i just set it an absolute position and display inline. it show on the right side. i don't if that is the best solution. but it works for now.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.