Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2006-06-09
4
254 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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