- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi Im trying to embed anything slider on my wordpress website but its not working
https://css-tricks.com/examples/AnythingSlider/#&panel1-1
I have embeded all the scripts and stylesheet properly but its not working for me.
What mistake m I making
Thanks,
Inspect your page and look in the console, you’ll find lots of 404 errors and two different JS errors.
@deeve007 I just tried Meteor Slides Plugin, it looks like that its only for images, I want to use videos.
@The Doc I checked 404 error , most of them are for images. I can’t figure out why its not working
thanks for replying
Well actually I was trying to get this one work , I’ll keep Meteor slider as my next option but I figured something that jquery is not working on my wordpress after I use anything slider, I m sure there must some conflict.
Because when I try
jQuery(‘document’).ready(function(e) {
alert(‘dfdf’);
});
OR
$(‘document’).ready(function(e) {
alert(‘dfdf’);
});
It doesnt’ alert anything but when I just type alter(‘dfdf’); it alerts.
It worked, just had to wrap my code in
(function($) {
// rest code here.
})( jQuery );
Thanks for all your help
@ghafirsayed For future reference, the `document` shouldn’t have been inside of quotes:
$(document).ready(function(){ … });
the format you ended up using works best when it is at the bottom of the page.