jQuery: The Write Less, Do More JavaScript Library

IE 8 Accordion not functioning...

View: New views
3 Messages — Rating Filter:   Alert me  

IE 8 Accordion not functioning...

by Matthew Kettlewell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm a bit new to js/jQuery , so this could be a beginners error...

What' I'm trying to do is just get a plain accordion setup that will
work through multiple platforms.

FF3.5 - no problem.  IE 8 - ???  it just explodes.  No accordion
functionality to speak of.

The page I'm working on is here:

http://www.moxdom.com/the-goods/

For js includes I have this:

<script type="text/javascript" src="http://www.moxdom.com/wp-content/
themes/InterPhase/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="http://www.moxdom.com/wp-content/
themes/InterPhase/js/jquery-ui-1.7.2.custom.min.js"></script>
<script src="http://www.moxdom.com/wp-content/themes/InterPhase/js/
opengoods.js" type="text/javascript"></script>

And for accordion I have this:
<div id="accordion">
    <h3><a href="#">First header</a><h3>
    <div>First content</div>
    <h3><a href="#">Second header</a><h3>

    <div>Second content</div>
</div>


and js is:

jQuery(document).ready(function(){
jQuery('#accordion').accordion();
});


I'm really just making sure that I can get the demos working right
first, before I get too crazy with extra features.

This is in a Wordpress page, so I could have a conflict with another
plugin/js, but I didn't see one.

Can anyone see if I've done something wrong, or if there's something I
need to change just for IE?

Thanks for your time.

Matt

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.



Re: IE 8 Accordion not functioning...

by Richard D. Worth-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm guessing based on http://groups.google.com/group/jquery-en/browse_thread/thread/888a00149325c364 that you've found the problem was with the html being invalid. The docs have been updated.

- Richard

On Tue, Nov 3, 2009 at 7:16 PM, BloggingEmergency <ceo@...> wrote:
I'm a bit new to js/jQuery , so this could be a beginners error...

What' I'm trying to do is just get a plain accordion setup that will
work through multiple platforms.

FF3.5 - no problem.  IE 8 - ???  it just explodes.  No accordion
functionality to speak of.

The page I'm working on is here:

http://www.moxdom.com/the-goods/

For js includes I have this:

<script type="text/javascript" src="http://www.moxdom.com/wp-content/
themes/InterPhase/js/jquery-1.3.2.min.js
"></script>
<script type="text/javascript" src="http://www.moxdom.com/wp-content/
themes/InterPhase/js/jquery-ui-1.7.2.custom.min.js
"></script>
<script src="http://www.moxdom.com/wp-content/themes/InterPhase/js/
opengoods.js
" type="text/javascript"></script>

And for accordion I have this:
<div id="accordion">
   <h3><a href="#">First header</a><h3>
   <div>First content</div>
   <h3><a href="#">Second header</a><h3>

   <div>Second content</div>
</div>


and js is:

jQuery(document).ready(function(){
jQuery('#accordion').accordion();
});


I'm really just making sure that I can get the demos working right
first, before I get too crazy with extra features.

This is in a Wordpress page, so I could have a conflict with another
plugin/js, but I didn't see one.

Can anyone see if I've done something wrong, or if there's something I
need to change just for IE?

Thanks for your time.

Matt

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui%2Bunsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.



--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.

Re: IE 8 Accordion not functioning...

by Matthew Kettlewell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes.  Invalid HTML.  Thanks


On Nov 4, 8:34 am, "Richard D. Worth" <rdwo...@...> wrote:

> I'm guessing based onhttp://groups.google.com/group/jquery-en/browse_thread/thread/888a001...
> you've found the problem was with the html being invalid. The docs
> have
> been updated.
>
> - Richard
>
> On Tue, Nov 3, 2009 at 7:16 PM, BloggingEmergency <c...@...>wrote:
>
> > I'm a bit new to js/jQuery , so this could be a beginners error...
>
> > What' I'm trying to do is just get a plain accordion setup that will
> > work through multiple platforms.
>
> > FF3.5 - no problem.  IE 8 - ???  it just explodes.  No accordion
> > functionality to speak of.
>
> > The page I'm working on is here:
>
> >http://www.moxdom.com/the-goods/
>
> > For js includes I have this:
>
> > <script type="text/javascript" src="http://www.moxdom.com/wp-content/
> > themes/InterPhase/js/jquery-1.3.2.min.js"></script>
> > <script type="text/javascript" src="http://www.moxdom.com/wp-content/
> > themes/InterPhase/js/jquery-ui-1.7.2.custom.min.js"></script>
> > <script src="http://www.moxdom.com/wp-content/themes/InterPhase/js/
> > opengoods.js" type="text/javascript"></script>
>
> > And for accordion I have this:
> > <div id="accordion">
> >    <h3><a href="#">First header</a><h3>
> >    <div>First content</div>
> >    <h3><a href="#">Second header</a><h3>
>
> >    <div>Second content</div>
> > </div>
>
> > and js is:
>
> > jQuery(document).ready(function(){
> > jQuery('#accordion').accordion();
> > });
>
> > I'm really just making sure that I can get the demos working right
> > first, before I get too crazy with extra features.
>
> > This is in a Wordpress page, so I could have a conflict with another
> > plugin/js, but I didn't see one.
>
> > Can anyone see if I've done something wrong, or if there's something I
> > need to change just for IE?
>
> > Thanks for your time.
>
> > Matt
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "jQuery UI" group.
> > To post to this group, send email to jquery-ui@....
> > To unsubscribe from this group, send email to
> > jquery-ui+unsubscribe@...<jquery-ui%2Bunsubscribe@...>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/jquery-ui?hl=en.

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.