Wijmo UI for the Web
wijsuperpanel jQuery Widget
Add custom scrolling, resizing, rounded corners, and drop shadows to any panel on your page with this alternative to the HTML scroll bar for overflow elements.
Syntax
$(function () {
    var options; // Type:  wijmo.superpanel.wijsuperpanel.options
     
    $(".selector").wijsuperpanel(options);
});
function wijsuperpanel() : any;
Options
 NameDescription
public Option

Default value: false

The value determines whether the wijsuperpanel can be resized.

 
public Option

Type: wijmo.superpanel.superpanel_animation

The animationOptions function determines whether or not the animation is shown. If true, it defines the animation effect and controls other aspects of the widget's animation, such as duration, queue, and easing.

 
public Option

Default value: false

This value determines whether wijsuperpanel is automatically refreshed when the content size or wijsuperpanel size are changed. Set this value to true if you load images in the wijsuperpanel without specifying their sizes.

 
public Option

Default value: true

This value determines whether to raise the mouse wheel event when wijsuperpanel is scrolled to the end.

 
public Option

Default value: false

Determines if use custom scrolling.

 
public Option

Type: wijmo.superpanel.superpanel_hscroller

This option contains horizontal scroller settings.

 
public Option

Default value: false

This value determines whether wijsuperpanel provides keyboard scrolling support.

 
public Option

Default value: 100

This value determines the time interval to call the scrolling function when doing continuous scrolling.

 
public Option

Default value: false

Determines if the native scroll events should be listened.

 
public Option

Default value: true

This value determines whether wijsuperpanel has mouse wheel support.

 
public Option

This option determines the behavior of the resizable widget. See the JQuery UI resizable options document for more information.

 
public Option

Default value: true

This value determines whether to show the rounded corner of wijsuperpanel.

 
public Option

Type: wijmo.superpanel.superpanel_vscroller

This option contains vertical scroller settings.

 
Top
Methods
 NameDescription
public MethodDestroys wijsuperpanel widget and reset the DOM element.  
public MethodGets the content element of wijsuperpanel.  
public MethodScroll to horizontal position.  
public MethodDetermine whether scoll the child DOM element to view need to scroll the scroll bar  
public MethodRefreshes wijsuperpanel. Needs to be called after content being changed.  
public MethodRefreshes wijsuperpanel. Needs to be called after content being changed.  
public MethodScroll children DOM element to view.  
public MethodConvert pixel to scroll value. For example, wijsuperpanel scrolled 50px which is value 1 after conversion.  
public MethodScroll to the specified position. which is value 1 after conversion.  
public MethodConvert scroll value to pixel. For example, scroll value is 1 which makes wijsuperpanel scrolled 50px after conversion.  
public MethodScroll to vertical position.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventThis function gets called when the user stops dragging the thumb buttons of the scrollbars.  
public EventThe hScrollerActivating event handler. A function called when horizontal scrollbar is activating.  
public EventThis function gets called after panel is painted.  
public EventResized event handler. This function gets called when the resized event is fired.  
public EventScroll event handler. This function is called before scrolling occurs.  
public EventScrolled event handler. This function gets called after scrolling occurs.  
public EventScrolling event handler. A function called before scrolling occurs.  
public EventA function called when the vertical scrollbar is activating.  
Top
See Also

Widgets

SuperPanel

Reference

wijsuperpanel jQuery Widget