JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

form elements inside menu

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
criew
Guest





PostPosted: Thu Jul 31, 2003 2:43 pm    Post subject: form elements inside menu Reply with quote

I would like to add a form to my menu, is this possible? Clicking on the form elements works fine with Konqueror, but IE ignores the click. The only possibility to navigate the form elements is with the <tab> - key.
Am I doing something wrong, or is this feature not supported by COOLjsMenu?

Sample URL: [url]<<<cut>>>[/url]

Sample code:

Code:

...

var MENU_ITEMS = [
    {"pos":[20,50], "itemoff":[109,0], "leveloff":[0,149], "style":OTHER_STYLE, "size":[110,150]},
    {code:"<form action='test.htm'>Nick: <input name='nick' type=text size=8><br>Pass: <input type='password' name='pass' size=8><br><input type='submit' value='ok'></form>"}
];



Thanks in advance
Christoph[/code][/url]
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Sat Aug 02, 2003 12:04 am    Post subject: Reply with quote

This is not possible because every menu item is behind transparent image which is inside an anchor. These elements are vital.
Back to top
criew
Guest





PostPosted: Thu Aug 07, 2003 6:37 pm    Post subject: Workaround Reply with quote

I fixed this issue with a workaround.
By using the format option "noEvent", it's now possible.
See example at <<<cut>>>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1