This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Mulitple IDs Posts
  • Mulitple IDs #2151

    a.klinger
    Member

    Hello,

    if I have to divs like this :

    And I want to build 2 panels for these divs:

    $(“#content”).jqxPanel({ width: 350, height: 350});
    $(“#content2”).jqxPanel({ width: 350, height: 350});

    It works great…but there is a big mistake…all helper-elements for the panel, like the “panelWrapper” have the same id?
    I can’t believe that it is real?…Your plugins create dom-nodes with the same id? Or is there a thing, that I don’t unterstand?
    Please help, thank you.

    Greetz,
    Adrian

    Mulitple IDs #2152

    Peter Stoev
    Keymaster

    Hi Adrian,

    Thank you for the feedback.

    The inner elements of the Panel are with specific context and especially the panel’s top-most DIV element. This will not break the functionality of the Panel widget. However, I agree that it is not a good practice of having elements with equal ids. We will definitely consider changing this in the upcoming version.

    Best Regards,
    Peter Stoev

    http://www.jqwidgets.com
    jQWidgets Team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.