Search found 4 matches

by blueEinstein
Thu Jul 31, 2003 8:12 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: JavaScript Arguments
Replies: 6
Views: 4213

Kevin, Thanks; it works perfectly.
by blueEinstein
Thu Jul 31, 2003 2:26 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: JavaScript Arguments
Replies: 6
Views: 4213

Thanks for your reply. Here are my answers to your question: - I'm after the ID of the item. - I would like to create a generic javascript function that would handle the "Add to Cart", "View Description", "Buy Now". fnAddToCart(id), fnViewDescription(id), fnBuyNow(id) E...
by blueEinstein
Wed Jul 30, 2003 7:54 pm
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: JavaScript Arguments
Replies: 6
Views: 4213

Run-time menu names passed by JavaScript

Yes, the solution you have stated above will definetely work for static menus. But, I'm using dynamically generated menus. And names aren't known prior to runtime. The reason why I'm doing it this way, is in my store, I have a "drop down" menu for each item -- which contains submenus. i.e....
by blueEinstein
Wed Jul 30, 2003 12:56 am
Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Topic: JavaScript Arguments
Replies: 6
Views: 4213

JavaScript Arguments

In the following code snippet: addmenu("MainMenu",... "Sub Menu","show-menu=DisplaySubMenu",,,1]) addmenu("DisplaySubMenu",... "Function 1", "javascript:fnFunc1Submit()",,,1, "Function 2", "javascript:fnFunc2Submit()",,,...