THANK YOU!!
https://www.ads-software.com/plugins/vr-jscrollpane-shortcode/
]]>I am developing a site here:
https://ally2.alchemycs.com
On the home page, in the middle where it says “Screenings,” there is a box with scrollbars. The site should be using jScrollPane to make the scrollbars match the design of the rest of the site. It worked fine before 3.5, but when I upgraded to 3.5, it broke and jScrollPane no longer works. Now I get an error message:
Error: Permission denied to access property 'toString'
This error message is caused by the embedded Vimeo video. If I take that out, I get a new error message:
Error: Syntax error, unrecognized expression: [type="text/javascript"],not([type])
That message is caused by modernizr.js, so if I disable that, I get a new error message:
Error: Syntax error, unrecognized expression: [type="text/javascript"],not([type])
It says that this error occurs in line 2 of jquery.min.js, which is being served by Google, so I know it doesn’t have errors in it.
In 3.4.2, this doesn’t happen. In 3.5, it does. Disabling all of the plugins doesn’t fix it.
Any suggestions for what to do next?
]]>$(‘.scroll-pane’).jScrollPane({
verticalDragMinHeight: 100, < want to add this
verticalDragMaxHeight: 100 < want to add this
});
https://www.ads-software.com/extend/plugins/wp-jscrollpane/
]]>Can someone help me installing a jscrollpane scrollbar on my site ?
I would like to have a custom scrollbar in my main content (homepage, posts and pages). For example : https://www.thetaikonauts.org/tour/
In my child theme, in a “scroller” folder, I have this :
– A “script” folder, containing “jquery.jscrollpane.js”, “jquery.jscrollpane.min.js”, jquery.mousewheel.js and “mwheelIntent.js”.
– A “style” folder, containing “jquery.jscrollpane.css”
– A “themes” folder, containing the “Lozenge” theme.
I downloaded all these files from https://jscrollpane.kelvinluck.com/index.html
I’ve modified my “header.php”, adding this before </head> :
<script src="<?php echo get_stylesheet_directory_uri(); ?>/scroller/script/jquery.jscrollpane.js" ></script>
<!-- styles needed by jScrollPane -->
<link type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/scroller/style/jquery.jscrollpane.css" rel="stylesheet" media="all" />
<!-- latest jQuery direct from google's CDN -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script>
<!-- the mousewheel plugin - optional to provide mousewheel support -->
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/scroller/script/jquery.mousewheel.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/scroller/script/jquery.jscrollpane.min.js"></script>
I don’t understand where I have to put `$(function()
{
$(‘.scroll-pane’).jScrollPane();
});`
I also don’t know what I have to write in the “WP jScrollPane Settings” plugin window (element, selector…).
Thanks a lot !
]]>Example: https://www.sadiejayne.nl/media/photos/
So jScrollPane breaks up the Photos page at the bottom and doesn’t show a scroll bar in a gallery page. What can be the issue?
Thanks a lot!!
]]><a name="one" id="one">one</a>
https://litl.michalweb.pl/events#one
I think that I made a mistake in my sidebar.php, because when I put anchors outside of this:
<?php
if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
<?php wp_list_bookmarks( 'show_description=1&limit=4&between=<br />'); ?>
<?php endif; ?>
then it works.
I tried to look for the solution on the forum, google it or even placed similar question on stackoverflow bot nothing helped. Right now I have no idea what is wrong and Im not even sure which part of the code is responsible for my problem. If someone would be interested in helping me then I can put more code. I simply didnt know which part of the code might cause problems.
Thanks a lot.
Michal