I'm testing the slider and it works in Chrome and IE 9+ but doesn't work properly in earlier versions.
The problem that occurs to me is that while the previous slide is rolled up, an error-like image is revealed (and the loading.gif is then visible) and remains for over two seconds, until the next slide appears.
I tried changing the animation type but the problem persists.
I applied this answer and it didn't solve the issue.
Any clue?
I've posted same question at dev7studios as well, no answer however.
Update
This is the method that generates the images:
private static MvcHtmlString BuildImageTag(string blobName, object htmlAttributes = null, string name = null)
{
TagBuilder tag = new TagBuilder("img");
var src = BlobHelper.GetBlobUri(blobName);
tag.Attributes.Add("src", src.ToString());
tag.Attributes.Add("name", name);
if (htmlAttributes != null)
tag.MergeAttributes(new RouteValueDictionary(htmlAttributes), true);
return MvcHtmlString.Create(tag.ToString(TagRenderMode.Normal));
}
How do I change it so that the closing tag is separate (as explain in this answer)?
Update 2
After enabling JS debugging, I see there is a debugger break at the nivo slider js file.
The line in the JS is:
u.attr("src",i.currentImage.attr("src")).show();
I'm not even sure it's related but I thought it might help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…