2006年09月05日

Are you suffering with mm_menu.js + IE + iframe + select_tag?

Recently, I'm mainly writing a blog about CakePHP. (cakephp.seesaa.net)
Sorry for not posting articles for this blog these days....

I was asked to embed a pop-up menu made by Macromedia Dreamweaver into a existed PHP project. The exsisted project had flames (menu + main), and the main file was using "header("location:.....")" many times, so I decided to use "IFRAME" for this renovation task.

Then, I faced a problem. The some of the menu item was hidden by SELECT tags in iframe.
After making a reseach, I found this url.

Portal Menus and Windowed Controls
by Gerald Nunn
http://dev2dev.bea.com/pub/a/2005/04/portal_menus.html
(Japanese Translation:http://www.beasys.co.jp/dev2dev/pub/a/2005/4/portal_menus..html)

That's it! By reading this article, I understood that this problem can be solved, but this code is NOT for mm_menu.js. And it seemed that nobody adjusted mm_menu.js for IE iframe & select tag problem.

And I found this blog article:
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/

In this article, he said:"So don’t use mm_menu or fw_menu. Go find one of the many HTML/CSS menus that are out there. Some are even free".

Aaaaah... He will not change this script by himself..もうやだ〜(悲しい顔)
I spent some hours to do it.

If you are suffering same problem, try this. You can just replace your mm_menu.js with this.
mm_menu.js

*Go to a latest article*

No Warranty! So back up your original mm_menu.js. I tested with only horizontal menu. (Check by yourself!)

So far, my project goes well with this mm_menu.js.
If you can make this script better, please do so. And please share it!
posted by SDozono at 00:48| ロサンゼルス 晴れ| Comment(2) | TrackBack(0) | 日記 | このブログの読者になる | 更新情報をチェックする
この記事へのコメント
you are amazing ! thank you so much
Posted by Chris at 2006年09月23日 07:54
great help for me . thank yo so much . so nice article
Posted by sohail@yahoo.com at 2008年10月20日 15:55
コメントを書く
お名前:

メールアドレス: [必須入力]

ホームページアドレス:

コメント: [必須入力]

認証コード: [必須入力]


※画像の中の文字を半角で入力してください。
この記事へのトラックバックURL
http://blog.seesaa.jp/tb/23271573
※言及リンクのないトラックバックは受信されません。

この記事へのトラックバック
WebとCTI、VoIP技術の高みを目指して - 技術者の24時間