Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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 November 20th, 2008, 11:37 AM
Authorized User
 
Join Date: Aug 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mouse Tooltip in ASP

Hello All,

I am looking to implement Mouse Tooltip in dynamic dropdown box in my form.

My requirments are:
1) I have a dropdown box that gets populated on selection of previous dropdown box selection. In the second dropdown box i should have the mouse tooltip to display information on moving the mouse over the attributes of the second dropdown box.

2) the tip should vary from attribute to attribute.


Thank you all for the help.

 
Old November 20th, 2008, 09:24 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Nothing whatsoever to do with ASP.

All a matter of HTML and JavaScript and what the browser is capable of.

And you can't use ONMOUSEOVER with the <OPTION>s of a <SELECT>.

So if you really want to do this, you'll have to use something *OTHER* than a standard <SELECT>. Use DHTML to simulate a drop down list, perhaps.

Not too hard, but requires an understanding of JavaScript and HTML.
 
Old November 21st, 2008, 04:14 AM
Authorized User
 
Join Date: Aug 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Old Pedant
 Nothing whatsoever to do with ASP.

All a matter of HTML and JavaScript and what the browser is capable of.

And you can't use ONMOUSEOVER with the <OPTION>s of a <SELECT>.

So if you really want to do this, you'll have to use something *OTHER* than a standard <SELECT>. Use DHTML to simulate a drop down list, perhaps.

Not too hard, but requires an understanding of JavaScript and HTML.










Hello,


Could you please help me some sample code??


Your help is highly appreciated.


Thanks

 
Old November 21st, 2008, 06:45 AM
Authorized User
 
Join Date: Aug 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Please ignore my previous post. I have decided to change my logic for the form i want to design.

My next requirement is:
1) I have 2 drop downs and one plain textbox
2) When i am selecting any value in the first dropdown, my second drop down should populate (which i am able to do).
3) on selection of the 2nd drop down value my 3rd plain textbox should populate with a single line note.

Please help me with the 3rd point.

Thanks a lot

 
Old November 21st, 2008, 05:21 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Well, a handful of very different ways to do that. I think I'd like to see your code that populates the 2nd dropdown before trying to answer. Should give an answer that is most compatible with what you already have.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a tooltip Neha XSLT 2 July 14th, 2008 06:21 AM
Tooltip text setting for a combo in ASP.Net is req shehryar .NET Framework 2.0 1 January 8th, 2008 06:45 AM
tooltip interval??? nerssi HTML Code Clinic 5 August 4th, 2006 12:05 AM
tooltip Lucian Ion Javascript How-To 1 August 1st, 2005 10:52 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.