(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    I am trying to use the script menu tree in a perl script.

Return to Recent Questions


Q: I am trying to use the script menu tree in a perl script. I would like to know if this is possible?


A: You can use script menu tree in a perl script. See the example below.
------------------ begin program
#!/usr/bin/perl
#!c:\perl\bin\perl

use CGI; # CGI library
use DBI; # Database library
print "Content-Type: text/html\n\n";

use CGI::Carp qw(fatalsToBrowser);
print '<head>
<!-- DHTML Menu -->
<noscript><a href=http://dhtml-menu.com/menu/>Javascript Menu by DHTML-Menu.com</a></noscript>
<script type="text/javascript" language="JavaScript1.2">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" language="JavaScript1.2" src="menudir/dmenu.js"></script>
<!-- (c) 2008, http://dhtml-menu.com --> </head>';

print "<table>";
print '<tr><td><script type="text/javascript" language="JavaScript1.2" src="menudir/data-menu.js"></script></td></tr>';
print '<tr><td>second line</td></tr>';
print '</table>';

exit;

_______________________ end program





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. best web design software | bootstrap menu | bootstrap modal popup | CSS Slider | image slider