On Dec 13, 2008, at 3:19 AM, SLR wrote:
I ended up fixing the issue myself. For those that want to know, it
was type-casting issue. I change the following line:
var pageIndex = $("body").attr("id");// Pulls ID value from
body tag
pageIndex = pageIndex.substring(4);
to
var pageIn
I ended up fixing the issue myself. For those that want to know, it
was type-casting issue. I change the following line:
>var pageIndex = $("body").attr("id");// Pulls ID value from body tag
>pageIndex = pageIndex.substring(4);
to
var pageIndex = $("body").attr("id");// Pulls I
Have you tried breaking apart your chain? At least to debug. Might help to
do a console.log step (in Firebug) at each function call to ensure your
selectors are returning what you expect, your slice etc. This would allow
you to see if for example addClass is being called on 1 element, or many
eleme
Alright, I'm really confused now. On my index page, the body tag has
an ID with a value of "Link0." On this page it works fine; only the
first link in the navigation section is changed.
Now on all the other pages where the body tag ID is another number
(i.e. Link1, Link2, etc), everything just fa
4 matches
Mail list logo