Sample script to pop-up txt box on mouse-over on skin toolbar button?

RH9,WebHelp Pro
I am completely new to scripting. I have customised a toolbar button in the skin and while it is easy enough to place a hyperlink to be activated on click, I would also like to display a text caption when the user rolls over the button before clicking.
Can anyone provide or point me to an example of the required syntax?
Thank you.

Hi,
You have to modify the title attribute of the link. The browser will show that text when you hover the link. I believe that WebHelp uses the text of the button as the title.
If that doesn't work for you, you can use the onMouseOver event to show and hide a tooltip. Check out Walter Zorn's tooltip script: http://edwardsmark.com/proofOfConcept/walterZorn/ It has some good examples of how to set up the script.
Greet,
Willam

Similar Messages

  • Turn off metadata display box when mousing over photos?

    When mousing over photos in the viewer or browser, a box pops up next to the cursor showing metadata. I find this very distracting and annoying when editing a photo or confirming faces. In Aperture 2, you could turn it off under preferences, but for the life of me I can't figure out how to turn it off in Aperture 3 (metadata has a separate tab rather than controlling the viewing of metadata under preferences in A2). Hitting the letters Y and U work in the viewer and browser, respectively, but only for one photo - doesn't stop it for good. I've tried messing around with all the other metadata view settings. Any ideas?

    Hitting the letter T toggles the display, you can adjust this setting with Command -J.
    HTH
    wok4

  • Pop up text boxes on mouseovers

    I'm looking for an easy way (and the easiest tool to use
    between Dreamweaver, Fireworks, and Flash [and I'm guessing
    'Fireworks']...or maybe Flash---I have Studio MX2004) to create not
    a 'pop-menu', but 'a Pop-Up TEXT box' on a mouseover event.
    For example, please perform the following steps to see what I
    would like to do:
    1)Google 'Product Demos'
    2)Click on 'Blackberry' link at top of list 3)A selection of
    product thumbnails appears...click on any product link 4)A Flash
    presentation loads....Click on 'Interactive Views' in the lower
    right-hand corner.
    5)Go to the upper left-hand corner and click on 'Included
    Applications' to see the text pop-ups activated when you mouse over
    parts of a graphic (in this case, each icon)....AND THEN...click on
    the next one in the list, 'Handheld Features' to see text pop up
    boxes activated once you mouse over the textual captions (or
    pointers).
    This is the effect I would like to achieve when a user mouses
    over a section of a figure or illustration, or over a textual
    caption itself.
    Thanks!

    Pure CSS Disjointed Rollovers (tool tips)
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-2.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I prevent the "Downloads" pop-up box from appearing when I open an attachment since Firefox also gives me the "Opening...txt" box?

    My software allows a user to open Attachments. I get a box with the title "Opening message1.txt" which also has an "Open with" radio button. I then click the OK button and my attachment is displayed. However, I also get a second box with the title "Downloads." How do change the Firefox Options to not get the Downloads box?
    == This happened ==
    Every time Firefox opened

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    [http://forums.mozillazine.org/viewforum.php?f=25]
    You'll need to register and login to be able to post in that forum.

  • Spry Conditional Validation of Txt Boxes When Using Show/Hide

    Hi everyone.. just a quick question (if their is such a thing) if that is ok...
    I have been working on this single issue for 3 days.. it is driving me mad and hoped someone may be able to point me in the right direction...
    I have a form and it has a radio button with 3 options (about relationship status):
    Married
    Defacto
    Single
    If they select married a text box appears with Enter spouses first name;
    If they select defacto a text box appears with Enter partners first name..
    If single no text box appears..
    User then clicks on next to go to next page..
    All good.. except.. I am using DW CS4 and using spry to validate both txt boxes (spouses first name and partner first name).. problem is only one will be displayed depending on the option selected – Married or defacto.. spry tries to validate both even the hidden one and therefore will not allow the user to go to next page.. as at least one not completed..
    I have spent almost 3 days trying to write a php/java if statement to get spry to only validate text box 1 or 2 if radio button says married, defacto or single etc..
    I would really really really apperciate your input about how I should do this as it is driving me nuts!!!
    Anyway thanks and really hope to hear from someone..
    Cheers from Downunder
    UPDATE:
    Been playing and got this to work:
    <script type="text/javascript">
    function decision(){
    if(document.martial_status.martial_status[0].checked) {
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:blur});
    //-->
    sprytextfield1.reset();
    } else if(document.martial_status.martial_status[1].checked) {
    } else if(document.martial_status.martial_status[2].checked) {
    window.alert("test3");
    } else {
    window.alert("Pick something!!");
    // -->
    </script>
    BUT (and always a but).. if person goes back and selects say single rather then married after already clicking married the spry error msg is already in place for married.. and person cannot go to next page.. The joys.. tried martial_statur.reset and destroy and does clear the error message but still does not allow user to go to next page..
    Any thoughts? Thanks in advance..

    You can destory the validation:
    sprytextfield1.destroy();
    and it should validate.

  • How can I Create custom pop up dialog box with question/answer

    I need to create a pop up dialog box that asks a question and accepts an answer input.  The form needs to be able to be emailed out (not server based)  Can someone help me do this?  I am a designer,  with very (Very!) limited coding skills.   Looks like the windjack program that I keep running into does not work with Acrobat X.
    Thanks for any help you may have

    I am not able to help you with the current method you are using - which seems an odd one in that you are using a menu script to do this????
    I would have done the page completely differently - instead of slicing it up into a vastly complex table, I'd have added the image to the page and then used an imagemap.  Then I'd have used this script to add the popups (as toolitps) that you can be as simple or as complex as you wish: http://boxover.swazz.org/.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Move an application "pop-up" (dialog box) with keyboard possible?

    Is there a way to move an application's pop up (dialog box) with a keyboard command/shortcut? I had a situation where I was not connected to my 2nd monitor and an application popup box was opening on that 2nd (*not connected*) monitor.
    I hate to say this; but on a PeeCee, a user can move a window via the keyboard. Is this possible on a Mac? Thanks!

    no, it's not possible on a mac. if the popup open on the other monitor connect the second monitor and move the popup with a mouse. it should open on the main monitor form now on.
    If you don't have a second monitor at all do the following.
    1) goto System Prefs - universal access - enable access for assistive devices.
    Paste the following into Script Editor and press run. This will move all offscreen windows currently open on the second monitor to the main screen.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    –– Example list of processes to ignore: {"xGestures"} or {"xGestures", "OtherApp", ...}
    property processesToIgnore : {}
    –– Get the size of the Display(s), only useful if there is one display
    –– otherwise it will grab the total size of both displays
    tell application "Finder"
    set _b to bounds of window of desktop
    set screen_width to item 3 of _b
    set screen_height to item 4 of _b
    end tell
    tell application "System Events"
    set allProcesses to application processes
    set _results to ""
    repeat with i from 1 to count allProcesses
    set doIt to 1
    repeat with z from 1 to count processesToIgnore
    if process i = process (item z of processesToIgnore) then
    set doIt to 0
    end if
    end repeat
    if doIt = 1 then
    tell process i
    repeat with x from 1 to (count windows)
    set winPos to position of window x
    set _x to item 1 of winPos
    set _y to item 2 of winPos
    if (_x < 0 or _y < 0 or _x > screen_width or _y > screen_height) then
    set position of window x to {0, 22}
    end if
    end repeat
    end tell
    end if
    end repeat
    end tell
    </pre>

  • Show pop-up dialog box from hyperlink

    I would like to allow a user to click a hyperlink on the report that could be used to print, or email a report somewhere.
    What I am hoping to do is once the user clicks the hyperlink then I will pop-up a box that will allow the user to enter an email address to send the report to, or what printer to print it to. Once the email address has been entered and they click OK, then I will call the report again with the correct parameters for destype, desname, and desformat.
    Is something like this possible? I know I could do all of this from Forms, but I am looking for something to use inside reports, since we have many levels of "drill-downs" in reports.
    Any suggestions, or experiences would be greatly appreciated.

    No JavaLEar, that won't work, not even if we disregard your somewhat confused logic in the if-statements (you are calling System.exit(0) if the user choose "No", which would be very suprising to most users).
    But there is a very simple solution to the OP's problem:
        public class Sample extends JFrame {
            public Sample() {
                    // Instruct the frame to not do anything when a close-event is
                    // triggered. We will be closing the frame manually in the WindowListener
                    // below:
                 setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
                 addWindowListener( new WindowAdapter() {
                     public void windowClosing(WindowEvent e) {
                         int selection = JOptionPane.showConfirmDialog(null,
                                 "do you want to close window?", "Sample",
                                 JOptionPane.YES_NO_CANCEL_OPTION,
                                 JOptionPane.WARNING_MESSAGE);
                         if( selection == JOptionPane.YES_OPTION ) {
                             // If the user answered "Yes", we close the frame
                             dispose();
                             // and call System.exit(0) if the whole application
                            // should
                             // terminate:
                             System.exit(0);
                         // If the user pressed "No" or "Cancel" we don't have to
                         // do anything.
        }Hope this helps.

  • How to create pop-up text boxes?

    Hello,
    Does anyone know if it's possible to make pop-up text boxes/windows in iBook Author? For instance, I can click on a text on the layout and a window pop-up with another text, in my case, they're references/citations. If this isn't possible in iBook Author, is there work-around for this, preferably, in iBook Author itself instead of creating widgets/imagest for every instance of the references. Any help would be appreciated.
    Thanks,
    Hoa

    The glossary offers this capability. However, using it for that purpose might be a bit confusing, especially if you also have "real" glossary entries.
    I'm not aware of any other way to create a pop-up.
    Michi.

  • Creating 3 links each with pop-up text box on the same slide

    Hi,
    I'm trying to create a slide that has 3 links and each link has a pop-up text box. I do not want to separate the pop-up text into separate slides. I have it so that there are 3 click boxes and each have the action "show" the proper text box. I also created another click box that acts as a close button where the action is to hide the pop-up box. I have an extra click box hidden on the page to make sure the user stays on the page and not automatically advance.
    Once I have the user click on the first "link" it shows the text box. Once the user clicks the close click box it takes the user to the next slide. I just need it so that it shows the user the pop-up text and then when the user closes the pop-up and returns to showing the 3 options/links. So it basically refreshes the slide instead of going to the next slide.
    Thanks,

    This will be a little tricky to achieve. This is because per default Adobe has decided that any interactive object (like a button or a click box) that has a user defined action on it (like continue, pause, open URL etc.) automatically continues to play the project when clicked.
    Therefore when you click your button it will show your textbox, but it will also continue to play on your timeline.
    You can read some more about it here: http://forums.adobe.com/thread/479725?tstart=0
    I did something similar to what you want one time and I just created a bunch of click boxes and made them very small and put them in a corner. The click boxes were placed on the timeline with 0.2 seconds between the pauses. Then I created my "real" buttons to show/hide the text boxes and placed them on the timeline before the other click boxes.
    The result is that once a user clicks your button it will show the text caption you want - continue on the timeline and pause at the first click box. When they click another button the same will happen. Just make sure that you have a lot of click boxes (I think I put like 30) and make sure that your navigation button for advancing to the next slide is set to "go to next slide" and not "continue" as that would make it pause at all your click boxes as well.
    /Michael
    Click here to visit the www.captivate4.com blog

  • How do you create the 'cream pop-up info text boxes' that appear when you hover mouse over?

    Hi people,
    I really need to know how you create the 'cream pop-up info text boxes' that appear when you hover your mouse over an object on a webpage (and often in any program e.g. Photoshop) for more than a second. I need to know because the logo on my website is the navigation tool used to return to the homepage. It is always found in the top left so the user can always click it to return.
    The only problem is im the only one who knows that when you click my logo, you return to the homepage. I need one of these 'cream info boxes' (forgive my lack of knowledge) to appear so the user will figure it out.
    Thanks for taking the time to read my question...

    Using your code it should look like this where title attribute is in red:
    <div id="apDiv2"><a href="index.html"><img src="divs_dw/jtgd_logo_trans.png" alt="jtgd_logo" title="your description goes here" width="176" height="163" /></a></div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • After installing Epson Stylus SX535WD printer on Windows 7 computer Firefox produces a pop-up error box when I launch Firefox or open Web page

    After installing my new Epson Stylus SX535WD printer on my Windows 7 32 bit computer, Firefox now produces a pop-up error box every time I launch Firefox or open a new Web page in it the following error box pops up multiple times: [JavaScript-Application] Server could not log you in. This error has never error occurred before I installed the printer.

    Posting the same question multiple times will not get you an answer any faster..

  • How can I add an image to my pop up text box built in Fireworks?

    Hello all,
    I have already built my page (a map) with all the pop up text boxes in Fireworks and imported them into my Dreamweaver page, but I would like to add an image in that same pop up box as well as the text. I tried going back to Fireworks and editing the pop up box, but there is no option for adding an image alongside the text. Is there a way I can go into the code and add the image? This is a line of code for one of the pop up boxes:
    <td rowspan="4"><a href="javascript:;" onmouseout="MM_swapImgRestore();MM_menuStartTimeout(0)" onmouseover="MM_menuShowMenu('MMMenuContainer1016121037_0', 'MMMenu1016121037_0',25,23,'Plaza_map_r11_c6');MM_swapImage('Plaza_map_r11_c6','','Plaza_ map_r11_c6_f2.jpg',1);"><img name="Plaza_map_r11_c6" src="Plaza_map_r11_c6.jpg" width="30" height="28" border="0" id="Plaza_map_r11_c6" alt="" /></a></td>
    I'm trying to avoid rebuilding the whole thing in another program! Thanks very much in advance.
    Pam

    If you have more than one of these, then I would add a class rule to your css style sheet
    .fltleft     {
         float:left;
    }.fltright     {
         float:right;
    Then add this rule to your image.
    <img name="Plaza_map_r11_c6" src="Plaza_map_r11_c6.jpg" class="fltleft" width="30" height="28" border="0" id="Plaza_map_r11_c6" alt="" (add new image here) ?>
    This will position your image to the left in the container. You can then add the fltright in the same way.
    GAry

  • I am trying to stream via ESPNWatch but I get a message saying I have a popup blocker that does not allow the streaming to happen. I unchecked the pop up blocker box in the Safari preferences to no avail. Any ideas?

    I am trying to stream via ESPNWatch but I get a message saying I have a popup blocker that does not allow the streaming to happen. I unchecked the pop up blocker box in the Safari preferences to no avail. Any ideas?

    Might be a Safari extension...
    From your Safari menu bar click Safari > Preferences then select the Extensions tab.
    If there are any extensions installed, turn that OFF, then quit and relaunch Safari to test.

  • I have placed a check mark in the Block Pop-Up Windows box and when I restart Firefox, the box is empty and I begin receiving Pop-Up's again. What do I have to do to make the check-mark permanent?

    I have placed a check mark in the Block Pop-Up Windows box but when I restart Firefox, the box is empty and I begin receiving Pop-Up's again. What do I have to do to make the check-mark permanent?
    == This happened ==
    Every time Firefox opened

    See this:
    http://kb.mozillazine.org/Popups_not_blocked#Other_software_disables_the_popup_blocker

Maybe you are looking for

  • How to copy complete column data of a table control similar to ALV

    Hi All, I have a senario where i need to select one column of a Table control and press Ctrlc then the complete column details should be copied and be able to paste it in another colum using ctrlv. please suggest me how can i copy the complete column

  • Problem failOver of RAC

    Dear All, we have set a 2 node Cluster using Oracle 11gR2 on RFEL 5.3 x86_64. But while testing instance failoOver from a client with the fillowing TNS entry instance fail over is not taking place. when connected using the following TNS we identified

  • Partial dlvery

    Hello SAP Prof, 1.A customer has 2 materials . one is third party mat(TAS),Second one is normal mat(TAN).. These both items entered in one sales order and his requirement is he wanted in single invoice with out splitting? How can we do . 2.What is th

  • EJB not bound Exception

    Hi All, Any body can help me to Run my first EJB. I am getting Name not bound error. I thing it is JNDI error. I generate the classes and interfaces using Xdoclet. I am using eclipse3.1, jboss4 Please see the entry in ejb-jar.xml <entity > <descripti

  • Is it possinle to upgrade your hardware on a mac that you have owned for years? (without applecare)

    I've owned my macbook for a few years now. apple care has expired and i'm just curious if apple would even accept and older mac for an upgrade. I realize I would need to pay for it, even if I had apple care. I upgraded the hard drive and ram long ago