[jQuery] Re: Firefox is showing error console with no errors?
You've probably seen this already, but on the order now page I got this: Warning : mysql_data_seek() [ function.mysql-data-seek ]: Offset 0 is invalid for MySQL result index 5 (or the query data is unbuffered) in /nfs/c01/h02/mnt/33205/domains/clients.blazemelbourne.com.au/html/ cc/order.php on line 94 On Nov 4, 2:04 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Can't access the page, it requires registration. > > I tried registering and got this error: > > Warning: Cannot modify header information - headers already sent by > (output started at /nfs/c01/h02/mnt/33205/domains/ > clients.blazemelbourne.com.au/html/cc/inc/head.inc.php:10) in /nfs/c01/ > h02/mnt/33205/domains/clients.blazemelbourne.com.au/html/cc/inc/ > register.inc.php on line 10 > > Also, you should use overflow:hidden on your text-replaced buttons, > the active outline is spanning the whole page to the left. > > -- > > I managed to login. On the "order now" page nothing happens. There is > something wrong with the first pink box (no children - text not > showing, it's cut off on the left), the list below is empty and > nothign happens when I click on the weeks. > > On Nov 4, 5:26 am, jimster <[EMAIL PROTECTED]> wrote: > > > No help? > > > On Oct 27, 10:50 am, jimster <[EMAIL PROTECTED]> wrote: > > > > Hi there, I'm creating a one page ordering system that lets kids and > > > parents order lunch. > > > >http://clients.blazemelbourne.com.au/cc/order.php > > > > It's designed to allow multiple kids and weeks per page, swapping the > > > active ones around using jquery. > > > > Works splendidly in almost every browser exceptFirefox. OnFirefox3 > > > it's just really really slow and jerky. OnFirefox1-2 it's just as > > > slow and particulary on 1 and 1.5 the animation is displayed very > > > poorly - the biggest problem is thatFirefox1-2 are throwing up > > > theerrorconsole every time a function is executed - and there are no > > > errors displayed, it's just bringing an empty window up. > > > > Here is my code: > > > > $(document).ready(function(){ > > > > // Get container width > > > > var contWidth = 0; > > > $("#container > div").each(function() { > > > var object = $(this); > > > contWidth += object.width(); > > > }); > > > $("#container").width(contWidth); > > > > // Mark first kid as selected > > > > $("#container > .kid:first-child").addClass("selected"); > > > $("#kidmenu li:first-child").children().addClass("active"); > > > > // Mark first weeks as selected > > > > $("#container > .kid > .week:first-child").addClass("selected"); > > > $("#weekmenu li:first-child").children().addClass("active"); > > > > // Change kid > > > > $("#kidmenu li a").click(function() { > > > changeKid(this); > > > }); > > > > function changeKid(item) { > > > // Calculates index > > > var ki = $("#kidmenu > li > a").index(item); > > > > // Selects current kid > > > var sk = $("#container .kid:eq(" + ki + ")"); > > > sk.addClass("selected"); > > > sk.siblings().removeClass("selected"); > > > > // Marks menu item as active > > > $(item).addClass("active"); > > > > > > $(item).parent().siblings().children().removeClass("active"); > > > > // Correct active week menu > > > var swi = $('.week',sk).index($('.week.selected',sk)); > > > $("#weekmenu > li:eq(" + swi + ") > > > > a").addClass("active"); > > > $("#weekmenu > li:eq(" + swi + > > > ")").siblings().children().removeClass("active"); > > > > // Moves container > > > var distance = ki*870; > > > $("#container").animate({left:-(distance)},1000); > > > }; > > > > // Change week > > > > $("#weekmenu li a").click(function() { > > > changeWeek(this); > > > }); > > > > function changeWeek(item) { > > > // Calculates index > > > var wi = $("#weekmenu > li > a").index(item); > > > > // Select current week > > > var sw = $("#container > .selected > .week:eq(" + wi > > > +")"); > > > sw.addClass("selected"); > > > sw.siblings().removeClass("selected"); > > > > // Mark menu item as active > > > $(item).addClass("active"); > > > > > > $(item).parent().siblings().children().removeClass("active"); > > > > // Moves kid > > > var distance = wi*600; > > > $("#container > > > > .selected").animate({marginTop:-(distance)},1000); > > > > }; > > > > // label tables odd/even > > > > $(document).ready(function(){ > > > $("#con
[jQuery] Re: Firefox is showing error console with no errors?
Can't access the page, it requires registration. I tried registering and got this error: Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h02/mnt/33205/domains/ clients.blazemelbourne.com.au/html/cc/inc/head.inc.php:10) in /nfs/c01/ h02/mnt/33205/domains/clients.blazemelbourne.com.au/html/cc/inc/ register.inc.php on line 10 Also, you should use overflow:hidden on your text-replaced buttons, the active outline is spanning the whole page to the left. -- I managed to login. On the "order now" page nothing happens. There is something wrong with the first pink box (no children - text not showing, it's cut off on the left), the list below is empty and nothign happens when I click on the weeks. On Nov 4, 5:26 am, jimster <[EMAIL PROTECTED]> wrote: > No help? > > On Oct 27, 10:50 am, jimster <[EMAIL PROTECTED]> wrote: > > > Hi there, I'm creating a one page ordering system that lets kids and > > parents order lunch. > > >http://clients.blazemelbourne.com.au/cc/order.php > > > It's designed to allow multiple kids and weeks per page, swapping the > > active ones around using jquery. > > > Works splendidly in almost every browser exceptFirefox. OnFirefox3 > > it's just really really slow and jerky. OnFirefox1-2 it's just as > > slow and particulary on 1 and 1.5 the animation is displayed very > > poorly - the biggest problem is thatFirefox1-2 are throwing up > > theerrorconsole every time a function is executed - and there are no > > errors displayed, it's just bringing an empty window up. > > > Here is my code: > > > $(document).ready(function(){ > > > // Get container width > > > var contWidth = 0; > > $("#container > div").each(function() { > > var object = $(this); > > contWidth += object.width(); > > }); > > $("#container").width(contWidth); > > > // Mark first kid as selected > > > $("#container > .kid:first-child").addClass("selected"); > > $("#kidmenu li:first-child").children().addClass("active"); > > > // Mark first weeks as selected > > > $("#container > .kid > .week:first-child").addClass("selected"); > > $("#weekmenu li:first-child").children().addClass("active"); > > > // Change kid > > > $("#kidmenu li a").click(function() { > > changeKid(this); > > }); > > > function changeKid(item) { > > // Calculates index > > var ki = $("#kidmenu > li > a").index(item); > > > // Selects current kid > > var sk = $("#container .kid:eq(" + ki + ")"); > > sk.addClass("selected"); > > sk.siblings().removeClass("selected"); > > > // Marks menu item as active > > $(item).addClass("active"); > > > > $(item).parent().siblings().children().removeClass("active"); > > > // Correct active week menu > > var swi = $('.week',sk).index($('.week.selected',sk)); > > $("#weekmenu > li:eq(" + swi + ") > a").addClass("active"); > > $("#weekmenu > li:eq(" + swi + > > ")").siblings().children().removeClass("active"); > > > // Moves container > > var distance = ki*870; > > $("#container").animate({left:-(distance)},1000); > > }; > > > // Change week > > > $("#weekmenu li a").click(function() { > > changeWeek(this); > > }); > > > function changeWeek(item) { > > // Calculates index > > var wi = $("#weekmenu > li > a").index(item); > > > // Select current week > > var sw = $("#container > .selected > .week:eq(" + wi +")"); > > sw.addClass("selected"); > > sw.siblings().removeClass("selected"); > > > // Mark menu item as active > > $(item).addClass("active"); > > > > $(item).parent().siblings().children().removeClass("active"); > > > // Moves kid > > var distance = wi*600; > > $("#container > > > .selected").animate({marginTop:-(distance)},1000); > > > }; > > > // label tables odd/even > > > $(document).ready(function(){ > > $("#container table.menu:even").addClass("even"); > > $("#container table.menu:odd").addClass("odd"); > > }); > > > }); > > > I'm currently using the uncompressed version of jquery 1.2.6. > > > Check out the actual link for the html. > > > If anyone has had any similar problems with sliding jquery windows > > anderrorconsole windows inFirefoxit be great to here what you did to > > fix em up. > > > All the best
[jQuery] Re: Firefox is showing error console with no errors?
No help? On Oct 27, 10:50 am, jimster <[EMAIL PROTECTED]> wrote: > Hi there, I'm creating a one page ordering system that lets kids and > parents order lunch. > > http://clients.blazemelbourne.com.au/cc/order.php > > It's designed to allow multiple kids and weeks per page, swapping the > active ones around using jquery. > > Works splendidly in almost every browser exceptFirefox. OnFirefox3 > it's just really really slow and jerky. OnFirefox1-2 it's just as > slow and particulary on 1 and 1.5 the animation is displayed very > poorly - the biggest problem is thatFirefox1-2 are throwing up > theerrorconsole every time a function is executed - and there are no > errors displayed, it's just bringing an empty window up. > > Here is my code: > > $(document).ready(function(){ > > // Get container width > > var contWidth = 0; > $("#container > div").each(function() { > var object = $(this); > contWidth += object.width(); > }); > $("#container").width(contWidth); > > // Mark first kid as selected > > $("#container > .kid:first-child").addClass("selected"); > $("#kidmenu li:first-child").children().addClass("active"); > > // Mark first weeks as selected > > $("#container > .kid > .week:first-child").addClass("selected"); > $("#weekmenu li:first-child").children().addClass("active"); > > // Change kid > > $("#kidmenu li a").click(function() { > changeKid(this); > }); > > function changeKid(item) { > // Calculates index > var ki = $("#kidmenu > li > a").index(item); > > // Selects current kid > var sk = $("#container .kid:eq(" + ki + ")"); > sk.addClass("selected"); > sk.siblings().removeClass("selected"); > > // Marks menu item as active > $(item).addClass("active"); > $(item).parent().siblings().children().removeClass("active"); > > // Correct active week menu > var swi = $('.week',sk).index($('.week.selected',sk)); > $("#weekmenu > li:eq(" + swi + ") > a").addClass("active"); > $("#weekmenu > li:eq(" + swi + > ")").siblings().children().removeClass("active"); > > // Moves container > var distance = ki*870; > $("#container").animate({left:-(distance)},1000); > }; > > // Change week > > $("#weekmenu li a").click(function() { > changeWeek(this); > }); > > function changeWeek(item) { > // Calculates index > var wi = $("#weekmenu > li > a").index(item); > > // Select current week > var sw = $("#container > .selected > .week:eq(" + wi +")"); > sw.addClass("selected"); > sw.siblings().removeClass("selected"); > > // Mark menu item as active > $(item).addClass("active"); > $(item).parent().siblings().children().removeClass("active"); > > // Moves kid > var distance = wi*600; > $("#container > > .selected").animate({marginTop:-(distance)},1000); > > }; > > // label tables odd/even > > $(document).ready(function(){ > $("#container table.menu:even").addClass("even"); > $("#container table.menu:odd").addClass("odd"); > }); > > }); > > I'm currently using the uncompressed version of jquery 1.2.6. > > Check out the actual link for the html. > > If anyone has had any similar problems with sliding jquery windows > anderrorconsole windows inFirefoxit be great to here what you did to > fix em up. > > All the best