jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • pjp6684
    Participant

    I’ve been having the same problem. If I set the text in the div, the icon and close button are missing.
    Can anyone post some example code with a child div? I also tried putting a child div inside the main jqxNotification div, and got some strange results.
    The image, text and close button all were enclosed in a white box. In the example below, i dont get the image and close button.

    Heres what I did:
    $(document).ready(function () {
    $(“#jqxNotification”).jqxNotification({
    width: “auto”,
    position: “top-left”,
    opacity: 0.9,
    autoOpen: false,
    autoClose: true,
    template: “success”
    });
    });

    <body class=’bodyScroll’>
    <div id=”jqxNotification”>
    </div>
    </body>

    Javascipt:
    $(“#jqxNotification”).html(“Document ID: ” + docid + ” has been unlocked!”);
    $(‘#jqxNotification’).jqxNotification(‘open’);

Viewing 1 post (of 1 total)