1) Script Title: Omni Slide Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lide/index.htm
3) Describe problem:
I am just trying to populate the menu options from a PHP array, something like this (of course this doesn't work)
Thanks in advanceCode:<script> . . . menupos:'top', // set side that menu slides in from (right or left or top) bartext:'MAIN MENU', // bar text (the vertical cell) use text or img tag /////////////////////////// menuItems:[ //[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header ["Tickets"], //create header <? $stage_arr = $db->DataSet("select * from mt_job_stage"); $ct = 1; foreach($stage_arr as $arow){ echo '["'.$arow['stage'].'", "work_order_listing.php?sid='.$arow['stage_id'].'"],' $ct++; } ?> ["Lois Images", "http://www.loisimages.com", "_new"], ["State Street Blues", "http://www.statestreetbluesstroll.com/","_new"], ["Media Jazz by Night", "http://www.mediajazzbynight.com/", "_new . . . </script>



Reply With Quote

Bookmarks