- This topic is empty.
-
AuthorPosts
-
January 10, 2012 at 9:07 am #36048Historical Forums UserParticipant
I’m having a problem with anything slider :(
It seems to have suddenly stopped working in IE over the Christmas holiday??? Our client has come back saying that instead of sliding through the pages it now scrolls and the next and previous button don’t work. Can someone take a look as its doing my head in!
It can be seen here:
It seems to work in every other browser than IE.
Any help would be appreciated.
January 10, 2012 at 4:08 pm #94391MottieMemberHi 2sco!
If you look in this file, you’ll see this code…
$(function(){
$('#slider').anythingSlider({
// If true, builds a list of anchor links to link to each panel
buildNavigation : false,
buildStartStop : false, // If true, builds the start/stop button
startPanel : 1, // This sets the initial panel
hashTags : true, // Should links change the hashtag in the URL?
});
$('#fwd, #bck').click(function(){
var direction = (this.id === 'fwd') ? 'goForward' : 'goBack';
$('ul[id^=slider]').each(function(){
$(this).data('AnythingSlider')[direction]();
});
});
});//]]>IE hates trailing commas, so the comma after “hashTags: true” needs to be removed.
January 10, 2012 at 6:43 pm #94397BaldieboyParticipantI am loving this slider. I can include both images and html5 videos in the same slideshow. Love it! The only issue I’m having is that, although my images are all the same size, some are portrait and some are landscape but I don’t want the slider to resize as it messes my page layout up, nor do I want to resize them to fit the container as then the portrait images just get stretched. Is there any way of forcing a crop or even better a resize of the portrait images to the container height while maintaining ratio (ie. bit of blank space on both sides).
January 10, 2012 at 7:09 pm #94400MottieMember@Baldieboy: Please check out my answer in the other post.
January 11, 2012 at 4:25 am #94415Historical Forums UserParticipantMottie, you are a genius!!!
I was messing around with it for around 4 hours yesterday and all I had to do was remove a comma!! Annoying but thank you very much, it all works fine now!
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.