This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 5 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • error recreating scrollview #68045


    create the scrollview, then create it again. contents is wrong
    see code below:

    <!doctype html>



    .my-scrollview {
    color: #fff;


    <link rel=”stylesheet” type=”text/css” href=”../js/libs/jqwidgets-ver3.6.0/jqwidgets/styles/jqx.base.css” >

    <script src=”../js/libs/jquery-1.11.1.min.js” ></script>

    <script src=”../js/libs/jqwidgets-ver3.6.0/jqwidgets/jqxcore.js”></script>
    <script src=”../js/libs/jqwidgets-ver3.6.0/jqwidgets/jqxscrollview.js”></script>



    <div class=”my-scrollview”></div>

    create scroll view


    pages to create:


    <input class=”pageno” value=”10″/>


    $(document).ready(function() {

    function createScrollView(pageno)
    var str = “”;

    for (var i = 0; i < pageno; i++)
    str += “<div>this is page ” + i + “</div>”;


    var o = $(“.my-scrollview”).jqxScrollView({
    width: 500,
    height: 200,
    buttonsOffset: [0, 10],
    moveThreshold: 0.2,
    slideShow: true,
    slideDuration: 3000,
    showButtons: true

    $(“.create-scroll-view”).click(function(e) {

    var pageno = $(“.pageno”).val();




    error recreating scrollview #68067


    Hello rtessler,

    In the above code you are using class selector create-scroll-view which is not created in your html. You are also using invalid html structure.
    Please, take out the double bodytag from your code. What do you want to do the following line <input class="pageno" value="10"/>?

    Best Regards,

    jQWidgets team

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

You must be logged in to reply to this topic.