[jQuery] Async problem using basic $() and a slideshow
Sorry if this is just weird but I have this working fine on my dev server on IE8, Firefox 3.5.3, and Safari (windows), but online (and here's the WEIRD part) it only works on IE. http://www.jrbentleys.com The menu works fine, but if you click on events-upcoming or specials- lunch/drinks in firefox it simply doesn't load correctly. All it is doing is calling ajax to grab code chunks and display them. It all works fine until it tries to load the slideshow, or on the specials it doesn't work on the change event for the selector to fill a div below it in fact this should init load the div with the monday special and it doesn't do that. I would say more but I'm completely at a loss. I can send files to anyone who can help. I know using ajax noone can see the code that comes back.
[jQuery] Re: Async problem using basic $() and a slideshow
Sorry, finally figured this out. I can't believe I made the same error again. On Oct 31, 12:03 pm, n4rc1ssus 5n4rc1s...@gmail.com wrote: Sorry if this is just weird but I have this working fine on my dev server on IE8, Firefox 3.5.3, and Safari (windows), but online (and here's the WEIRD part) it only works on IE. http://www.jrbentleys.com The menu works fine, but if you click on events-upcoming or specials-lunch/drinks in firefox it simply doesn't load correctly. All it is doing is calling ajax to grab code chunks and display them. It all works fine until it tries to load the slideshow, or on the specials it doesn't work on the change event for the selector to fill a div below it in fact this should init load the div with the monday special and it doesn't do that. I would say more but I'm completely at a loss. I can send files to anyone who can help. I know using ajax noone can see the code that comes back.
[jQuery] Re: I really hope this isn't a dumb syntax error
Thanks to both of you for trying to help me. I had a little bit better luck trying to nest accordions within a list instead of using treeview because it was simply not working for me. Though I'm stuck in a few places with accordion, at least it's working to some degree. On Aug 17, 1:55 pm, James james.gp@gmail.com wrote: Are you adding the jQuery library again on your ajax call? Having the jQuery library twice on the page may cause issues. On Aug 17, 4:13 am, Stephan Beal sgb...@googlemail.com wrote: On Aug 15, 11:38 pm,n4rc1ssus5n4rc1s...@gmail.com wrote: Webpage error details Message: Object doesn't support this property or method Man, oh, man, MSIE is useless. i STRONGLY recommend trying this in Firefox with Firebug enabled, because it will show you exactly what property is the problem here. Line: 257713399 *not sure why the line is so insanely high but whatever* This happens when packing multiple JS files into one, but line 257M is obviously wrong. Unless you've really got several GB of JS code coming over the wire, which i highly doubt). Char: 2 Code: 0 URI:http://localhost/greekware8/ like the subject says I hope this isn't some really stupid mess up in my part but this should've worked in a day's time of work. Install firebug (in Firefox), then enable the break on all errors option in the Scripts tag, then reload the page. It will point you right to where the problem is. It sounds to me (just guessing) that it's either a syntax error in your code or you're trying to use code which requires a separate plugin which isn't yet loaded.- Hide quoted text - - Show quoted text -
[jQuery] [treeview] I really hope this isn't a dumb syntax error
Ok, I'm trying to use the treeview plugin. lets start with the index.html script includes: code script type=text/javascript src=jqueryUI/js/jquery-1.3.2.min.js/script script type=text/javascript src=jqueryUI/js/jquery-ui-1.7.2.custom.min.js/script script src=http://jqueryui.com/latest/ui/effects.core.js;/script script src=http://jqueryui.com/latest/ui/effects.transfer.js;/script script type=text/javascript src=jqueryUI/js/jquery-nav.js/script !-- my crap -- script language=JavaScript type=text/javascript src=jqueryUI/js/jquery.treeview.js/script /code my menu calls ajax and loads a php page that reads: code ?php include directoryFuncts.php; ? link type=text/css rel=stylesheet href=jquery.treeview.css / script language=JavaScript type=text/javascript src=jquery-1.3.2.min.js/script script language=JavaScript type=text/javascript src=jquery.treeview.js/script script language=JavaScript type=text/javascript $(document).ready(function(){ $(#minutesTree).treeview(); --- problem shows up here everytime and I don't know why }); /script h3Minutes/h3 ul id=minutesTree class=filetree ?php getDir( minutes ); ? /ul /code I understand that this repeats a lot of junk but it's the only way I can get it to even work by going to just the individual page and bypassing the menu. The list functions in php work perfectly and I get the correct html ul's and li's out of it but all i get is: Webpage error details Message: Object doesn't support this property or method Line: 257713399 *not sure why the line is so insanely high but whatever* Char: 2 Code: 0 URI: http://localhost/greekware8/ like the subject says I hope this isn't some really stupid mess up in my part but this should've worked in a day's time of work.