HTTrack Website Copier
Free software offline browser - FORUM
Subject: javascript menu problem
Author: svoro
Date: 07/21/2004 14:52
 
I have obligate problem with javascript menu. Menu 
definition is inside JS block similar to following one but 
urls are not parsed. Thank's for help.

<script language="JavaScript" type="text/javascript">
<!--
  menu.addMenu('menu', {'items': [{'submenu': {'items': 
[{'submenu': {'items': 
[]},'url': <http://www.site.com/write_us','title>: 'Title'},
{'submenu': {'items': 
[]},'url': <http://www.site.com/contact','title>: 'Title'},
{'url': <http://www.site.com/news','title>: 'Title'},
{'submenu': {'items': 
[]},'url': <http://www.site.com/10916','title>: 'Title'}]},'
url': <http://www.site.com/10907','title>: 'Title'},{},
{'submenu': {'items': [{'submenu': {'items': 
[{'url': <http://www.site.com/10917','title>: 'Title'},
{'url': <http://www.site.com/10918','title>: 'Title'}]},'url
': <http://www.site.com/10869','title>: 'Title'}]},'url': 'h
<ttp://www.site.com/10906','title>: 'Title'},{},{'submenu': 
{'items': 
[]},'url': <http://www.site.com/10910','title>: 'Title'},{},
{'submenu': {'items': 
[]},'url': <http://www.site.com/10911','title>: 'Title'},{},
{'submenu': {'items': 
[]},'url': <http://www.site.com/10912','title>: 'Title'},{},
{'submenu': {'items': 
[]},'url': <http://www.site.com/10913','title>: 'Title'},{},
{'submenu': {'items': 
[]},'url': <http://www.site.com/10914','title>: 'Title'}]});
//-->
</script>
 
Reply


All articles

Subject Author Date
javascript menu problem

07/21/2004 14:52
Re: javascript menu problem

07/24/2004 09:03
Re: javascript menu problem

07/30/2004 11:26




f

Created with FORUM 2.0.11