Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

need help placing a search box


Poster: akulion
Dated: Wednesday September 28 2005 - 18:32:33 BST

Hi - first of all I wana say this is one kick ass menu! It rocks beyond rock!!
Thanks for this awesome menu! :D

However I am having a bit of a problem configuring one last bit before I can use my menu and that is a search box.

I really want a search box in my menu and I have tried and tried but failed. So I am hoping you guys here can help me out please.

my search box code is



If possible please I want it without the google banner, just a search box and a go button pointing to the default search option which I believe is this one "s13.invisionfree.com/Path_To_Peace" and NOT the google one.

Please help :oops:

Thanks for any help beforehand 8)

Code:
<form method="get" action="http://www.google.com/custom" target="google_window">
<table border="0" bgcolor="#cccccc">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25gry.gif"
border="0" alt="Google"></img></a>
<br/>
<input type="hidden" name="domains" value="s13.invisionfree.com/Path_To_Peace"></input>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
</td></tr>
<tr>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value=""></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="s13.invisionfree.com/Path_To_Peace" checked="checked"></input>
<font size="-1" color="#000000">s13.invisionfree.com/Path_To_Peace</font>
</td>
</tr>
</table>
<input type="submit" name="sa" value="Search"></input>
<input type="hidden" name="client" value="pub-2404175891811072"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="channel" value="7202546313"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="safe" value="active"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:1;LW:1;L:http://invisionfree.com/a.gif;S:http://invisionfree.com;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>

</td></tr></table>
</form>


Poster: John
Dated: Wednesday September 28 2005 - 18:52:25 BST

Here's what a simple form looks like (this one just takes an email address for a newsletter subscription)...
Code:
aI("text=Our Newsletter...<br><form action=http://pdaoutlet.biz/cgi-bin/mail.cgi><input type=hidden name=flavor value=subscribe><input type=hidden name=list value=pda><input type=text name=email><br><br><input type=submit value=Subscribe></form>;type=form;align=center;");

Note that there are no quotes at all (other than the normal beginning and ending ones for the aI) within the form code. Basically just lump it all together, remove all quotes, and don't forget the type=form; statement.


Poster: akulion
Dated: Thursday September 29 2005 - 9:00:15 BST

Thank you for the help - To be honest I tried and tried and tried for 2 hours straight lol
But for some reason even after removing EVERY " and ' (except the beginning and ending one for the aI) and even after including the last bit of the code type=form I just could not get it to work! Sigh!
:oops:
Once I put the modified code in the menu simply refuses to show up altogether. And the minute I remove the code it shows up!

Also in the code you gave me the search box and go button appear on the side of the menu. I was actually hoping to have the same effect as Milonic main page menu where the form appears in a drop down menu style.

Any further help will be greatly appretiated :oops:


Poster: Ruth
Dated: Thursday September 29 2005 - 9:20:12 BST

Hi,

I can't really do the form, since I can't even do a basic one in html :oops: But, if the menu is not appear, there is probably something you left out, a semi-colon, comma, something. If you post the code you cleaned here, perhaps someone can help with that. If you post the code, please use the code button above and when finished posting it, use the button to close the code.

Ruth


Poster: akulion
Dated: Thursday September 29 2005 - 11:26:19 BST

Hi
Thanks for the reply
I hope someone can help me because a whole community of 7854 members on a forum are waiting for the answer to this question!
So I cant let them down :(

here is my code again

Code:
<form method="get" action="http://www.google.com/custom" target="google_window">
<table border="0" bgcolor="#cccccc">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25gry.gif"
border="0" alt="Google"></img></a>
<br/>
<input type="hidden" name="domains" value="s13.invisionfree.com/Path_To_Peace"></input>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
</td></tr>
<tr>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value=""></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="s13.invisionfree.com/Path_To_Peace" checked="checked"></input>
<font size="-1" color="#000000">s13.invisionfree.com/Path_To_Peace</font>
</td>
</tr>
</table>
<input type="submit" name="sa" value="Search"></input>
<input type="hidden" name="client" value="pub-2404175891811072"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="channel" value="7202546313"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="safe" value="active"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:1;LW:1;L:http://invisionfree.com/a.gif;S:http://invisionfree.com;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>

</td></tr></table>
</form>



Please someone help!!


Poster: John
Dated: Thursday September 29 2005 - 15:11:24 BST

See http://www.west.asu.edu/sa/testsite/form.htm.

Please let me know when you have what you need so I can take it down.

OMG!!!!!!


Poster: akulion
Dated: Thursday September 29 2005 - 15:27:57 BST

:D :D :D :D :D :D :D

OMG!!!!

YOU ARE AN ANGEL!!!!

I am so happy that is exactly what I wanted YAHOOO!!!

Well now all the members on the forum I am certain will wana use that modified menu!! You have increased your users by 7854 (if all members on the support forum decide to use it - which I am sure they will)
That means 7854 sites will be featuring your menu :D
Awesome!!
Thank you so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so MUCH (I cant thank you enough!)

I'm gona tell all those people they HAVE to provide a link to your site!!
I downloaded the menu_data.js file from your server and now I am gona work the next 10 hours to modify it with the rest of the links suited for the forum.
Thank you so much once again! (insert 1000000 rose smileys here)


Poster: Andy
Dated: Thursday September 29 2005 - 15:33:51 BST

:D - Looks like you've got another satisfied customer there guys, nice one.

You're happiness is our happiness and goes toward making an even better menu system :D


Poster: John
Dated: Thursday September 29 2005 - 15:43:18 BST

Good grief! :oops: You're certainly welcome, but it was just a 5 minute deal.

Anyway, I'm sure you just missed a " or something simple like that. I just took your form code, did a search and replace to remove all the ", plugged it all together in one line, and added the appropriate aI statements.

BTW, we'll be more than happy to sell 7,800+ licenses (assuming your folks are commercial sites). Don't forget, even if they qualify as non-profit a free license is still required.

Also, many thanks for the kind words in your first post. Most appreciated.

need help with positioning


Poster: akulion
Dated: Thursday September 29 2005 - 18:31:42 BST

well the menu is running and looks awesome (for now I have set it up on a test page:
http://path-to-peace.com/milonicmenu/mytest.html

however no matter what I do changing the variables even tried adding new ones
but I still cant
-change the size of the menu to span the screen horizontally
and
- to be positioned right at the top of the screen

can I get some help here as well? :oops:

Oh and dont worry about the license I will make sure that all the information is posted on the forum properly and everything is made clear to the members!
Which gives me an idea!! This forum I use has a lotttt of members - they have a HORRIBLE navigation system (thus the need for menus to be added) maybe you could contact these guys to purchase a commercial license from you?
Most of the forums on their site I believe are non commercial but I do know that many of them are commercial since they have a "money system" in place for those who wana use their forum to sell stuff.

So if you wish you can check it out as well:
http://invisionfree.com/


Poster: akulion
Dated: Thursday September 29 2005 - 18:59:31 BST

ok i managed to get the positioning part

but I still cannot figure out how to get the menu to span the entire length of the screen horizontally


Poster: Ruth
Dated: Thursday September 29 2005 - 19:04:31 BST

Hi,

Add menuwidth="100%"; menualign="center"; and eliminate the screenposition="center"; from the main menu. To position it right at the top, set top=0, or 1 or however many pixels you want it down.

Ruth

T H A N K Y O U ! ! ! !


Poster: akulion
Dated: Thursday September 29 2005 - 21:11:35 BST

thanks :D

now its working like clock work

I have also alerted ALL the forum members of your menu by posting this thread in the support forum

http://support.invisionfree.com/index.p ... try4015667

so over time definately a lot of people will be checking it out and my best wishes for you that a lot of people buy your menu as well!

If you cannot view the post on the forum - just register for the forum with any name, its free and check out the post. If you feel I have left things out or would like to have that post modified I will gladly do as you ask :D


Poster: Ruth
Dated: Friday September 30 2005 - 3:23:21 BST

Hi,

I can't see that. Even once registered I can't see it, because I don't know where it is, i.e. in which forum etc.
I am logged on, but when clicking the link from here I get a 'you are not autorized to see this topic'

EDIT: Ignore it, I just tried the link again and it allows me to view it. Thanks :)

Ruth


Poster: akulion
Dated: Friday September 30 2005 - 3:38:22 BST

The post can be found on

InvisionFree > Support Section > Coding Support > Code Snippets

The post is called

THE MOTHER OF ALL MENUS!

lol cos i love it


Poster: Ruth
Dated: Friday September 30 2005 - 3:43:47 BST

Hi,

Thanks for the kind words. I finally got it. But, I can't see the menu. All the places it says to check it out either the page doens't load or there's now some blue text saying it was removed. I wanted to see your menu.

Ruth


Poster: Ruth
Dated: Friday September 30 2005 - 3:55:10 BST

Hi again,

I tried your above link and that doens't work either. It says
Code:
www.path-to-peace.com
cannot be found.


Poster: akulion
Dated: Friday September 30 2005 - 7:50:44 BST

ohh I think I am running around in my own head confusing you - I totally forgot to explain my self and my train of thought carried me away - sorry about that. There are actually 2 things I should be highlighting (sorry) :oops:

#1
My menu implementation can be found on:
http://s13.invisionfree.com/Path_To_Peace/

=======================================

#2
On the support forum the post about the menu is located in the following section
InvisionFree > Support Section > Coding Support > Code Snippets
The post itself is called: THE MOTHER OF ALL MENUS!
http://support.invisionfree.com/index.p ... try4015667

The above post was made by me to encourage people to use your menu system and already 2 people are trying to implement it as well :D
=======================================