javascript - JScrollpane will not style scrollbar -


I have a div that I should be able to scroll. Unfortunately, the default browser is very ugly, I'm trying to use a tough test to roam around.

It does not appear to cooperate with me: I've added the necessary links with the JQuery course

     

My files are related to the structure, and

   
& lt; Div id = "shop" & gt; & Lt; Div class = "item" data-id = "1" data-name = "this is a great deal here" data-value = "47.50" & gt; & Lt; P & gt; & Lt; Button class = "add-to-cart" type = "button" & gt; Add & lt; / Button & gt; & Lt; / P & gt; & Lt; P class = "itemprice" & gt; This is the longest sentence you got & lt; / P & gt; & Lt; / Div & gt; & Lt; / Div & gt;

With the CSS value of the overflow: Auto;

I have also tried to overflow: hidden; But he has not worked either. I'm still living with ugly scrollbars. I have not received a JScript error, what's going on with this?

I have used jScrollPane earlier and you need a container basically, a paragraph Call a cover, and then jScrollPane, which you need to start again if the container has a scrollbar, then the AJAX response happens.

Based on your code, I'll assume that your HTML looks like this:

   
  & lt; Script & gt; $ ('Wordxchange'). JScrollPane ({autoReinitialize: true}); & Lt; / Script & gt;    

Comments