You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demo page is using the latest version of AnythingSlider which only supports jQuery 1.4+ as stated in the last line of the "Features" on the main demo page. If you want to make AnythingSlider work with version 1.3.2, you'll need to un-comment out the last section of the non-compressed script (it's not even in the compressed version)
As for the jsFiddle working with the newest expand option, I haven't been able to get it to work there, but it works fine on my desktop... I'll try to figure out why it doesn't work there.
I stand corrected... I just switched a selector in the last update that I discovered wasn't added until jQuery 1.4. I'll fix it in the next update. If you need it now, just change line 201 and 206 from this:
// line 201base.$el.prepend(base.$items.last().clone().addClass('cloned').removeAttr('id'));// line 206base.$el.append(base.$items.first().clone().addClass('cloned').removeAttr('id'));
to this:
// line 201base.$el.prepend(base.$items.filter(':last').clone().addClass('cloned').removeAttr('id'));// line 206base.$el.append(base.$items.filter(':first').clone().addClass('cloned').removeAttr('id'));
And the html :
if(count($obs)>1){ //obs are the objects for slider
<!-- ANYTHING SLIDER GOES HERE-->
}else{
//this is the case if the object is image, same thing for videos...
<div style="position: absolute; left: 50%;">
<div style="position: relative; left: -50%;">
<img class='slika' src="img/works/Projects/<?php echo $obj->value; ?>">
</div>
</div>
}
Activity
Mottie commentedon May 25, 2011
Hi Awaer!
The demo page is using the latest version of AnythingSlider which only supports jQuery 1.4+ as stated in the last line of the "Features" on the main demo page. If you want to make AnythingSlider work with version 1.3.2, you'll need to un-comment out the last section of the non-compressed script (it's not even in the compressed version)
As for the jsFiddle working with the newest
expandoption, I haven't been able to get it to work there, but it works fine on my desktop... I'll try to figure out why it doesn't work there.Mottie commentedon May 25, 2011
I stand corrected... I just switched a selector in the last update that I discovered wasn't added until jQuery 1.4. I'll fix it in the next update. If you need it now, just change line 201 and 206 from this:
to this:
Mottie commentedon May 26, 2011
Fixed in version 1.5.17
matiazar commentedon Jun 8, 2011
I have the same problem... and im using Jquery version 1.4.3 and I have updated to 1.5.17
when there is only one panel I got this error:
base.panelSize[page] is undefined
w = base.panelSize[page][0], line 419
JoeM05 commentedon Apr 6, 2012
I get the same error when I have 0 frames in the slider,
I'm using jquery 1.7 and anythinglister v 1.7.16
Uncaught TypeError: Cannot read property '0' of undefined
jquery.anythingslider.js:445 - w = base.panelSize[page][0]
Mottie commentedon Apr 6, 2012
Hmm, ok I'll look into it.
hjujah commentedon Apr 25, 2012
Same problem here with jquery 1.7.1 ...
hjujah commentedon Apr 27, 2012
Well here is my solution... As the problem occurs only if there are less then 2 slides, I just call the plugin if its not that case.
for example :
And the html :
if(count($obs)>1){ //obs are the objects for slider
NOTE : php tags are missing in html part of code
Mottie commentedon Apr 27, 2012
I actually have this fixed in the code... I'll be pushing a new version here in about 30 min or less :)
Mottie commentedon Apr 27, 2012
Ok, I just pushed out version 1.8 and I believe this bug has been eradicated!