
April 16th, 2007
07:27 AM
Neversidian
Status: Offline!
Better-than-live problem in IE
I'm using Elliot Swan's better-than-live ajax search for my wordpress blog. I changed some things (element ids, etc) to suit my html. It works in Firefox and Safari. But in IE6 it just doesn't and gives an error saying "Object doesn't support this property or method".
The search on elliotswan.com works in IE so I don't know why mine don't.
Page: http://lushliving.sg/proto/features/main-feature/modern-classy-and-grand/
Prototype: http://lushliving.sg/proto/wp-content/themes/lushliving/js/prototype.js
Scriptaculous: http://lushliving.sg/proto/wp-content/themes/lushliving/js/effects.js
Search.js: http://lushliving.sg/proto/wp-content/themes/lushliving/js/search.js
It will work if I comment out the Effects in search.js. So I thought they might be the problem but the script debugger in IE just sucks. It doesn't say anything useful.
I've been trying to get this thing to work on IE for 2 days. Driving me nuts. Please help me!
___________________
AEN DIRECT
Catalogue of Creative Works & Writings

April 18th, 2007
09:55 AM
funny and cheeky
Status: Offline!
It would help if you give the line number the error is at. To be fair it's not a debugger. It's a compiler and they hardly ever give useful information. I don't think it's possible for the compiler to explain why the error are occurring because it depends on how you implemented the function thats giving you an error. All I can say is welcome to the world of scripting. 

April 20th, 2007
02:48 AM
I need a haircut
Status: Offline!
I don't have a copy of IE6 or I'd post something more helpful BUTTTT
Sometimes when I get hacking with other people's code and screw something up, I'll go back to their original code. Then, I'll make small changes (at most, two changes at a time) save & refresh each pass through, so you can isolate where things got problematic.
Might be way too much work depending on how many changes you made, but maybe worth a go.
___________________
Jon Culver Chia Pets

April 21st, 2007
08:10 PM
Neversidian
Status: Offline!
I only changed stuff like element names... so I'm really puzzled.
Anyway due to time constraints, I ended up doing a browser check and IE will get a no-effects version of the JS.
Thanks!
___________________
AEN DIRECT
Catalogue of Creative Works & Writings