thanks brian, as I got a few dynamically made lists I'd put
<script type="text/javascript">$(makesortable("sort_'.$t['type'].'"));</script>
after every list, a simple change to:
<script
type="text/javascript">$(function(){makesortable("sort_'.$t['type'].'")});</script>
solved it.
For some reason I thought that passing a function into $(), was the
same as using $(function(){ stuff here }); I guess it isn't :P
//Kristinn
But I'm having another problem, another
On 2/25/07, Brian Miller <[EMAIL PROTECTED]> wrote:
> Is all your of your main code in a ready block? Just a guess, but it
> might be trying to operate on the DOM before it's loaded.
>
> - Brian
>
>
> > Hi there, I've got a really odd problem with the interface plugin. The
> > thing is that when I go to the specific site that uses Interface
> > theres no problem, but when I update the page I get this:
> > http://img02.picoodle.com/img/img02/7/2/25/f_Interfaceerm_e3ca35b.gif
> >
> > So, following a link or typing in the url results in no error, but
> > pressing F5, or rightclick/reload does. This is in FF 1.5.
> >
> > In IE7 I get a "IE could not open the internet site ... operation
> > aborted" followed by a "Internet Explorer cannot display the webpage"
> > infopage.
> >
> > I'm sorry I can't give you any specific code, just hoping that someone
> > has had a similar problem sometime and solved it. Oh and the
> > javascript is included IN the body, is that a problem?
> >
> > Would really appreciate som help here.
> > //Kristinn
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/