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
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.superpanel.wijsuperpanel.options
     
    $(".selector").wijsuperpanel(options);
});
Javascript (Specification) 
function wijsuperpanel() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public OptionallowResize

Default value: false

The value determines whether the wijsuperpanel can be resized.

 
public OptionanimationOptions

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 OptionautoRefresh

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 OptionbubbleScrollingEvent

Default value: true

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

 
public OptioncustomScrolling

Default value: false

Determines if use custom scrolling.

 
public OptionhScroller

Type: wijmo.superpanel.superpanel_hscroller

This option contains horizontal scroller settings.

 
public OptionkeyboardSupport

Default value: false

This value determines whether wijsuperpanel provides keyboard scrolling support.

 
public OptionkeyDownInterval

Default value: 100

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

 
public OptionlistenContentScroll

Default value: false

Determines if the native scroll events should be listened.

 
public OptionmouseWheelSupport

Default value: true

This value determines whether wijsuperpanel has mouse wheel support.

 
public OptionresizableOptions

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

 
public OptionshowRounder

Default value: true

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

 
public OptionvScroller

Type: wijmo.superpanel.superpanel_vscroller

This option contains vertical scroller settings.

 
Top
Methods
 NameDescription
public MethoddestroyDestroys wijsuperpanel widget and reset the DOM element.  
public MethodgetContentElementGets the content element of wijsuperpanel.  
public MethodhScrollToScroll to horizontal position.  
public MethodneedToScrollDetermine whether scoll the child DOM element to view need to scroll the scroll bar  
public MethodpaintPanelRefreshes wijsuperpanel. Needs to be called after content being changed.  
public MethodrefreshRefreshes wijsuperpanel. Needs to be called after content being changed.  
public MethodscrollChildIntoViewScroll children DOM element to view.  
public MethodscrollPxToValueConvert pixel to scroll value. For example, wijsuperpanel scrolled 50px which is value 1 after conversion.  
public MethodscrollToScroll to the specified position. which is value 1 after conversion.  
public MethodvScrollToScroll to vertical position.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventdragStopThis function gets called when the user stops dragging the thumb buttons of the scrollbars.  
public EventhScrollerActivatingThe hScrollerActivating event handler. A function called when horizontal scrollbar is activating.  
public EventpaintedThis function gets called after panel is painted.  
public EventresizedResized event handler. This function gets called when the resized event is fired.  
public EventscrollScroll event handler. This function is called before scrolling occurs.  
public EventscrolledScrolled event handler. This function gets called after scrolling occurs.  
public EventscrollingScrolling event handler. A function called before scrolling occurs.  
public EventvScrollerActivatingA function called when the vertical scrollbar is activating.  
Top

See Also

Widgets

SuperPanel

Reference

wijsuperpanel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.