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

Re: [ydn-javascript] YAHOO.widget.Effects

Expand Messages
  • dav.glass@yahoo.com
    Mic - Put a new in front of YAHOO.widget.Effects, like this: new YAHOO.widget.Effects.BlindLeft( box-content , {bind: right }); Hope that helps :) Dav Dav
    Message 1 of 2 , Oct 6 7:06 PM
    • 0 Attachment
      Mic -

      Put a new in front of YAHOO.widget.Effects, like this:
      new YAHOO.widget.Effects.BlindLeft("box-content", {bind: 'right'});

      Hope that helps :)
      Dav Glass
      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +

      ----- Original Message ----
      From: rupnaldo <rupnaldo@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Saturday, October 6, 2007 6:15:33 PM
      Subject: [ydn-javascript] YAHOO.widget.Effects


      I'm trying to load the new content to box with the widget above. But
      this should't work as I assumed ...

      function boxHandler( obj )
      // Use the response...
      YAHOO.widget. Effects.BlindLef t(YAHOO.util. Dom.get(" box-content" ).id,
      {bind: 'right'});
      YAHOO.util.Dom. get("box- content") .innerHTML = obj.responseText;
      YAHOO.util.Dom. addClass( 'bx-'+index, 'active');
      YAHOO.util.Dom. removeClass( 'bx-'+currBoxInd ex, 'active');
      YAHOO.box.cache. setData(' currBoxIndex' , index);

      var surl = './inc/news. php?boxIndex= '+index;
      YAHOO.util.Connect. asyncRequest( "GET", surl,
      success: boxHandler

      Thanks & Regards

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