| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
WYSIWYG menu | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello out there,
Just starting working on the templates for x cart and have read most of the mail and can't find this specifically addressed. I have a pop-up menu that was done in Dreamweaver ala WYSIWYG. I tried putting the literal tags around the javascript, crossing my fingers and hoping it would work - but no go. Does the menu need to be written in pure Javascript in order to work or are there any kind of changes I can make to the Dreamweaver code? I think I can do the Javascript, but can't afford to do something I don't have to. Thanks, Sunny
__________________
4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() If you are talking about the standard Javascript Dreamweaver creates for rollover images, etc., you have to put the JavaScript in the head of your home.tpl file, not just plop it in where you want the menu to appear
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi,
Now this is starting to make sense to me. I'm a little slow on the uptake. I cut and pasted the code to the header. Still a no go. This is actually a pop up menu. There is one line of code that was in the body when the menu is created, it is: <script language="JavaScript1.2">mmLoadMenus();</script> I have tried putting this in the body of home.tpl with {literal}{/literal} tags around it . Tried moving it into the head of home.tpl and tried just leaving it in the head.tpl but nothing seems to be working. Any other suggestions? Thanks for your help. Sunny
__________________
4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Just follow the placement of the script in the sample page you created. Move the stuff in the head, to the head of home.tpl. Move the stuff in the body to the body of home.tpl. Use literal quotes around each piece of code.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() No, it still won't show. Does anything in how the script is called need to be changed to fit in with smarty or php? This is the code attached to the image that the MouseOver event should show the pop up menu:
<td>[img]{$ImagesDir}/products.gif[/img]</td> That code is in the head.tpl file with the image. Is there anywhere else that something should be changed? Thanks, Sunny
__________________
4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|