Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Trying to get DHTML menu to show.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-09-2005, 09:40 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default Trying to get DHTML menu to show.

anyone know of a way to put a frameset into a tpl file.

I have a DHTML menu that I have lots of work into but now can't manage to put it into the site.

The code in the html file for the menu is
Code:
<html> <head> <title>Your Title</title> </head> <frameset cols="150,*" framespacing='0' frameborder='0' border='0'> <frame frameborder='0' framespacing='0' src="VerticalFramesNavigation.htm" noresize scrolling='no' name="navig"></frame> <frame frameborder='0' framespacing='0' src="VerticalFramesMainPage.htm" name="space"></frame> </frameset> </html>

You can view the menu HERE

You can download the whole menu script and all if you like. Maybe someone can decifer what they have done here. It's a great menu with lots of effects. Just trying to get it to show in the site. It can even bring up pictures and all with no limit of sub menus.

Here are all the files Download Here
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #2  
Old 03-10-2005, 03:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

NO FRAMES!!!!! I HIGHLY recommend you don't use frames....very bad idea. If you are looking for a good DHTML menu, try Dynamic Drive (www.dynamicdrive.com). They have some great DHTML menus, that aren't in outdated frames
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-10-2005, 04:21 AM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

well I think the menu is just displayed in frames for the example. I assume you can display it in other ways but I'm not too sure how to go about it.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #4  
Old 03-10-2005, 04:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Here's one that I use on a lot of sites....very flexible and even comes with a nice little interface to configure the menu so you don't have to edit any code:

http://www.navsurf.com/dhtml/acemenu/default.asp
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-10-2005, 04:52 AM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

hey great. My car audio site has lots of categories, products, and manufacturers. I really need the dynamic menu. I also thought about just creating a menu that just drops open when you click the links and then stays there. Simliar to www.cardomain.com

Today Carrie from BCSEngeneering.com is supposed to call me and we will discuss a site template and many many mods for the site. Maybe even she could come up with the type of menu I'm looking for and need.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #6  
Old 03-10-2005, 04:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just be careful how deep you make the menu. In my experience, if you have a lot of categories, going more than 2 sub-categories deep REALLY slows down the cart. But Carrie really knows what she is doing and I'm sure she'll take good care of you
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-10-2005, 05:12 AM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

I learned that to. I have used the dhtml menus on a few of my php-nuke sites. I basically have just one subcategory on the menu. Say you go to Amplifiers. Then it goes to amp types such as mono channel, multi-channel, 2-channel. Then that page it takes you to allows you to choose between manufacturers.

I'm going to make it just a hardcoded menu. Not sure how to make it draw from a database which I assume is what slows it down anyways such as the FancyCategories Menu.

By the way... thanks from your quick replies. Seems as soon as I submit something you're right back with an answer.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #8  
Old 03-10-2005, 11:55 AM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

what's the trick to getting this menu into the site?
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #9  
Old 03-10-2005, 12:20 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just follow the install directions for whatever script you are installing. Be sure to put any scripts in {literal} tags so that they don't get botched up. Example:

{literal}script here{/literal}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 03-10-2005, 12:56 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

When I generated the menu it made a .htm file that dislplayed the menu. Basically with some javascript inside of it. I tried posting this code within a menu.tpl file I created within my skin1/customer folder

Code:
{* $Id: dhtml.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *} {capture name=menu} {literal} <script language="JavaScript1.2" type="text/javascript">var ace_path = ''; </script> <script language="JavaScript1.2" type="text/javascript" src="customer/menu/acemenu_loader.js"> </script> <body> <script language="JavaScript1.2" type="text/javascript" src="customer/menu/kcamenu.js"> </script> <script language="JavaScript1.2" type="text/javascript">ACEDisplayMenu(); </script> <script language="JavaScript1.2" type="text/javascript">ACECreateMenu();onload=ACELoadMenu; </script> {/literal} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=dhtml menu_content=$smarty.capture.menu }

But no such luck. doesn't display the menu at all.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:34 PM.

   

 
X-Cart forums © 2001-2020