Hi!
It would be much appreciated if someone could help me with this.
I am trying to restrict the amount of menu items to be read from database to populate MX Tree Menu. The menu gets quite slow on my Win2000/IE 6 if all the sub items of every top level menu item is present (Firefox/Win2000 and IE6/IE7/WinXP is much better)
If I could get MX Tree Menu to send two URL parameters every time it is klicked, it would solve my problem.
MX Tree Menu sends now id=id_dir and its fine, but I need it to send section=section_dir as well!
How do I make MX Tree Menu to read an extra parameter from the same recordset?
I have Dreamweaver 8 and here is how section_dir looks when pulled out and positioned between body tags: <?php echo $row_rsDirectory['section_dir']; ?>
My recordset includes: SELECT id_dir, iddir_dir, name_dir, section_dir ...etc.
MX Tree Menu does now one URL parameter "id_dir" :
//URL Type: Static
$TreeMenu1->setLink("page.php?id=");
$TreeMenu1->setURLParameter("id_dir");
$TreeMenu1->setTarget("_self");
but I need two URL parameters:
//URL Type: Static
$TreeMenu1->setLink("page.php?section=xxx&id=");
$TreeMenu1->setURLParameter("id_dir");
$TreeMenu1->setTarget("_self");
I can replace "xxx" with number and it works great but I need it to send different number each time, according to the top level menu item wich is present in my recordset all the time.
Any ideas? I dont know PHP or MySQL but DW takes me long way :-)
Yours, Kari Lehtonen, Finland