Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carousel not sliding in ie9 intranet (2.02) #2726

Closed
rdthree opened this issue Mar 21, 2012 · 13 comments
Closed

carousel not sliding in ie9 intranet (2.02) #2726

rdthree opened this issue Mar 21, 2012 · 13 comments
Labels

Comments

@rdthree
Copy link

rdthree commented Mar 21, 2012

the carousel is sliding in firefox/chrome however it won't slide in ie9 on my intranet. all other javascript works fine, including styled dropdowns.

here is the code:

<div id="myCarousel" class="carousel slide">
  <div class="carousel-inner">
    <div class="item active">
    ...
    <div class="carousel-caption">
    ...
    </div>
  </div>
  <div class="item">
  ...
    <div class="carousel-caption">
    ...
    </div>
  </div>
</div>

Also the Javascript:

<script>
  $(function(){
    $('.carousel').carousel();
  });
</script>
@ctalkington
Copy link
Contributor

you may want to refer to #2635 and IE9 compat mode issues.

@rdthree
Copy link
Author

rdthree commented Mar 22, 2012

I checked the mode, and with compatibility mode either on or off the slide doesn't work. Its the only JavaScript plugin that isn't performing correctly.

@mdo
Copy link
Member

mdo commented Mar 26, 2012

Might just be you making the code short in the snippet, but it looks like you're missing a closing div for that first .item. I also just checked the carousel in our docs in IE9 and it's working fine and as intended, leading me to believe the problem is on your end unfortunately.

If you can share a jsfiddle, we can perhaps take a more detailed look.

@mdo
Copy link
Member

mdo commented Apr 1, 2012

@originalsurfmex Please provide a jsfiddle if possible. The carousel works fine on our end and if we cannot reproduce, we'll have to close the issue.

@wesweat
Copy link

wesweat commented Apr 3, 2012

like to know the answer as well, trying it on xampp (haven't tried it live yet)

i did try http://twitter.github.com/bootstrap/javascript.html#carousel in IE9 (9.0.8812..) and the slide transistion isn't there

@barryvdh
Copy link
Contributor

barryvdh commented Apr 4, 2012

IE9 transitions don't work, because the lack of support for CSS transitions. They just show up instantly.

@thomasmery
Copy link

So is this to say the carousel won't ever slide in ie+ ?

that would mean having to drop it,

any chance of an enhancement ?

@barryvdh
Copy link
Contributor

You could write a jQuery fallback, if css transistions aren't supported.

On Tue, Apr 10, 2012 at 15:18, thomasmery <
[email protected]

wrote:

So is this to say the carousel won't ever slide in ie+ ?

that would mean having to drop it,

any chance of an enhancement ?


Reply to this email directly or view it on GitHub:
#2726 (comment)

@thomasmery
Copy link

thanks,

I definitely will if I am forced to do it

hopefully it will go unnoticed (hum ...)

On Tue, Apr 10, 2012 at 3:53 PM, Barryvdh <
[email protected]

wrote:

You could write a jQuery fallback, if css transistions aren't supported.

On Tue, Apr 10, 2012 at 15:18, thomasmery <
[email protected]

wrote:

So is this to say the carousel won't ever slide in ie+ ?

that would mean having to drop it,

any chance of an enhancement ?


Reply to this email directly or view it on GitHub:
#2726 (comment)


Reply to this email directly or view it on GitHub:
#2726 (comment)


http://www.thomas-mery.net

@barryvdh
Copy link
Contributor

You could try something like this;
https://github.com/Barryvdh/bootstrap/commit/8b294f0c0184eb7111ef6da6046d4d1f33ea7ba3

Works for me in IE8/IE9, but IE7 gets mixed results (image disappears on some websites, after transitioning), so it probably needs some testing.

@thomasmery
Copy link

Many many thanks,

will try it next week and will report how it goes

On Fri, Apr 13, 2012 at 12:23 PM, Barryvdh <
[email protected]

wrote:

You could try something like this;

https://github.com/Barryvdh/bootstrap/commit/8b294f0c0184eb7111ef6da6046d4d1f33ea7ba3

Works for me in IE8/IE9, but IE7 gets mixed results (image disappears on
some websites, after transitioning), so it probably needs some testing.


Reply to this email directly or view it on GitHub:
#2726 (comment)


http://www.thomas-mery.net

@barryvdh
Copy link
Contributor

See my previous commit, to fix the issue with IE7 (set width:100% for .item)

@mdo
Copy link
Member

mdo commented Apr 15, 2012

Not a BS core issue, but rather one of IE9 as per this thread: http://stackoverflow.com/questions/3726357/why-does-ie9-switch-to-compatibility-mode-on-my-website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants