4 ms·
The irony for me is that the author's demo worked for me, and yours did not. I used Firefox 3.6 for the test, and I instructed NoScript to let your demo work (
by Xurinos 16y ago
The irony for me is that the author's demo worked for me, and yours did not. I used Firefox 3.6 for the test, and I instructed NoScript to let your demo work (but not allow anything on the author's site).
- joshfraser 16y agoWeird. I just tested it again in FF 3.6 and it works fine for me.
- Xurinos 16y agoFirebug reports this error: "missing } after function body" jquery_menu (line 1): ("li").addClass("selected").parent().p...).addClass("selected"); }); }); My FF is in Windows at the moment; it would be weird if that was the real difference. I wonder if it has to do with the use of C++-style comments on unbroken lines? The HTML is pretty fairly unreadable on my side, as if someone joined most of the lines together, both in linux (I did a wget on your link) and Windows. As a result, I think some of those braces are on the same line as a // comment.
- joshfraser 16y agoah, that sounds like a problem with the code that compresses the HTML and JavaScript on my blog. it's currently being A/B tested which explains why it worked for me, but not you. thanks for the heads up. i'll get it fixed. my actual example should work fine, it's just being broken by the post-processing.