Milonic and FORMS question

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Milonic and FORMS question

Post by Doug »

I have a shopping cart based web site, that uses http://www.cartmanager.net product.

I have buttons on my left frame of my existing production web site so my customers can press them to "login" or "checkout".

I thought it would be slick to go ahead and implement those as part of my milonic menu, but I am not sure if this can be done.

Here is the existing code for hard buttons:

<!--<table border="0">

<tr>
<td>
<form method=POST action="https://www.cartmanager.net/cgi-bin/cart.cgi">
<input type=hidden name="UserLogin" value="catcable"><input type=hidden name="CartID" value="catcable">
<input type=hidden name="CheckOut" value="Online">
<input type=image src="http://www.catcables.com/images/buttons/login.jpg" border="0">
</form>
</td>

<td>
<form action="http://www.cartmanager.net/cgi-bin/cart.cgi" method="post">
<input type="hidden" name="UserLogin" value="catcable">
<input type="hidden" name="CartID" value="catcable">
<input type="hidden" name="CheckOut" value="Online">
<input type="image" src="http://www.catcables.com/images/buttons/checkout.jpg" border="0">
</form>
</td>
</tr>
</table> --> (in case HTML is active here:)

At present, my milonic menu is doing the closest thing to what I had as it could be. In other words, display a web page with 2 temporary buttons to click for above code.

I would rather have

Customer Activities:
SUBITEM LOGIN
SUBITEM checkout

clicking my milonic tab would then activate the correct portion of code above.

I hope this makes sense.


My old and currently active production site is
http://www.catcables.com
My current menu for my production system is in test mode at:
http://www.katkables.com

As an aside, you guys like my color combinations of my menu?

thanks!
Doug
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You'll find that the Search option is usually pretty helpful around here... :D

Try this post for some tips.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I like your menu color, very stylish. Since we are talking colors, why not make your greys have a blue base to the color? Not that the blue will show. Try using something like #a9acb1 in place of the #adaaaa in the top table of the body, and sustituting #d3d3d6 for #d5d5d5 in the lighter grey table.

Ruth
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

thanks

Post by Doug »

thanks John, looks right up the alley!

Doug (wiping egg from face)
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Post by Doug »

Glad you like my menu colors.

Thanks for the tip Ruth, I'll take a look at that! :)

I am not a pro developer, just an ole' mainframe programmer out of his element. I'm actually more in my element in design and photography, all my photos will be reshot with pro grade gear soon.

Anyway, thanks for the tip, I will take a look!

Doug
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Post by Doug »

Ruth, I implemented the colors on the main page, it looks good, I'll have to say. I'll implement on my product pages as well very soon. thank you.

John, I still can't get my scripting working for login and checkout functions on the melonic menu. I've asked for a review from a scripting expert. But as yet he has been unable to review. I tried everything last night, and nothing would work. My menu would not show up at all when I tested all the various iterations of what I thought it should be.

thanks.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Well, you didn't exactly follow the post I sent you to! You have...

Code: Select all

aI("text=login;url=<form name="loginform" id="loginform" method="POST" target="body" action="https://www.cartmanager.net/cgi-bin/cart.cgi">
<input type=hidden name="UserLogin" value="catcable"><input type=hidden name="CartID" value="catcable">
<input type=hidden name="CheckOut" value="Online"></form>;type=form
On quick look, try...

Code: Select all

aI("text=<form name=loginform id=loginform method=POST target=body action=https://www.cartmanager.net/cgi-bin/cart.cgi><input type=hidden name=UserLogin value=catcable><input type=hidden name=CartID value=catcable><input type=hidden name=CheckOut value=Online></form>;type=form;");
John
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Post by Doug »

Well John, I tried at first to have it as much like that as possible, but it wasn't working, so my trial and error attempts drifted all over the place. lol.

i'll gladly try. My expert had me try something different last night, but it wasn't working either. So, this try is next! :)

Ok, I tried it, and one problem right off, as coded, there is no text for the menu item. Ai code without a "text description" won't show up on menu for me as listed.

I tried it as both a part of the side main menu, as well as in my body as a "sub" item. neither way worked. Both methods had the initial problem of no text description. I tried adding login; just after = sign, and before <form, but that didn't work.

thanks John.
Doug
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Post by Doug »

well, we now have a method working, you can evaluate if you like.
http://www.katkables.com last menu option.

thanks

Doug
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Doug,

It works :) That's the most important thing for now, but i know there's a way to make it part of the menu, that is, you'd have the item as you have it now, but when you moused over the Login/Checkout you'd get a submenu with the form in it, just like you get the search option on the Milonic site.

Unfortunately, I don't know how to make it show up. So, hopefully John or Andy can help.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hmm, I found this. Maybe you forgot the table which I see in most of these forms.

Code: Select all

aI("text=<form name='login' action='#' method='get'><table border='0' width=100 class='login'><tr><td><input type='hidden' value='login' name='formuse'><br><br><br>username:<br><input name='username' type='text' size='12' maxlength='32'></td></tr><tr><td>password:<br><input name='password' type='password' size='8' maxlength='8'> <input type='image' src='/i/go-login.gif' value='submit' ></td></tr><tr><td><a href='javascript:trak(\"/login.shtml\")' class='login'>Forgot Password?</a></td></tr><tr><td><br><a href='javascript:trak(\"/register.shtml\")' class='login'>New Brokers,<br>register here</a></td></tr></table></form>;type=form;"); 
Hopefully this will help give you some ideas. This is a submenu that opens from a main menu item.

Ruth
Doug
Beginner
Beginner
Posts: 9
Joined: Thu Jun 22, 2006 3:14 pm

Post by Doug »

I am pretty bad with this stuff I think Ruth, but thanks for the tip for sure. I will likely be content to get something working for now, then maybe enhance it later. But I'll look at it after I've had some coffee today. :)

What I really wanted to do was have it be active off the main menu, you know, a main button "login", and they don't even go to sub item, and go right to the login panel. doh well.

thanks,
Doug
Post Reply