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

Re: [ydn-javascript] Re: YAHOO.widget.Panel - scrollbar problem with IE & Mozilla

Expand Messages
  • Nadim Bahadoor
    hi satyen, great suggestion, i will try it t rw at work. thanks again! Satyen Desai wrote: Hi, Sounds like you need to prevent default
    Message 1 of 3 , Oct 11, 2007
    • 0 Attachment
      hi satyen,
       
      great suggestion, i will try it t'rw at work.  thanks again!


      Satyen Desai <sdesai@...> wrote:
      Hi,

      Sounds like you need to prevent default behavior for the a href="#"
      click event. e.g.

      YAHOO.util.Event. addListener( "showPnl1" , "click", function(e) {
      YAHOO.util.Event. preventDefault( e);
      YAHOO.example. container. pnl1.show( );
      });

      This is not related to Panel/TabView. You're just trying to stop the
      browser from jumping to the top of the page when you click on an
      unnamed fragment/anchor identifier (the "#")

      Hope that helps,
      Satyen



      Be a better Heartthrob. Get better relationship answers from someone who knows.
      Yahoo! Answers - Check it out.

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