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

7493Re: Tooltip not rendered.

Expand Messages
  • par_pra_mukh
    Dec 14, 2006
    • 0 Attachment
      Hi Satish,

      You need to change the following lines
      <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" />

      with the following one

      <script type="text/javascript" src="lib/YahooUI/yahoo/yahoo.js" ></script>
      <script type="text/javascript" src="lib/YahooUI/event/event.js" ></script>
      <script type="text/javascript" src="lib/YahooUI/dom/dom.js" ></script>
      <script type="text/javascript"
      Src="lib/YahooUI/container/container.js" ></script>

      Partha

      --- In ydn-javascript@yahoogroups.com, "Satish" <mummsat@...> wrote:
      >
      > 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?
      >
      > __________________________________________________
      > <html>
      > <head>
      > <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" />
      >
      > <script>
      > YAHOO.namespace("example.container");
      > </script>
      >
      > </head>
      > <body>
      >
      > <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>
      >
      > <script>
      > 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" });
      > </script>
      >
      > </body>
      > </html>
      > __________________________________________________
      >
    • Show all 3 messages in this topic