Log in

View Full Version : Scrolling Html Bookmarks conflicting with slider



Esther145
08-17-2015, 08:29 PM
Hi there,

I've been re-doing my website and I added in a full width slider provided by Serif Addons, and thought it'd be nice to have smooth scrolling as well.. only problem is when I put in the code for that, it then makes the slider disappear. I've had this sort of problem before when I had two types of sliders in one website, and by adding

$.noConflict();
jQuery(function($) {

I was able to make them work at the same time.. however, trying this with the html bookmarks, didn't work.

I'm not a coder really, so any help would be very appreciated!

Thanks!

Beverleyh
08-17-2015, 08:53 PM
It's hard to troubleshoot without anything to work with.

If you post a link to your page that demonstrates the problem, there's a greater chance that somebody will help you.

Also provide source links to the scripts youre referring to for comparisons/documentation.

Esther145
08-18-2015, 12:25 PM
Oh yes, sorry about that!

The link is: http://www.ekdesigns.co.uk/demo/

The slider bit starts with <link rel="stylesheet" href="full-width-slide-styles.css">

I hope that's easier to understand now..

Thanks!

Beverleyh
08-18-2015, 02:52 PM
For starters, you're linking to 2 jQuery libraries - you only need one and it should load before any jQuery plugins or initialisation scripts.

Removing the 2nd library (and maybe re-ordering scripts as per plugin/init comment above) may or may not fix things, but you mention 2 scripts in your first post; a scroller and a slider. Please provide links to the source demos for those comparison/documentation.

Esther145
08-18-2015, 08:20 PM
I'm not entirely sure what a jquery library is.. so if you could tell me what I need to remove? :)

I've attached two files - one for the slider code (which is two sections, the first bit is what I received as an addon that just went into a html fragment directly on the page, and the second bit is what I had to paste in Page Body Start) and I've also attached the code for the html scroller from this site.

57145713

Thanks!