Results 1 to 3 of 3

Thread: strange problem with href

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    45

    Question strange problem with href

    I, i've a layout with a panel populated by many jewels thumbnails jpg (populated by ajax calls).
    When i click on a thumb, it will show a panel with some info, in this panel there is a toolbar with the exit (close) button.
    If i click the button, i hide the info panel, but the link of the thumbs under the panel responds to the click too, and it
    will open again another info panel : (
    how can avoid this?

    this is the code that open the panel (in every thumbnail):

    PHP Code:
    var openpanel = function(pic) {
        
    Ext.getCmp('bigpanel2').show();
        
    bigpriceimg(pic);
        
    Ext.getCmp('listabigprezzo').scroller.scrollTo({
            
    x0,
            
    y0
        
    },
        
    true);

    and this is the handler of the exit button:

    PHP Code:
    var exitpanel = function() {
        
    Ext.getCmp('bigpanel2').hide();


  2. #2
    Sencha User
    Join Date
    Jun 2010
    Posts
    220

    Default

    Ticket 143 in the bugs forum

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    220

    Default

    Try using standard sencha elements instead of hyperlinks for now... and never use standard text boxes as sencha can not interact with them, stick to the sencha form components. If you really need a clickable element and can't use out of the box stuff, attach a tap event instead of a click event.

Similar Threads

  1. A strange problem ,need help.
    By TOMMYZHANG in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 12 Jan 2010, 12:54 AM
  2. Strange IE Problem
    By sheddy in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 27 Sep 2008, 6:35 AM
  3. Very Strange Problem !
    By mysticav in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 29 Mar 2007, 12:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •