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

Java menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-13-2003, 09:35 AM
 
SC SC is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 9
 

Default Java menu

I use a Java pull down menu throughout my site and want to implement it into x-cart. How do I do an external java call inside the head.tpl?
Reply With Quote
  #2  
Old 02-13-2003, 02:37 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Wrap these smarty tags around the code for it:

{literal}
...
{/literal}
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 02-13-2003, 02:59 PM
 
SC SC is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 9
 

Default

That's it thanks!
Boomer, i've got another question for you... I need some work done on my xcart, I sent you a email two or so days ago. Let me know if your interested.
Reply With Quote
  #4  
Old 02-13-2003, 04:09 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Yes I am still interested, I've been having several email problems lately, this also goes for anyone else who may have submitted a request to me, as It is in my DB however I didn't not receive any email, i'm currently going through the db as we speak.

__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 02-13-2003, 04:13 PM
 
SC SC is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 9
 

Default

Basically, I liked what you did on the Dragon page except for the colors and wanted to get a price for something along those lines (with a few minor changes). Can you get my email address?
Reply With Quote
  #6  
Old 02-22-2003, 07:03 AM
  jeffwill's Avatar 
jeffwill jeffwill is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: US
Posts: 41
 

Default JavaScript Menus

I'm still having difficulty with the Javascript Menus.

I use Dreamweaver 4.0 with a plug-in called Xara Menu. This is a great inexpensive & uncomplicated tool for generating cool menus within Dreamweaver.

Now that I have the menu's working properly in my "Static" html pages, how do I incorpate that cool little menu into my header.tpl file?

I saw in an early post that it has something to do with {literal}...{/literal}. Can you elaborate on this in more detail, please.

I'm NOT a coder, strictly static html with Dreamweaver up until a week ago. Please, have mercy on me.
Reply With Quote
  #7  
Old 02-22-2003, 09:16 AM
 
SC SC is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 9
 

Default Sorry

Blank
Reply With Quote
  #8  
Old 02-22-2003, 12:54 PM
 
pomfret pomfret is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Pomfret Center, CT
Posts: 94
 

Default Re: JavaScript Menus

Quote:
Originally Posted by jeffwill
I saw in an early post that it has something to do with {literal}...{/literal}. Can you elaborate on this in more detail, please.

You want to enclose javascript within {literal} {/literal} to prevent Smarty from trying to interpret that code. As Smarty parses curly braces {} for variables, you'll run into lots of problems if there's curly braces in your javascript code and it's not {literal}'d.
Reply With Quote
  #9  
Old 02-22-2003, 12:55 PM
 
pomfret pomfret is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Pomfret Center, CT
Posts: 94
 

Default Re: Sorry

Quote:
Originally Posted by SC
I finally got the code to accept the menu but never to display it!

I figured that if I had trouble (and x-cart) did not feel the need to help with the problem then their product was not trust worthy enough to run my store!

So, I changed to a program that could! Sorry I could not help!

Just an FYI... You were trying to incorporate 3rd party code into X-Cart. No company will provide support (not for free anyway) for integrating code that's not their own.
Reply With Quote
  #10  
Old 02-22-2003, 01:45 PM
 
SC SC is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 9
 

Default

Blank
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 04:46 AM.

   

 
X-Cart forums © 2001-2020