ToolTip for shuttle

Hello

Based on several posts in the forum, I created a shuttle service with different features. As the elements of text cannot be wrapped in the shuttle, I wanted to create a ToolTip so that the user can see all the text. I managed to create a when the user clicks on an element. But I would really like to display the ToolTip for < font color = "red" > onmouseover < / police > event.


Here's what I have so far:

< b > header < /b > html Page
<script type="text/javascript">

function displayHelp(event, pItem) {
var cnt = 0;
var ind = 0;
  for(var i=0; i < pItem.length; i++) {
    if(pItem.selected) {
cnt++;
ind = i;
}
}
if(cnt == 1) {
toolTip_enable(event, pItem, pItem[ind].text);
}
}

</script>

<head>
<style type="text/css">
#P1_VISITED_LEFT option{color:red}
#P1_VISITED_RIGHT option{color:green}
</style>
</head>
and <b>HTML FORM ELEMENT ATTRIBUTE</b> contains the following:
style = width: 350px; onclick = "displayHelp (Event, this); »
I am using Apex 3.2 but the same works in Apex 4.0 as well. I have created an application at http://apex.oracle.com/pls/apex/f?p=37387:1:955210098693100:::::


Any help is appreciated in making this work for <font color="red">onmouseover</font>



Thanks,
Rose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Hello

I use the jQuery code below for the list of selection mouseover tooltip. For the shuttle, it should work

$(function(){
      $('option').each( function(){
        $(this).attr('title', $(this).text());
  });
});

Kind regards
Shijesh

Tags: Database

Similar Questions

  • How can I remove worm of ToolTip for the clayout engine

    What is the program of ToolTip for Clayout engine and how to remove it safely?

    Hi Albertwolfman,

    ·         You receive an error message or error code during the uninstallation of this program?

    I suggest you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    Let us know if that helps.

  • ToolTip for the button

    Nice day

    I'm new to the blackberry development. I created a bitmapbuttonfield using the examples of the advanced user interface. There is a button with an image. I want to display a ToolTip for the button when the button receives the focus. Can someone please help

    Thanks in advance

    Hello

    Use this code:

    package mypackage;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    
    public final class MyScreen extends TooltipScreen
    {
    
        ButtonField btn1,btn2,btn3;
        public MyScreen() {
    
            btn1=new ButtonField();
            btn1.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 1 Click");
                }
            });
            btn2=new ButtonField();
            btn2.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 2 Click");
                }
            });
    
            btn3=new ButtonField();
            btn3.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 3 Click");
                }
            });
            add(btn1, "Button 1");
            add(btn2, "Button 2");
            add(btn3, "Button 3");
    
        }
    
    }
    
    package mypackage;
    
    import java.util.Timer;
    import java.util.TimerTask;
    import java.util.Vector;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.XYRect;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class TooltipScreen extends MainScreen {
    
        TooltipScreen screen = this;
        boolean doRedraw = false;//prevent infinte redrawing
        Vector tooltips = new Vector();//vector to hold tooltip strings
        private Timer tooltipTimer = new Timer();
        private TimerTask tooltipTask;
        boolean alive = false;//is the tooltip alive? used to pop it after our timeout
        int count = 0;//used to calculate time tooltip is displayed
        //tooltip popup colours:
        int backgroundColour = 0xeeeeee;
        int borderColour = 0xaaaaaa;
        int fontColour = 0x666666;
        //the tooltip:
        String tooltip;
        int tooltipWidth;
        int yCoord;
        int xCoord;
        //region parameters:
        XYRect contentArea;
        int contentBottom;
        int contentRight;
    
        public TooltipScreen() {
            super();
    
            //when timeout reaches 100ms*20 ie. 2seconds set alive to false and redraw screen:
            tooltipTask = new TimerTask() {
    
                public void run() {
                    if (alive) {
                        count++;
                        if (count == 20) {
                            alive = false;
                            invalidate();
                        }
                    }
                }
            };
    
            tooltipTimer.scheduleAtFixedRate(tooltipTask, 100, 100);
    
        }
    
        //override add method adds an empty string to tooltip vector:
        public void add(Field field) {
            tooltips.addElement("");
            super.add(field);
        }
    
        //custom add method for fields with tooltip: add(myField, "myTooltip");
        public void add(Field field, String tooltip) {
            super.add(field);
            tooltips.addElement(tooltip);
        }
    
        public void setColours(int backgroundColour, int borderColour, int fontColour) {
            this.backgroundColour = backgroundColour;
            this.borderColour = borderColour;
            this.fontColour = fontColour;
        }
    
        //reset everything when user changes focus,
        //possibly needs logic to check field has actually changed (for listfields, objectchoicefields etc etc)
        protected boolean navigationMovement(int dx, int dy, int status, int time) {
            count = 0;
            alive = true;
            doRedraw = true;
            return super.navigationMovement(dx, dy, status, time);
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
            if (alive) {
                Field focusField = getFieldWithFocus();
                tooltip = (String) tooltips.elementAt(screen.getFieldWithFocusIndex());
    
                //don't do anything outside the norm unless this field has a tooltip:
                if (!tooltip.equals("")) {
                    //get the field content region, this may fall inside the field actual region/coordinates:
                    contentArea = focusField.getContentRect();
                    contentBottom = contentArea.y + contentArea.height;
                    contentRight = contentArea.x + contentArea.width;
    
                    //+4 to accomodate 2 pixel padding on either side:
                    tooltipWidth = graphics.getFont().getAdvance(tooltip) + 4;
    
                    yCoord = contentBottom - focusField.getManager().getVerticalScroll();
                    //check the tooltip is being drawn fully inside the screen height:
                    if (yCoord > (getHeight() - 30)) {
                        yCoord = getHeight() - 30;
                    }
    
                    //check the tooltip doesn't get drawn off the right side of the screen:
                    if (contentRight + tooltipWidth < getWidth()) {
                        xCoord = contentRight;
                    } else {
                        xCoord = getWidth() - tooltipWidth;
                    }
    
                    //draw the tooltip
                    graphics.setColor(backgroundColour);
                    graphics.fillRect(xCoord, yCoord, tooltipWidth, 30);
                    graphics.setColor(borderColour);
                    graphics.drawRect(xCoord, yCoord, tooltipWidth, 30);
                    graphics.setColor(fontColour);
                    graphics.drawText(tooltip, xCoord + 2, yCoord);
                }
            }
            //doRedraw logic prevents infinite loop
            if (doRedraw) {
                //System.out.println("redrawing screen: " + System.currentTimeMillis());
                screen.invalidate();
                doRedraw = false;
            }
        }
    }
    
    package mypackage;
    
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Manager;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.PopupScreen;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    
    class MyTooltip extends PopupScreen{
        int _x;
        int _y;
        TooltipThread _tooltipThread;
    
        private MyTooltip(Manager manager) {
            super(manager);
         }
        public void sublayout(int width, int height)    {
            super.sublayout(width,height);
            setPosition(_x,_y);
            System.out.println("Tooltip x: " + Integer.toString(_x) + ", y: " + Integer.toString(_y));
        }
        protected void applyTheme() {
            // Overriden to suppress Border etc.
        }
        public void removeToolTip() {
            if ( _tooltipThread != null ) {
                _tooltipThread.dismiss();
            }
        }
        private void display(UiApplication uiApp, int x, int y, int displayTime) {
            _x = x;
            _y = y;
            _tooltipThread = new TooltipThread(uiApp, this, displayTime);
            _tooltipThread.start();
        }
    
        public static MyTooltip addToolTip(UiApplication uiApp, String toolTipString, int x, int y, int displayTime) {
            VerticalFieldManager manager = new VerticalFieldManager(Manager.FIELD_VCENTER|Manager.NON_FOCUSABLE) {
                protected void paint(Graphics graphics) {
                    graphics.setColor(0x00FFFFFF); // White
                    graphics.fillRect(0,0,getWidth(),getHeight());
                    graphics.setColor(0x00000000); // Black
                    graphics.drawRect(0,0,getWidth(),getHeight());
                    super.paint(graphics);
                }
            };
            MyTooltip toolTip = new MyTooltip(manager);
            LabelField label = new LabelField(' ' + toolTipString + ' ', LabelField.NON_FOCUSABLE);
            label.setFont(Font.getDefault().derive(Font.PLAIN, 16));
            toolTip.add(label);
            toolTip.display(uiApp, x, y, displayTime);
            return toolTip;
        }
    
        class TooltipThread extends Thread {
    
            Object _notifyObject = new Object(); // Used to allow user to dismiss this Tooltip
            PopupScreen _tooltip; // Screen we are going to display
            UiApplication _ourApplication; // access to pushGlobalScreen and dismissStatus from our Application
            int _displayTime; // in seconds
    
            public TooltipThread(UiApplication ourApplication, PopupScreen tooltip, int displayTime) {
                _tooltip = tooltip;
                _ourApplication = ourApplication;
                _displayTime = displayTime;
            }
    
            public void run() {
                _ourApplication.pushGlobalScreen(_tooltip, 999, false);
                synchronized(_notifyObject) {
                    try {
                        _notifyObject.wait(_displayTime * 1000);
                    } catch (Exception e) {
                    }
                };
                _ourApplication.dismissStatus(_tooltip);
            }
    
            public void dismiss() {
                // notify the waiting object to stop the Thread waiting
                synchronized(_notifyObject) {
                    _notifyObject.notify();
                }
            }
    
        }
    
    }
    
  • ToolTips for menu

    How can I set a ToolTip for a menu item?

    For example, in the contacts built in app when I press and hold the icon search the ToolTip "Search" appears.

    You need bbUI version 0.9.6.144 or later, those included in the bed for example BlackBerry uses 0.9.6.126. Adding tooltips is relatively recent.

    BCR.

  • Dynamic ToolTip for button

    Hello world

    I want to use only a single button for multiple uses.

    I want the ToolTip for this button is changed when I change the end of it.

    But the problem is that we declare the ToolTip on TipTable for each widget.

    This means that we don't have one channel for each widget.

    Is it possible to customize and give him more than a balloon?

    Thanks in advance.

    Hi Duy-NV-Niteco,

    You can replace the iterface id on your boss IID_ITIP touch by your own implementation of the ITip interface.

    Markus

  • ToolTip for interactive reports

    Hi, how can I add ToolTip for interactive report column headings...


    Thank you
    Nihar Narla

    Hello

    This might help
    http://dbswh.webhop.NET/HTMLDB/f?p=blog:read:0:article:2311800346467196

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • ToolTip for the button previous and next in trainButtonBar

    I'm not able to view the ToolTip for the buttons next and previous by using trainButtonBar. Can someone help me on this?

    Published by: 952401 on August 13, 2012 05:50

    Hey Vinay... I think you can try this
    Required fields in a train

    It was exactly the solution you need.

    Thank you
    Serge

  • ToolTip for af:outputLabel

    Can I display a ToolTip for an af:outputLabel?

    Use the attribute shortDesc

    Sample:

    shortDesc = "ToolTip for the output Label" / >

    Thank you
    Nini

  • ToolTip for the table of the ADF

    Hi all

    I am developing web app using jdeveloper 11.1.2

    I have a table dragged and droped on my web page.

    I want to add a ToolTip for each line in the quantity column

    I want to show tooltip as credit if amount < 0 and flow if quantity > 0

    Please tell me how to do this

    Consider using an af:noteWindow:'t-fit-all.blogspot.com/2008/10/jdev-11g-adf-faces-rc-new-component.html http://one-size-doesn

    CM.

  • 11g: how to disable the ToolTip for gauge?

    Hello

    DVT:graph and dvt: gauge (type = LED) displays a ToolTip by default when you move the mouse over the series or leads.

    With dvt:graph you can set the property markertooltiptype to "MTT_NONE" in order to avoid this default ToolTip.
    For dvt: gauge, I can't find such a possibility.

    How to disable the default ToolTip for dvt: gauge too?

    Jdev 11.1.1.0.2

    concerning
    Peter

    Hi Peter,.

    For a gauge, the best way to turn off the ToolTips is to use the attribute renderImagemap with imageFormat = "PNG". For example:

    If instead, you decide to customize the ToolTips of the gauge, you can use the alt attribute to shapeAttributes (without the renderImagemap = 'false'):





    Hope this helps,
    Hugh

  • ToolTips for the image (e.g. on xkcd) do not show

    I'm on firefox 11 (aurora) now. Since about 7 FF, image ToolTips, such as those on the xkcd comic, do not appear when I hover over them. This is even if the Web sites use standard html correctly ("title" attribute used for ToolTips).

    This can result from the Google Toolbar or Direct2D.

    See http://support.mozilla.org/en-US/questions/751043

  • ToolTip for the answer gives no optimal help message

    View using Chrome "19.0.1084.56 m '.

    The forum for each post there is a link to the answer to the right of the message header.

    When my pointer is placed on this link of the ToolTip "click to reply to this topic.

    Indeed, clicking on answer will respond to the message.

    So in my humble OPINION the tip should be more correctly "click to reply to this message.

    .....

    The link to reply to this thread that appears top left under the bread crumbs and the subject thread title actually reply to the thread (ie the original poster).


    It is a minor comment and a personal point of view.

    OK, but I don't think it will be high on the list of changes, a new forum is in preparation.

  • ToolTip for the oracle Forms button

    Hello

    I'm working on forms 6i with database 10g, there is a button in the form my requirement is when my mouse over this button, it should send a message to the user, I want to implement using ToolTip

    To the help of the indicator built into the message appears in the lower left corner of the form but I want to use the ToolTip, please can someone suggest me how to implement this, I used when mouse enter trigger but it does not work.

    Help, please.

    Thanks in advance.

    Hello
    in help, it has ther tooltip, you can type the message you want to display (for type a message that you typed for the tip). If you want to also set the Visual attribute, you can set (which is below the ToolTip).
    It displays the message at run time when moving closer to this particular field...

  • ToolTips for text in the Datagrid control

    Hello

    Can you make datagrid text have ToolTips?  I intend to feed the text of an XML file.

    Thank you.

    I think you're using dataTip for the dataProvider, and you can set up an xml file with a node for the dataTip that coincides with the data in the column box, using the fx: Model in the statements...

    XML file with the repetition of "item" in a folder tags 'data' in the src folder

    FX: Model id = "itemModel" source = "" data / datagrid.xml "/ >"

    Hope that helps...

    ~ B

  • Using to create tooltips for status bar icons

    Does anyone know if there is an easy way, maybe a library I can use to create tool tips that I can use to bring up the information next to my system tray icon?  Or is it something that I have to dive into the SDK to do?  Thanks in advance!

    Hey tstanley-

    CVI does not provide an API to create one of these balloon popups.  However, many other tasks to icon tray can be accomplished with functions in the Toolbox of the programmers.  It is an excellent example that illustrates these functions named Trayicon.

    To create the balloon popup you speak, you're either going to have to manage the API icon by yourself, or make some changes to the toolbox.c source code, because some necessary Manager functions are not exported.  Use this as a reference, I added a few lines of code to toolbox.c (without any verification for clarity of errors) to display a very simple balloon popup.  Let me know if you have any questions.

Maybe you are looking for