Need recommendation on how to create info popup

I have a form with many fields.  For a couple of the fields, it is helpful to provide a sentence or two explanation for those who need it.  However I don't want to include the entire sentence beside those fields (since it makes the form look sloppy).  Instead I would like to include a little question mark graphic which when either clicked or moused over provides the descriptive text.  What is the best way to do something like this in Dreamweaver?  I wasn't sure if a JavaScript alert was the best way or not.  Maybe like a little popup box or something?  Is there something in Dreamweaver that is used for such a thing?

Here's a good one that I used
<script language="JavaScript" type="text/JavaScript">
var tooltip=function(){
var id = 'tt';
var top = 3;
var left = -230;
var maxw = 300;
var speed = 10;
var timer = 20;
var endalpha = 90;
var alpha = 0;
var tt,t,c,b,h;
var ie = document.all ? true : false;
return{
  show:function(v,w){
   if(tt == null){
    tt = document.createElement('div');
    tt.setAttribute('id',id);
    t = document.createElement('div');
    t.setAttribute('id',id + 'top');
    c = document.createElement('div');
    c.setAttribute('id',id + 'cont');
    b = document.createElement('div');
    b.setAttribute('id',id + 'bot');
    tt.appendChild(t);
    tt.appendChild(c);
    tt.appendChild(b);
    document.body.appendChild(tt);
    tt.style.opacity = 0;
    tt.style.filter = 'alpha(opacity=0)';
    document.onmousemove = this.pos;
   tt.style.display = 'block';
   c.innerHTML = v;
   tt.style.width = w ? w + 'px' : 'auto';
   if(!w && ie){
    t.style.display = 'none';
    b.style.display = 'none';
    tt.style.width = tt.offsetWidth;
    t.style.display = 'block';
    b.style.display = 'block';
  if(tt.offsetWidth > maxw){tt.style.width = maxw + 'px'}
  h = parseInt(tt.offsetHeight) + top;
  clearInterval(tt.timer);
  tt.timer = setInterval(function(){tooltip.fade(1)},timer);
  pos:function(e){
   var u = ie ? event.clientY + document.documentElement.scrollTop : e.pageY;
   var l = ie ? event.clientX + document.documentElement.scrollLeft : e.pageX;
   tt.style.top = (u - h) + 'px';
   tt.style.left = (l + left) + 'px';
  fade:function(d){
   var a = alpha;
   if((a != endalpha && d == 1) || (a != 0 && d == -1)){
    var i = speed;
   if(endalpha - a < speed && d == 1){
    i = endalpha - a;
   }else if(alpha < speed && d == -1){
     i = a;
   alpha = a + (i * d);
   tt.style.opacity = alpha * .01;
   tt.style.filter = 'alpha(opacity=' + alpha + ')';
  }else{
    clearInterval(tt.timer);
     if(d == -1){tt.style.display = 'none'}
hide:function(){
  clearInterval(tt.timer);
   tt.timer = setInterval(function(){tooltip.fade(-1)},timer);
</script>
Then add this to your html
onmouseover="tooltip.show('Click to display prices in Canadian dollars', 255);" onmouseout="tooltip.hide();"

Similar Messages

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • How to create a popup windown with javascript?

    Hi, every one,
    I made a jsp program. I know we can use win.open, win.close to create, to close a popup window with javascript. But I don't know how to create a popup window ,display some message on this window and there is a button on it for closing this window. Just like follows:
    int mark;
    if(mark==1){
         create popup window, display some message, there is a
    button and click it to close this window.
    } else {
         display error message.
    Any one can help me?
    Thanks in advance.
    peter

    Hi, bdtjdc,
    Thank you for your help and kindness.
    You know, I am a new one in javascript. So,
    1, I only know how to use alert(message) on current page and I don't know how use alert(message) on the next page because I
    need to pass some datas from current jsp page to next one.
    2, when I use the code you gave me as follows, there is no popup window and button:
    if(mark==1){
    %>
    <script language="JavaScript">
    message=message+'enter your message here...<br>';
    message=message+'<form name="form1"><input type="button" name="close" value="close window"
    onClick="window.close()"></form>';
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
    error message;
    if I use the code like this, We have the window and message on it, but there is no button on the window.
    if(mark==1){
    %>
    <script language="JavaScript">
    message='enter your message here...<br>';
    var actwin=window.open("","","menubar=0,width=300,height=300");
    actwin.document.write(message);
    actwin.document.close();
    actwin.focus();
    </script>
    <%
    } else {
         error message;
    What's the problem? Please.
    Thanks again.
    Peter

  • I need to know how to create a pdf document larger than 129 inches from MS Project 2007

    I am completely new to Adobe Acrobat Pro 9. I need to know how to create a PDF which is larger than 129 inches for use on a plotter from MS Project 2007. I have searched the Adobe support articles with no success. Any help would be appreciated.  Thank you.

    Thank you.  I have tried that but it will only let me go to 129 X 129 inches, no larger.
    Sincerely,
    Bill Stern
    NSD IT Support
    22289 Exploration Drive
    Suite 305
    Lexington Park, MD 20653
    Phone: 301.862.4577 ext 10
    Fax: 301.862.9828
    Email: [email protected]

  • How to create info area for process chains?

    How to create info area for process chains?

    Hi,
    If I understand your question clearly, you want to assign display componets.
    once you have created you chain you assign the components by clicking CTRL+F11
    Regards,
    Namrata

  • Hi, I have Adobe Acrobat Professional.  I need to know how to create multi-links on 300 page docs

    I need to know how to create multi-links on a 300 page document, showing "return to main Menu".  Ideally placed on the bottom right of each page. I have adobe acrobat Professional. 

    Import a picture to be a button, place it, activate HYPERLINK tool, draw a rectangle around the whole button, in the window popping up select the link behaviour, submit with OK.
    Then copy & paste the button object to every page. I don't know whether pasting it on every of the 300 pages can be automated, but if not, it is still done quite fastly.

  • How to create a popup window that shows detail information when press submi

    hi,all
    how to create a popup window that shows detail information when press the submit button ?I mean,when I press the button "Sumit"there will appear a popup window that shows the detail information you typed before.it means are u sure to submit,it is like some confirmation window.
    how to do achieve this ?help plz .
    best regards
    hlee
    Edited by: hlee on 2011-4-15 上午1:26

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to create a popup in an ADF train taskflow?

    I have a Train taskflow. Then i create a popup window in one of the buttons. When i run the JSF as an independent page, the popup works. But when i run the taskflow, the popup doesn't work.
    Is it a bug or is there some way to create a popup in a train.
    i have created the popup like this:
    1. i have created a control flow between the main JSF and popup page
    as dialog:Add.
    2. And in the button in the parent window, i have made the usewindow to true and action to dialog:Add.
    Any kind of helf would be very helpfull.

    Hey Pavle,
    You always ask the most interesting questions. ;) See my answers inline.
    <p>
    How to include another JSFF/JPSX in Rich dialog (beside inclusion of another region)?
    </p>
    <p>
    <b>Ric:</b> You can include a JSFF/JSPX using the jsp:include tag and a subview. Note that you will not be able to use ADFm within the fragments.
    </p>
    <p>
    If there is no other way than inclusion of region, how to make that new region "transaction-free" (as usually the pop-ups are for read-only operations and overhead of TaskFlow transaction is unnecessary). Generally, how to make Task Flow without transaction (if transaction imposes significant overhead – I'm not sure). (the documentation on Task Flows is unfinished in TP). And, finally, if there is no possibility of including JSFF without creating task-flow, is it possible to propose extension to ADFc allowing single JSFF to be included in region without explicitly defining task-flow for that single fragment.
    </p>
    <p>
    <b>Ric:</b> I think the above suggestion should work for static cases. However, if you
    are using bindings then the regions is the only approach available. This is not as heavy-wieght as it would appear. There is a way for regions or bounded taskflows to share datacontrols with with the parent page, which alleviates the concern of additional transactions. This feature can be found in the next preview. Note, this does not prevent you from defining a single page taskflow--in the one page case. I would like to see the feature extended so that if a region contains a single jsff reference there is no need to define an additional taskflow config file.
    </p>
    Thanks,
    Ric

  • Need to learn how to create a slideshow in Flash

    Hello All,
    I'm new to Flash and I need to learn how to do a slideshow with exactly the same features as can be found in this link:
    http://www.esppromo.com/index.asp
    Just like at the link above, it needs to play through the slides automatically once the page is loaded, each slide needs to link to a specific URL, and I need controls similar to the boxes at the bottom so the viewer can click on any specific slide they wish to view (I'd like to have numbers in the boxes though). The transitions don't have to slide across like this. If a fade is easier, that would be fine.
    Since I've looked online, but can't find any tutorials for doing this in Flash Professional, I think I'll pick up a book on Flash. There are some online tutorials that are close but nothing that is exactly what I'm looking for.
    I'm just wondering if anyone can recommend a particular book that covers creating this type of slide show with the links and controls exactly as I need it to be. I see these types of slide shows on a lot of sites now, so I'm hoping that maybe someone else on this forum has had to learn how to do this and can recommend a book they used?
    I was looking at Adobe Flash Professional CS5 Classroom in a Book and it looked like it may be what I'm after, but I am rather cautious, as I don't want to end up with instructions that are close to what I am looking for, but not quite right.
    Actually, I thought I'd be able to do this fairly easily with Flash Catalyst, so I updated to Adobe CS5 Design Premium. I found that Flash Catalyst can be used to create a slide show like this, but unfortunately it won't play automatically when the page loads and the viewer has to manually click through the slides, which is not what I need. I could be wrong, but from what I've read, I need Flash Builder to add code so the slide show will play automatically if I create it in Flash Catalyst. Since it's not an option for me to buy more software at this time, I've decided to learn how to do this in Flash Professional.
    I really want to learn how to do this. I expect to go on and create more using Flash, but for now I just REALLY need to figure this slide show out.
    If anyone can help out, I'd really appreciate it!
    Thanks,
    William

    Edit:
    i'm sorry. it is a huge work to type this and will be confusing as hell. i'm already up to 1 full word page of explanation. Though i am able to do it, explaning it in full lengh is ... well.. very hard. Way harder than it is to make your flash itself.
    I can however point you to some element you should read about how to make them:
    - How to use timeline in flash cs4
    - how to create a button in flash cs4
    - How to make "CLASSIC TWEEN" in flash cs4
    - How to use ActionScript 2 ( AS2) basic command like : GetUrl, Gotoandplay, Stop and how to put those script in the right location. ( AS2 allow you to put script directly on the button itself. however it is best to put it in the Action Layer that you will have to build in the timeline.
    - How to import thing in library.
    keep in mind that what you want to make is mostly a Logic probleme...
    - Image 1 click = GetURL X,
    - After Y time, Switch image 1 to image 2 with animation. Do the same for the button.
    - If you click on button 1 while being on image 3, you have to set all the reverse animation in the timeline, and use a lot of Gotoandplay.
    Hope this help you a little.
    I'm sorry. i really wanted to help you do it, but it is just a monstruous job to write all this.

  • How to create a popup help page in html db

    i'm trying to create a popup up help page in html db by having a help button from the main page and when clicked a popup page will appear... but can't seem to get it working...
    can somebody pls help me? thanks a bunch!!

    Hi Denes ,
    Need some more suggestion from you .
    I have incorporated your popup code in navigation 'Logout' link.
    Now after clicking on that the popup page appears fine .
    But i like to include two button in that popup page such a way that --
    after clicking 'Confirm Logout' button some database updation has been done and the child popup page unloads,but the parent page redirect to login page.But if cancel pressed then only child popup page unloads and no database action will will be carried out .
    Could you plz help on this .
    Cheers,
    Rosy

  • How to create a popup window?

    I'm a JavaFX newby.
    I know that this question's been asked already and I read all the postings, but I still can't work out how to do this (I must be really stupid).
    Any sample code how to make this Popup class work will be highly appreciated. All I need is a small dialog that allows the user to enter a value in a text box and then to close that dialog. JOptionPane is not good enough as it does not support a password field.

    Hi. Take a look at javafx.stage.Popup as JOptionPane

  • How to create a popup window that allows creation - - -

    Hi,
    I have a column named owner_id(number) .
    My requirement is to display the owner name and in the future I want to allow creation of a new owner from this page, .So i have used an
    [ Popup Key LOV (Displays description, returns key value)] for the time being which displays name(Description in other table)
    I need to create a popup window that allows creation of the owner and writes the entity_id(owner_id) back to this page.
    Can anyone plz help with the solution

    hey,vee
    thanks for your response,but i had already read this thread before i put up a new question.any way,thanks.
    best regards
    hlee

  • How to create a popup screen in user exit

    Hi,
    I need to create a popup  asking to enter a bar code in transaction MIRO (user exit)
    Points will be rewarded
    Thanks in advance

    Hi jayasree,
    1. we can use the FM
      POPUP_TO_GET_ONE_VALUE
    regards,
    amit m.

  • Need information on how to create Idoc Inbound Interfaces for Business Sys

    Hi,
    I'm losing it.
    Can anyone point me to some documentation or an example of how to create inbound interfaces for Business Systems in PI 7.1.
    Here's the scenario
    I'm working on a B2B integration process which sends inbound idocs to an ECC 6.0 system.
    I've created the Business System communication component  but under the Inbound Interfaces it is blank.
    I want to have MBGMCR.MGBMCR03 as an inbound interface.
    But I forget how to get it there.
    For Business components you can just add the inbound interface.
    I've already defined the Business System in the SLD pointed it to the correct Tech System, imported the idoc definitions in the Enterprise Service Builder and set up IDX1, IDX2 to ensure the metadata exists in PI.
    But for Business systems the hep says that it's got to come from the SLD.
    Outbound/Inbound Interfaces
    For each business system, the interfaces that are installed on the business system are also entered in the SLD. These interfaces are displayed in this frame. You cannot add any other interfaces.
    I know I've done this before, but I can't remember how.
    Cheers,
    John

    Hi John ,
    Please have a look at the following links which might be of help to you
    PI 7.1 IDocs interfaces act as operations
    http://www.sdn.sap.com/irj/scn/weblogs;?blog=/pub/wlg/7933
    /people/peter.gutsche/blog/2008/10/27/what146s-new-in-sap-netweaver-pi-71
    There is a section in the following link on IDOC , have a look at the links in that section
    https://wiki.sdn.sap.com/wiki/display/XI/ImportantBlogsand+Notes
    Best Regards

  • How to create a popup with link without creating any screen

    Hi experts,
    Is the any function module or way to create a popup with a link inside (for e.g. to forums.sdn.sap.com)?
    I do not want to create any screen and call that screen.
    Thanks,
    Khanh

      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          TITEL        = 'Title POPUP_TO_DISPLAY_TEXT'
          TEXTLINE1    = 'Message to display'
          TEXTLINE2    = ' '
          START_COLUMN = 25
          START_ROW    = 6.
    CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      DEFAULTOPTION        = 'Y'
       DIAGNOSETEXT1        = 'This is Testing'
      DIAGNOSETEXT2        = ' '
      DIAGNOSETEXT3        = ' '
      TEXTLINE1            = 'Do You want to Exit'
      TEXTLINE2            = ' '
       TITEL                = 'POPUP_TO_CONFIRM_WITH_MESSAGE'
      START_COLUMN         = 25
      START_ROW            = 6
    *----for the display of cancel button  do like this.
      CANCEL_DISPLAY       = ' '
    IMPORTING
      ANSWER               = ANS
      IF ANS = 'J' .
    *---put code on selecting yes
      ELSE.
    *---put code on selecting no
      ENDIF.

Maybe you are looking for

  • Oepe 12.1.1.0.1 is not compatible with OSB (latest Version)

    Im installing the latest version of both, WebLogic Server with OEPE 12.1.1.0.1 and OSB Generic 11.1.1.6.0 and when I installing the OSB and setting the location for the OEPE I just receive a message saying that this is not a correct version, so i won

  • How to print/reprint checks/vouchers only

    The client requires check printing & voucher using pre printed checks and vouchers separately. They opted for an option that can reprint any check or any voucher anytime. Some FI consultants say it has to be a separate program for the check printing

  • HRMD_A06 IDOC EXTENSION FOR INFOTYPE 0001 WHICH HAVING A ZFIELD

    hi folks, i am extending the idoc hrmd_a06. and in infotype 0001 we have zfield. for that z field extension is required. iam tryied with naming convention z1p0001 or ze1p0001. but it throws error from t777d table.so plz let me know how we extend it

  • Photo Optomization

    Hi,    I have been asked this question many of times. How do I have the page/photo load faster with out loosing or minimizing loss in quality of the image? So here is the complexity of my situation: My website: www.libkofficial.com If you take a look

  • Switch to  Library Issue

    When I select "File" and choose "Switch to Library" and then select "Other, New", the window that pops up and starts a search. This "search" is endless and the list that does appear includes files that include .plst files and other non-library items.