Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2005, 05:46 AM
Authorized User
 
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default tooltip

the bellow link is a ToolTip javascript which work grand:

http://javascript.internet.com/gener...generator.html

the only problem is that if you scroll the page down the tool tip is loosing position, going up the page,
Is there a way of making sure it will stay right where is designed to?


L Ion
__________________
L Ion
 
Old August 1st, 2005, 10:52 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Couldn't you contain the tooltip in a layer and use the layer's pixelTop property to determine where it is in relation to the top edge of the screen? That way you could set a timer off every time the user scrolls the page and move it back into the right position.






Similar Threads
Thread Thread Starter Forum Replies Last Post
[Closed] GridView and ToolTip snufse ASP.NET 2.0 Basics 6 August 21st, 2008 02:53 PM
How to create a tooltip Neha XSLT 2 July 14th, 2008 06:21 AM
How to add usercontrol in tooltip KamalRaturi ASP.NET 2.0 Professional 0 October 25th, 2007 09:07 AM
tooltip interval??? nerssi HTML Code Clinic 5 August 4th, 2006 12:05 AM
Tooltip in datagrid lily611 General .NET 11 September 23rd, 2004 04:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.