AnythingSlider icon indicating copy to clipboard operation
AnythingSlider copied to clipboard

Anything Slider Requirements

Open DDmUSA opened this issue 13 years ago • 9 comments

I would like to have the demo #3 from the following page appear within one of my pages.

http://css-tricks.github.io/AnythingSlider/demos.html

When I place the sample code into my page for the header, css and the html, the slider doesn't seem to appear as a slider. I end up getting four static images on the page.

What am I missing ?

DDmUSA avatar May 26 '13 07:05 DDmUSA

Hi @DDmUSA!

It sounds like there is a javascript error. Press F12 in your browser and look in the console.

Possible errors that would prevent the slider from working include:

  • Missing jQuery, AnythingSlider css file or AnythingSlider js file.
  • Missing AnythingSlider FX extension, but only if you are attempting to use it and it doesn't exist.
  • Not wrapping the code in a document ready event: $(function(){ /* code here */ }); and the script is above the HTML (not applicable if all of the javascript is at the bottom of your page).
  • Javascript error from another source preventing the AnythingSlider initialization code from executing.
  • In IE, make sure there are no trailing commas in the initialization code.

Also required, but won't prevent the slider from working are:

  • easing plugin (since demo 3 uses it)

If none of the above helps, then please share a link to your site or your initialization code and/or any javascript errors you encounter.

Mottie avatar May 26 '13 12:05 Mottie

Thanks for the guidance.

I do see the content as a slider now but my images are appearing larger than the area I have defined for the slider. Additionally, I would like to get rid of the numbered tabs below the slider, to only have the images and the start/stop control appear.

Please advise (and thanks in advance.....)

DDmUSA avatar May 26 '13 16:05 DDmUSA

If you want or need to see where I want to use the slider, the page is located at: http://continentalconcrete.com/sample1/index-1.html

The size for the slider area should be: 467 x 350 pixels.

DDmUSA avatar May 26 '13 16:05 DDmUSA

In the index-1.css file, #slider3 is defined as being 500 x 400. Change that and it should fix the problem.

Mottie avatar May 26 '13 16:05 Mottie

I noticed that I also had to eliminate some padding in order for the images to appear within the centered window-like area I had reserved for this element.

Last but not least..... where would I edit to eliminate the numbered tabs that appear as links beneath the images?

DDmUSA avatar May 27 '13 01:05 DDmUSA

To turn off the navigation tabs, just set the buildNavigation option to false.

Mottie avatar May 27 '13 12:05 Mottie

Hello again,

I tried including the forward and back arrows to the page, and I can't seem to get the forward arrow to function. The back arrow seems to be a clickable link.

What am I missing here ?

URL of sample page: http://continentalconcrete.com/sample1/index-1.html

DDmUSA avatar May 28 '13 03:05 DDmUSA

Never mind..... I found my mistake !!!!!

DDmUSA avatar May 28 '13 03:05 DDmUSA

I'm guessing this issue has been resolved. If not, please feel free to post a message here for me to reopen it and I will try to assist you further.

Mottie avatar Oct 04 '13 16:10 Mottie