PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_AJAX » Bug #8706

Example BUG on the menu

Details

Submitted2006-09-15 08:57 UTC
Fromlmiranda at gmail dot com
StatusBogus
PackageHTML_AJAX
PHP Version5.0.4
OSWindows / MAC
Roadmaps(Not assigned)

Comments

[2006-09-15 08:57 UTC] lmiranda at gmail dot com

Description:
------------
I tried this example on Internet Explorer 6.0.2900

http://htmlajax.org/materials/HTML_AJAX_Presentation/MenuExample/

Now, i just dont know where it failed. Is it on the ajax code or the javascript code? But, probably its on the javascript code for "menuhandler.js".

I've tried to use this on my pages and since i only use firefox, when my user tried this on IE. The example didn't work.

Test script:
---------------
The error was:

--
Line: 13
Char: 4
Error: Object doesn't support this action
Code: 0
URL: http://htmlajax.org/materials/HTML_AJAX_Presentation/MenuExample/
--

Expected result:
----------------
Menu's

[2006-10-18 01:38 UTC] toddvault at gmail dot com

I am having the same exact problem. Works fine with firefox and same error with IE. I am running php 4 and have passed an array of function names to registerClass(). Any thoughts?

[2006-10-18 01:48 UTC] lmiranda at gmail dot com

I think this was fix already..
Use the new code here.. (revisit please)
http://htmlajax.org/materials/HTML_AJAX_Presentation/MenuExample/

Joshua Eichorn, was good enough to revise the example. Eventhough it was not his work. Search the mailing list on html_ajax-devel@lists.bluga.net. I've already posted one.

Louie

[2006-10-18 01:55 UTC] toddvault at gmail dot com

I've been searching for 2 hours and found the solution here: http://www.archivesat.com/HTML--AJAX_Development_and_Support_Mailing_list/thread1646624.htm

It was a problem with the for loop in menuhandler.js