We help IT Professionals succeed at work.

javascript scrollbar not working in IE

chodoy
chodoy used Ask the Experts™
on
I picked up this code, and is working fine in all but IE: http://chodoy.com/TKC/exhibit.html
Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The problem is you manually add the jScrollPaneContainer in your markup. Because it will be created automatically by jScrollPane.
Just remove class="jScrollPaneContainer"

You can find more detail here :
http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html

Author

Commented:
Getting closer, it displays but does not function. Any other thoughts?
Michel PlungjanIT Expert
Top Expert 2009

Commented:
Also does not function in FF on MAC now
@chodoy: try to fix the height of div#pane. I copy my running code below. Hope this help.
Another point, you should remove the div.jScrollPaneTrack - jScrollPane will create the bar automatically.

@mplunqjan: I don't have a MAC so I can't test but in theory, jQuery is designed to working fine in all browser. Your code may have some problems. Please compare your code with the demo example to get more details.

http://code.google.com/p/jscrollpane/downloads/list

<div style="height: 400px; width: 400px; float: right;">
                <div id="pane" class="scroll-pane" style="height: 250px;">
                    <strong><span class="red-text">CURRENT EXHIBITIONS</span></strong>
                    <br />
                    <br />
                    <a href="http://bronxmuseum.org/happytogether.html" target="_blank"><strong>“Urban Archives: Happy Together, Asian and Asian-American Art From The Permanent Collection” </strong></a>
                    <br />
                    Bronx Museum<br />
                    Bronx, NY<br />
                    March 28, 2010 –January 2, 2011<br />
                    <br />
                    <a href="http://bronxmuseum.org/happytogether.html"></a><strong><a href="http://www.centrepompidou.fr/Pompidou/Manifs.nsf/AllExpositions/0E4639A34A4B08C5C12576B8003A5F37?OpenDocument&amp;sessionM=2.1.1&amp;L=1&amp;form=Actualite" target="_blank">“Dreamlands”</a></strong><br />
                    Centre Pompidou-Museé National d’art Moderne<br />
                    Paris, France<br />
                    May 5 – August 9, 2010<br />
                    <br />
                    <a href="http://www.portsmouthmfa.org/index.html" target="_blank"><strong>“At The Edge”</strong></a><br />
                    Portsmouth Museum of Art<br />
                    Portsmouth, NH
                    <br />
                    May 5 – July 11, 2010<br />
                    <br />
                    <br />
                    <span class="red-text">EXHIBITIONS 2010-2011
                        <br />
                        <br />
                    </span><a href="http://www.npg.si.edu/exhibit/exhhide.html" target="_blank"><strong>“Hide/Seek: Difference and Desire in American Portraiture”</strong></a><br />
                    National Portrait Gallery, Smithsonian Institute<br />
                    Washington, DC
                    <br />
                    October 30, 2010 – February 13, 2011
                    <br />
                    <br />
                    <a href="http://bronxmuseum.org/happytogether.html" target="_blank"><strong>“Urban Archives: Happy Together, Asian and Asian-American Art From The Permanent Collection” </strong></a>
                    <br />
                    Bronx Museum<br />
                    Bronx, NY<br />
                    March 28, 2010 –January 2, 2011<br />
                    <br />
                    <a href="http://bronxmuseum.org/happytogether.html"></a><a href="http://www.centrepompidou.fr/Pompidou/Manifs.nsf/AllExpositions/0E4639A34A4B08C5C12576B8003A5F37?OpenDocument&amp;sessionM=2.1.1&amp;L=1&amp;form=Actualite" target="_blank"><strong>“Dreamlands”</strong></a><br />
                    Centre Pompidou-Museé National d’art Moderne<br />
                    Paris, France<br />
                    May 5 – August 9, 2010<br />
                    <br />
                    <a href="http://www.portsmouthmfa.org/index.html" target="_blank"><strong>“At The Edge”</strong></a><br />
                    Portsmouth Museum of Art<br />
                    Portsmouth, NH
                    <br />
                    May 5 – July 11, 2010<br />
                    <br />
                    <a href="http://www.portsmouthmfa.org/index.html"></a><a href="http://www.exitart.org/site/pub/exhibition_programs/global_national/index.html" target="_blank"><strong>“GLOBAL / NATIONAL – The Order of Chaos”</strong></a><br />
                    Exit Art<br />
                    New York, NY<br />
                    March 13-May 1, 2010<br />
                    <br />
                    <a href="http://www.exitart.org/site/pub/exhibition_programs/global_national/index.html"></a><a href="http://www.paulkasmingallery.com/exhibitions/2010-02-11_tseng-kwong-chi/" target="_blank"><strong>“Tseng Kwong Chi: Body Painting with Keith Haring and Bill T. Jones”</strong></a><br />
                    Paul Kasmin Gallery<br />
                    New York, NY<u></u><br />
                    February 11-March 27, 2010<br />
                    <br />
                    <br />
                    <span class="red-text">EXHIBITIONS 2007-2009</span>
                    <br />
                    <br />
                    <a href="http://www.sfcamerawork.org/exhibitions/exhibitions_35thAnniversary-1.php" target="_blank"><strong>“An Autobiography of the San Francisco Bay Area Part 1: San Francisco Plays Itself” </strong></a>
                    <br />
                    SF Camerawork
                    <br />
                    San Francisco, CA<br />
                    September 10 - October 31, 2009<br />
                    <br />
                    <strong><a href="http://www.moma.pref.kanagawa.jp/en/museum/exhibitions/2008/selfandother/index_en2008.html" target="_blank">"Self and Other&nbsp;: Portraits from Asia and Europe"</a></strong><br />
                    The Museum of Modern Art, Hayama, Kanagawa, Japan<br />
                    February 7 – March 29, 2009<br />
                    Kanagawa Prefectural Museum of Cultural History, Kanagawa, Japan
                    <br />
                    February 7-March 29, 2009
                    <br />
                    Fukuoka Asian Art Museum, Fukuoka, Japan<br />
                    December 6, 2008 – January 25, 2009<br />
                    The National Museum of Art, Osaka, Japan<br />
                    September 30 – November 24, 2008<br />
                    National Museum of Ethnology, Osaka, Japan<br />
                    September 11 – November 25, 2008
                    <p>
                        <strong>“Keith Haring Retrospective, with photographs by Tseng Kwong Chi” </strong>(catalogue)<br />
                        Beaux-Arts Mons<br />
                        Brussels, Belgium<br />
                        May 9-September 13, 2009<br />
                        Museum of Contemporary Art<br />
                        Lyon, France
                        <br />
                        February 22 – June 29, 2008<a href="http://www.psmuseum.org/exhibitions/past_exhibition.php?id=21" target="_blank"><br />
                            <br />
                            <strong>“Against All Odds: from the Rubell Family Collection” </strong></a>
                        <br />
                        Palm Springs Art Museum
                        <br />
                        Palm Springs, California<br />
                        November 8, 2008-January 18, 2009<br />
                        <br />
                        <a href="http://chodoy.com/TKC/www.heatherjames.com" target="_blank"><strong>"Tseng Kwong Chi"</strong></a><br />
                        Heather James Fine Art Gallery<br />
                        Palm Springs, CA<br />
                        October 16, 2008 – January 2009<br />
                        <br />
                        <a href="http://www.thebody.com/visualaids/web_gallery/2008/bastien/01.html" target="_blank"><strong>“Alien Architecture” </strong></a>
                        <br />
                        Visual AIDS June 2008 Web Gallery<br />
                        Curated by Tairone Bastien
                        <br />
                        <br />
                        <a href="http://www.secca.org/" target="_blank"><strong>”People and Places: Selections from the Allen Thomas Jr. Photography Collection”</strong></a><br />
                        Southeastern Center for Contemporary Art<br />
                        Winston-Salem, NC.<br />
                        March 14-June 30, 2008<a href="http://www.benbrownfinearts.com/Exhibitions/install_tseng.htm" target="_blank"><br />
                            <br />
                            <strong>“Tseng Kwong Chi: Self-Portraits 1979-1989”</strong></a> (catalogue)<br />
                        Ben Brown Fine Arts<br />
                        London, UK
                        <br />
                        April 15-May 31, 2008<br />
                        <br />
                        <a href="http://www.benbrownfinearts.com/Exhibitions/install_tseng.htm"></a><a href="http://www.paulkasmingallery.com/exhibitions/2008-04-03_tseng-kwong-chi" target="_blank"><strong>“Tseng Kwong Chi: Self-Portraits 1979-1989”</strong></a> (catalogue)<br />
                        Paul Kasmin Gallery
                        <br />
                        New York, NY<br />
                        April 3-May 3, 2008<br />
                        <br />
                        <a href="http://www.paulkasmingallery.com/exhibitions/2008-04-03_tseng-kwong-chi"></a><strong>“Far From Home”</strong><br />
                        North Carolina Museum of Art<br />
                        Raleigh, NC<br />
                        February 17–July 13, 2008<strong>“<br />
                            <br />
                            Brasil: des Focos”</strong> (bi-lingual catalogue)<br />
                        Centro Cultural do Banco do Brasil<br />
                        Rio de Janeiro, Brazil<br />
                        Sao Paulo, Brazil
                        <br />
                        January 18-March 16, 2008<br />
                        July 30-September 30, 2007<br />
                        Paco das Artes
                        <br />
                        <br />
                        <a href="http://www.bernardtoalegallery.com/" target="_blank"><strong>“Tseng Kwong Chi: Ambiguous Ambassador”</strong></a><br />
                        Bernard Toale Gallery<br />
                        Boston, MA<br />
                        August 29-September 29, 2007<br />
                        <br />
                        <a href="http://www.bernardtoalegallery.com/"></a><a href="http://www.brattleboromuseum.org/2007/08/10/from-street-to-studio/" target="_blank"><strong>“From Street to Studio, Studio to Street”</strong></a> (catalogue)<br />
                        Brattleboro Museum<br />
                        Brattleboro, VT (catalogue)<br />
                        August 11-December 16, 2007 <a href="http://www.thebody.com/visualaids/web_gallery/2007/nyu/11.html" target="_blank"><strong>
                            <br />
                            <br />
                            “Energy”</strong></a><br />
                        Visual AIDS January 2007 Web Gallery<br />
                        Curated by the NYU Tisch High School Photography Program<br />
                        <a href="http://www.thebody.com/visualaids/web_gallery/2007/nyu/11.html"></a>
                    </p>
                    <p>
                        <a href="http://chodoy.com/TKC/pdf/cv.pdf" target="_blank"><strong>Download CV for complete exhibition list back to 1980 </strong></a>
                        <br />
                        <a href="http://www.portsmouthmfa.org/index.html"></a>
                    </p>
                </div>
            </div>

Open in new window

exhibit.html

Author

Commented:
Thanks!