ironmann
Junior Member
Posts: 2
Registered: 2/23/2005
Member Is Offline
|
| posted on 2/23/2005 at 05:34 PM |
|
|
Help with Perl Server Side Tree Menu
Help with Perl Server Side Tree Menu
I downloaded the "perl_tigra_menu_serverside.zip" files and am having problems implementing them.
The perl script works correctly if you run it from the command line...so that part is good. Inside the distribution is an index.html file that I used
as a guide to call the javascripts, perl script, and also the menu itself. The problem is that index.html that comes with the distribution doesn't
display the menu either. It says the menu on the right is blah, blah, blah...but there is only empty space where it is supposed to show up. I
configured mine the same way and of course it does not show up either.
Below is what I did. Any help is greatly appreciated...or if there is now any documentation available please advise. One curious thing i noticed was
that when it references the menu_items.pl file it has it as a language=Javascript. I've never called a perl script like this before, so any ideas are
welcome:
print $query->start_html(-title=>'$schoolName',
-style=>[{-src=>'../styles/varsity.css'},
{-src=>'../styles/tree.css'}],
-bgcolor=>"#$color3",
-script => [{ -language => 'JavaScript', -src => '../vst/javascripts/tree.js' },
{ -language => 'JavaScript', -src => '../vst/javascripts/tree_tpl.js' },
{ -language => 'JavaScript', -src => 'tree_items.pl?alias=$alias' }] );
then inside a table cell:
<script language="JavaScript">new tree (TREE_ITEMS, tree_tpl);</script>
|
|
|
|