Open jQuery Ui dialogs from simple link

Discussion in 'jQuery' started by samyak, Dec 4, 2014.

  1. #1
    I want to open login /registration dialogs from simple links on the navigation menu. but jquery adds ui-button class to those links and turns then into ugly buttons. How do I prevent this behaviour on : http://www.kullabs.com/
     
    samyak, Dec 4, 2014 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Just don't attach the button-class to them? If they turn into ui-button, that's because you've assigned the as such.
     
    PoPSiCLe, Dec 4, 2014 IP
  3. samyak

    samyak Active Member

    Messages:
    280
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    90
    #3
    I didnt add those ui-button ui-widget ... classes to those link. Only class I have on the code is 'open-login-form'. Jquery seems to add those button classes to all the links that open a dialog.
    The 'register' link I added on the login form dialog has been changed as well.
     
    samyak, Dec 4, 2014 IP
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    Took a look now, seems you fixed it?
     
    PoPSiCLe, Dec 5, 2014 IP