Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18
Tooltips don't work without visible menu?
Poster: vikenk
Dated: Friday January 6 2006 - 13:54:02 GMT
Hello everyone,
Using latest menu (5.739) and tooltips (2.2). I'm making a page that will *not* have the menu on it (the site *does* use the menu, but this page is a stand-alone calendar meant for printing only), but I still want the tooltips to be active.
I loaded the source files and the toolips.js file, but tooltips didn't work. So, I added the menu_data.js file and the toolips started working. But the problem is that I don't want the menu visible. So I added the following style to the page:
Code:
<style type="text/css">
.mmenu
{
position:absolute;
display:none;
}
</style>
.mmenu
{
position:absolute;
display:none;
}
</style>
This is the code that Milonic supplies to hide the menu during printing. So, the menu is hidden, but now the toolips do *not* work. So....all the menu files are loaded, but hiding the menu causes tooltips to fail.
I can't post an url right now because the company I'm at restricts FTP transfers and I can't upload a sample.
Is this the intended design of the menu/tooltips? Tooltips cannot be used as a stand-alone module or with the menu hidden?
Thanks.
Viken K.
Poster: Ruth
Dated: Friday January 6 2006 - 16:04:12 GMT
Hi,
It should work as long as you have calls for the base program files and the tooltips.js file.
Ruth
Poster: vikenk
Dated: Saturday January 7 2006 - 4:10:14 GMT
Sorry it took me so long to reply. I got it working. This is embarrasingly easy: I had forgot to include the link to Milonic in the page, so the tooltips weren't working properly.
I didn't realize the link would still need to be there even if the menu wasn't on the page.
Viken K.
Poster: Ruth
Dated: Saturday January 7 2006 - 4:40:09 GMT
Hi Viken,
No problem
I'm glad you figured it out. It would have taken me forever to figure that out.
Probably there are going to be others who don't think of that either, so thanks for posting the solution.
If there isn't an actual menu, many will not think about the link, but in reality it's an integrated module so even without a visible menu, the menu program is actually there.
Ruth
Poster: vikenk
Dated: Saturday January 7 2006 - 13:35:25 GMT
Ruth,
This is what makes forums so great! You learn from other's mistakes :>)
I was also thinking a bit about the other "issue" I had: when I used the style to hide the menu, the toolips were hidden as well. Now that I think about it, it makes perfect sense. The tooltip is actualy a "micro-menu": a one-item menu, so to speak. So it makes sense: If I hide the menu, the tooltip would be hidden as well.
Viken K.
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
