Loading ...
Sorry, an error occurred while loading the content.

7463Tooltip not rendered.

Expand Messages
  • Satish
    Dec 13, 2006
    • 0 Attachment
      This is the tooltip example mentioned on the documentation online; But for some weird reason this doesnt seem to working; I have lib/YahooUI folder which contains the latest Yahoo UI Library. Can some one help me with this?

      <title>Untitled Document</title>
      <link type="text/css" rel="stylesheet" href="lib/YahooUI/fonts/fonts.css" >
      <link type="text/css" rel="stylesheet" href="lib/YahooUI/reset/reset.css" >
      <script type="text/javascript" src="lib/YahooUI/yahoo/yahoo.js" />
      <script type="text/javascript" src="lib/YahooUI/event/event.js" />
      <script type="text/javascript" src="lib/YahooUI/dom/dom.js" />
      <script type="text/javascript" src="lib/YahooUI/container/container.js" />
      <link type="text/css" rel="stylesheet" href="lib/YahooUI/container/assets/container.css" />

          <div id="ctx" style="background:orange; width:200px; height:200px;">Hover over me to see a Tooltip!</div>
          <a id="link" href="http://www.yahoo.com/" title="Do You Yahoo?">Hover over me to see a Tooltip!</a>
                  YAHOO.example.container.tt1 = new YAHOO.widget.Tooltip("tt1", { context:"ctx", text:"My text was set using the 'text' configuration property" });
                  YAHOO.example.container.tt2 = new YAHOO.widget.Tooltip("tt2", { context:"link" });

    • Show all 3 messages in this topic