Results 1 to 4 of 4

Thread: BasicDialog and Yahoo tooltip

  1. #1

    Default BasicDialog and Yahoo tooltip

    Hi

    Does someone already try to have a yahoo tooltip on a div which is in a basicdialog.

    The z-index of the tooltip is smaller than the dialog so they are not visible.

    Any solution?

    thanks a lot

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    153

    Default

    Couldn't you use Element's setStyle to make your tooltip appear above everything?

  3. #3

    Default

    alex1r, I don't understand what you are asking. Also tooltips are made with Yahoo UI, you don't *need* to use yui-ext for a tooltip since Yahoo UI takes care of them already.

    Here is an example using Yahoo UI:

    Code:
    		<script type="text/javascript">
    			YAHOO.example.container.tt1 = new YAHOO.widget.Tooltip("tt1", { context:"ctx", text:"My text was set using the 'text' configuration property" });
    </script>
    		<div id="ctx">Hover over me to see a Tooltip!</div>
    You can read more here:

    http://developer.yahoo.com/yui/examp...tooltip/1.html

    Is this the answer you were looking for? If not please paste your code since I don't really understand your question.

  4. #4

    Default

    I have solved my problem by setting a z-index:12000; in the file container.css for the class .tt.

    So now, the tooltips are always on top.

    Thanks

Similar Threads

  1. how to add tooltip to an element?
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 3 Mar 2007, 10:19 PM
  2. how to hide button after adding to Yahoo.ext.BasicDialog
    By ravichandra in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 27 Feb 2007, 12:31 AM
  3. BasicDialog + YAHOO.widget.OverlayManager
    By christocracy in forum Community Discussion
    Replies: 2
    Last Post: 7 Nov 2006, 3:18 AM
  4. YAHOO.ext.BasicDialog - where are the Docs?
    By JohnT in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 4 Nov 2006, 2:14 PM
  5. ToolTip for row of grid
    By faizur in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 28 Oct 2006, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •