Solved

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

Posted on 2006-06-09
4
251 Views
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.

0
Comment
Question by:chuang4630
  • 2
4 Comments
 
LVL 33

Expert Comment

by:raterus
ID: 16873266
There are 1001 different ways to do this, here is one of them,
http://www.walterzorn.com/tooltip/tooltip_e.htm

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

Assisted Solution

by:raterus
raterus earned 250 total points
ID: 16873277
0
 
LVL 27

Accepted Solution

by:
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
if(document.getElementById('divCal').style.display=='none')
document.getElementById('divCal').style.display='block'
else
document.getElementById('divCal').style.display='none';
}
</script>
Divcal is the Div the calendar control is located in and it HAS to be positioned with absolute positioning
IE
<div id="divCal" style="position: absolute; right: 380px; top: 330px; display: none;">
</div>
now call the this script using onclick of your control


HTH
0
 
LVL 1

Author Comment

by:chuang4630
ID: 16954296
I ended up using Tooltip.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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