Changeset 25465 in main
- Timestamp:
- 07/01/22 12:10:23 (6 weeks ago)
- Location:
- trunk/ibisph-view/src/main/webapp
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/css/stylesheet.css
r20061 r25465 25 25 @import url("PleaseWait.css"); 26 26 @import url("Popup.css"); 27 @import url("scrollUp.css"); 27 28 @import url("SocialMedia.css"); 28 29 -
trunk/ibisph-view/src/main/webapp/js/jquery.scrollUp.js
r25457 r25465 127 127 128 128 // Defaults 129 $.fn.scrollUp.defaults = { 130 scrollName: 'scrollUp', // Element ID 131 scrollDistance: 600, // Distance beyond the browser window height before showing (px) 132 scrollFrom: 'top', // 'top' or 'bottom' 133 scrollSpeed: 300, // Speed back to top (ms) 134 easingType: 'linear', // Scroll to top easing (see http://easings.net/) 135 animation: 'fade', // Fade, slide, none 136 animationSpeed: 200, // Animation in speed (ms) 137 scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object 138 scrollTarget: false, // Set a custom target element for scrolling to. Can be element or number 139 scrollText: 'Scroll to top', // Text for element, can contain HTML 140 scrollTitle: false, // Set a custom <a> title if required. Defaults to scrollText 141 scrollImg: false, // Set true to use image 142 activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF' 143 zIndex: 2147483647 // Z-Index for the overlay 129 $.fn.scrollUp.defaults = 130 { 131 "scrollName": "scrollUp" // Element ID 132 ,"scrollDistance": 400 // Distance from top/bottom before showing element (px) 133 ,"scrollFrom": "top" // "top" or "bottom" 134 ,"scrollSpeed": 150 // Speed back to top (ms) - because this is a simple not smooth do it fast. 135 ,"easingType": "swing" // linear or swing 136 ,"animation": "slide" // fade, slide, none 137 ,"animationSpeed": 300 // Animation speed (ms) 138 ,"scrollTrigger": false // Set a custom triggering element. Can be an HTML string or jQuery object 139 ,"scrollTarget": false // Set a custom target element for scrolling to. Can be element or number 140 ,"scrollText": "" // < Text for element, can contain HTML 141 ,"scrollTitle": "scroll to top" // Set a custom [a] title if required. Defaults to scrollText. 142 ,"scrollImg": false // Set true to use image 143 ,"activeOverlay": false // Set CSS color to display "scrollUp active point, e.g "#00FFFF" - used for debugging 144 ,"zIndex": 2147483647 // Z-Index for the overlay 144 145 }; 145 146 -
trunk/ibisph-view/src/main/webapp/xslt/html/Page.xslt
r25457 r25465 319 319 320 320 <script src="js/jquery.js"/> 321 <script src="js/jquery.scrollUp.js"/> 321 322 <script src="js/jquery.wikitohtml.js"/> 322 323 <script src="js/kendo.js"/> … … 333 334 window.baseRequestPath = "<xsl:value-of select="$ibis.baseRequestPath"/>"; 334 335 window.encodedPageRequestURI = encodeURI(location.href); 336 337 // add the scroll to top code 338 $(function () { $.scrollUp() }); 335 339 336 340 // Add the wiki processing if any element uses it. This should
Note: See TracChangeset
for help on using the changeset viewer.