How to create a DIV (help text) "floating" above the hyper link, such as "What's this" ?

Posted on 2006-06-09
Last Modified: 2012-06-21
I need to create a help "window" which will be popped up when user clicks the hyper link "What's this". If I do not want to open a new window, instead, just create a DIV that will "float" above the page. How do I do this?

ToolTip does not work here, since there will be some format.

Question by:chuang4630
  • 2
LVL 33

Expert Comment

ID: 16873266
There are 1001 different ways to do this, here is one of them,

You'll have to link in some javascript and follow the author's instructions to do this
LVL 33

Assisted Solution

raterus earned 250 total points
ID: 16873277
LVL 27

Accepted Solution

Sammy earned 250 total points
ID: 16874585
Just like raterus said there are tons of ways to accomplish this
I used this to show/hide a calendar control

here is the client script
<script type="text/javascript">
function ToggleCal(){//Toggle Calendar Visibilty
Divcal is the Div the calendar control is located in and it HAS to be positioned with absolute positioning
<div id="divCal" style="position: absolute; right: 380px; top: 330px; display: none;">
now call the this script using onclick of your control


Author Comment

ID: 16954296
I ended up using Tooltip.

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & and to add and use a dropdownlist was always a very simple task, but with the new, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question