Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Inserting a form in the menu

Posts: 10
Registered: 3/23/2007
Member Is Offline
posted on 5/28/2008 at 12:26 AM Reply With Quote
Inserting a form in the menu

I would like to insert a one-field search form to the right of the Tirga Gold menu. I find that in menu.dom.js, if I insert a table cell with the number 33 in it, the 33 displays properly. Specifically, I change this...

['<table cellpadding="',TMD[0],'" cellspacing="',TMD[1],'" border="',TMD[2],'" class="',TM1B.TM08('table'),this.TMi>-1?'"onmouseout="menus[''''].exec('''',1)" onmouseover="menus[''''].exec('''',2)':'','"><tr>',this.TM1l.join(''),</tr></table>'] this (the change is near the end)...

['<table cellpadding="',TMD[0],'" cellspacing="',TMD[1],'" border="',TMD[2],'" class="',TM1B.TM08('table'),this.TMi>-1?'"onmouseout="menus[''''].exec('''',1)" onmouseover="menus[''''].exec('''',2)':'','"><tr>',this.TM1l.join(''),'<td>33</td></tr></table>']

So far, so good. However, if I then replace the number 33 with an HTML form, the menu disappears - even if I escape every quote mark in the HTML code with with " .

So how can I put a one-field search form to the right of the menu buttons in the Tigra Gold Menu?

Thank you.
View User's Profile View All Posts By User U2U Member

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 5/28/2008 at 03:32 PM Reply With Quote

the form inside the menu item will not work regardless of the described problem. the menu makes sure that the whole area of the menu item is responsive to the mouse events by covering it with the transparent image. this will block any mouse events (such as focus on input box) from reaching your form elements.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Design demos Design demos
Icons & arrows
Hi there!
MS Style
XP Style
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004