Solved

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

Posted on 2006-06-09
4
258 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
[X]
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
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

717 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