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

Re: [ydn-javascript] Digest Number 4451

Expand Messages
  • Erica Traywick
    DO NOT EVER SEND Me ANother email!!!!!!!!!!!!!! ... From: To: Date: Thu, Oct 15, 10:24 AM
    Message 1 of 1 , Nov 6, 2009
    • 0 Attachment
      DO NOT EVER SEND Me ANother email!!!!!!!!!!!!!!

      ------Original Message------
      From: <ydn-javascript@yahoogroups.com>
      To: <ydn-javascript@yahoogroups.com>
      Date: Thu, Oct 15, 10:24 AM +0000
      Subject: [ydn-javascript] Digest Number 4451

      There are 7 messages in this issue.

      Topics in this digest:

      1a. Re: Attractive Tooltip
      From: Daniel

      2a. Yahoo DataTable question
      From: tom hopkins
      2b. Re: Yahoo DataTable question
      From: tom hopkins

      3. How to access data already in data table
      From: niral trivedi

      4a. Calendar question
      From: Zapp
      4b. Re: Calendar question
      From: Satyen Desai

      5. Animation for hidden elements in yui2
      From: aravind dinakar


      Messages
      ________________________________________________________________________
      1a. Re: Attractive Tooltip
      Posted by: "Daniel" ikaro75@... ikaro751
      Date: Wed Oct 14, 2009 5:38 am ((PDT))

      Hi Rob,

      I use this classes to style tooltip:

      .yh_tt_div {
      background-color:#FFFFCC;
      padding: 11px;
      border: 1px solid #000000;
      }
      .yh_tooltip {
      font-size: 11px; font-family:Verdana, Arial, Helvetica, sans-serif;
      }
      .tt_header {
      position: relative;
      width: 150px;
      height: 19px;
      background-image: url(tip_header.gif);
      margin-bottom: 3px;
      }
      .tooltip {
      display: none;
      }
      .fonttooltip {
      font:Verdana, Arial, Helvetica, sans-serif;
      font-size:10px;
      text-align:justify;
      }

      Here is a functional example:
      http://www.amtcapacita.com.mx/cursos.html




      2009/10/13 Rob Gunther <redrob@...>

      >
      >
      > I have tried the tooltip, and while it works... it doesn't look so nice.
      > I realize you have the option to style it yourself, however my artistic
      > ability is lacking (I can't even draw an attractive stick figure).
      >
      > I found prototip for prototype, and it has some very attractive layouts and
      > great features.
      >
      > Does anyone know of an addon like this for yahoo yui? Or even some styling
      > for the yahoo tooltip?
      >
      >
      >




      Messages in this topic (2)
      ________________________________________________________________________
      ________________________________________________________________________
      2a. Yahoo DataTable question
      Posted by: "tom hopkins" tomethens@... tomethens
      Date: Wed Oct 14, 2009 12:56 pm ((PDT))

      Hi Guys,

      I am running into an issue where DataTable is not able to load one of columns.

      I am using XML format to populate the table.

      Here's code snippet
      .
      myDataSource.responseType = YAHOO.util.DataSource.TYPE_XML;
      var myColumnDefs = [
                  {key:"Resolution"},
                  {key:"Status", sortable:true},
                   {key:"Trouble Ticket"},
                  {key:"Prb Type"},
                 ];

      myDataSource.responseSchema = {
                  metaFields: {rootatt:"/markers"},
                  resultNode: "marker",
                  fields: [{key:"Resolution", locator:"@res"},
                          {key:"Trouble ticket",locator:"@ABCTkt"},
                                    {key:"Status", locator:"@status"},
                          {key:"Problem Type", locator:"@prbtype"}
                      ]
              };

      Here's my XML(just 1 row):
      <markers>
      <marker res="abc" status="Closed" priority="P3" prbtype="XYZ" ABCTkt="ABC000003033400"/>
      </markers>

      Everything is loaded fine except for "Trouble Ticket" column which remains blank.

      Any help is much appreciated.

      Thanks
      Tom.







      Messages in this topic (2)
      ________________________________________________________________________
      2b. Re: Yahoo DataTable question
      Posted by: "tom hopkins" tomethens@... tomethens
      Date: Wed Oct 14, 2009 1:02 pm ((PDT))

      Never mind..I found the problem .

      A small "t" in "Trouble ticket" was the problem

      var myColumnDefs = [
                  {key:"Resolution" },
                  {key:"Status" , sortable:true} ,
                   {key:"Trouble Ticket"},
                  {key:"Prb Type"},
                 ];

      Response Schema had-   {key:"Trouble ticket",locator: "@ABCTkt" },

      Its been a long week...

      Thanks everyone.

      Regards,
      Tom

      --- On Wed, 10/14/09, tom hopkins <tomethens@...> wrote:

      From: tom hopkins <tomethens@...>
      Subject: [ydn-javascript] Yahoo DataTable question
      To: ydn-javascript@yahoogroups.com
      Date: Wednesday, October 14, 2009, 12:55 PM






       





      Hi Guys,

      I am running into an issue where DataTable is not able to load one of columns.

      I am using XML format to populate the table.

      Here's code snippet
      .
      myDataSource. responseType = YAHOO.util.DataSour ce.TYPE_XML;
      var myColumnDefs = [
                  {key:"Resolution" },
                  {key:"Status" , sortable:true} ,
                   {key:"Trouble Ticket"},
                  {key:"Prb Type"},
                 ];

      myDataSource. responseSchema = {
                  metaFields:
      {rootatt:"/markers" },
                  resultNode: "marker",
                  fields: [{key:"Resolution" , locator:"@res" },
                          {key:"Trouble ticket",locator: "@ABCTkt" },
                                    {key:"Status" , locator:"@status" },
                          {key:"Problem Type", locator:"@prbtype" }
                      ]
              };

      Here's my XML(just 1
      row):
      <markers>
      <marker res="abc" status="Closed" priority="P3" prbtype="XYZ" ABCTkt="ABC00000303 3400"/>
      </markers>

      Everything is loaded fine except for "Trouble Ticket" column which remains blank.

      Any help is much appreciated.

      Thanks
      Tom.

































      Messages in this topic (2)
      ________________________________________________________________________
      ________________________________________________________________________
      3. How to access data already in data table
      Posted by: "niral trivedi" niralntrivedi@... niralntrivedi
      Date: Wed Oct 14, 2009 1:36 pm ((PDT))

      Hi,
      I am using data table and i can display data inside data table but once user edits the table content then i don't know the way to access the table content and store it back into variables to process it further.
      Can anyone help me with this simple question.
      Thanks,
      Niral Trivedi 
      (M) 1-408-348-3968
      E-mail: niralntrivedi@...   ?Information is world?s new currency.?


      Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore



      Messages in this topic (1)
      ________________________________________________________________________
      ________________________________________________________________________
      4a. Calendar question
      Posted by: "Zapp" bzappasodi@... bzappasodi
      Date: Wed Oct 14, 2009 4:30 pm ((PDT))

      All

      Any examples of how to make every Saturday not selectable?
      I can configure it to prevent days previous to today to not be selectable.

      Thanks in advance

      BZ






      Messages in this topic (2)
      ________________________________________________________________________
      4b. Re: Calendar question
      Posted by: "Satyen Desai" sdesai@... sdezzi
      Date: Wed Oct 14, 2009 4:41 pm ((PDT))

      Hi,
      You can use the render stack as shown here: http://developer.yahoo.com/yui/examples/calendar/render.html

      Regards,
      Satyen

      On Oct 14, 2009, at 4:29 PM, Zapp wrote:

      > All
      >
      > Any examples of how to make every Saturday not selectable?
      > I can configure it to prevent days previous to today to not be
      > selectable.
      >
      > Thanks in advance
      >
      > BZ
      >
      >
      >






      Messages in this topic (2)
      ________________________________________________________________________
      ________________________________________________________________________
      5. Animation for hidden elements in yui2
      Posted by: "aravind dinakar" dinakar31@... dinakar31
      Date: Thu Oct 15, 2009 1:46 am ((PDT))

      Hi,

      I have a <div> which is hidden on page load but want it to be displayed when
      clicked on a button. I am trying to use animate() but after the function is
      executed, the width, height of the target still remain at 0(as seen in
      firebug, alerts).
      Is there something that I am missing? I am using float: attributes in my
      HTML. Any problem with that ?

      <!-- Div to be animated -->
      <div id="testPanel" style="display:none; border-style: solid; padding:
      2em;">
      <center> <b>test panel</b></center> <br />
      <button id="testHide">Hide</button>
      </div>

      <!-- Animation function -->
      (function() {
      alert('initializing..animation'); // This displays correctly on Page
      Load
      var attributes = {
      width: { to: 200 },
      height: { to: 200 }
      };
      var anim = new YAHOO.util.Anim('testPanel', attributes, 1.5,
      YAHOO.util.Easing.easeOut);

      YAHOO.util.Event.on('pageM3', 'click', function() {
      anim.animate();
      document.getElementById('testPanel').style.display = '';
      alert("width="+document.getElementById('testPanel').style.width);
      // This displays blank value
      alert("height="+document.getElementById('testPanel').style.height);
      // This displays blank value
      });
      })();

      <!-- Style Sheet -->
      <style type="text/css">
      #testPanel {
      background:#ccc;
      margin-bottom:1em;
      overflow:hidden;
      width:0px;
      height:0px;
      }
      </style>


      Thanks,
      Dinakar




      Messages in this topic (1)





      ------------------------------------------------------------------------
      Yahoo! Groups Links



      ------------------------------------------------------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.