// constants // x-coordinate of top left corner of dropdown menu var initX = 160; // y-coordinate of top left corner of dropdown menu var initY = 230; // the background color of dropdown menu (set empty '' for transparent) var backColor = '#B0C4DE'; // the background color of selected menu items, set empty '' for transparent var activeBackColor = '#48699F'; // the color of dropdown menu border var borderColor = 'white'; // the width of menu border var borderSize = '1'; // height of menu itesm var itemHeight = 20; // overlapping between var xOverlap = 5; var yOverlap = 10; // end of constants menuContent = new Array (); SELECT * From Cats where Parent_ID=1 and Cat_ID in (select Cat_ID from URL_CAT ) order by 1 menuContent [0] = new Array ( -1, -1, 120, // the width of current menu list -1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate -1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate new Array ( 'القرآن الكريم', '#12' , 'الحديث والفقه', '#13' , 'الخطب والدروس', '#14' , 'مواقع الفتاوى', '#15' , 'المنتديات الإسلامية', '#16' , 'المجلات والصحف الإسلامية', '#17' , 'جمعيات ومراكز إسلامية', '#112' , 'مواقع نسائية إسلامية', '#113' , 'مواقع تجارية إسلامية', '#114' , 'مواقع التاريخ الإسلامية', '#115' , 'مواقع الأذكار والأدعية', '#117' , 'مواقع أركان الإسلام الخمسة', '#118' , 'مواقع شخصيات إسلامية', '#125' , 'أسماء الله الحسنى', '#180' , 'مواقع الدار الآخرة', '#187' , 'كتب وأبحاث ومقالات إسلامية وعربية', '#188' )); SELECT * From Cats where Parent_ID=19 and Cat_ID in (select Cat_ID from URL_CAT ) order by 1 menuContent [1] = new Array ( -1, -1, 120, // the width of current menu list -1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate -1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate new Array ( 'مواقع علوم وهندسة متنوعة', '#1981' , 'مواقع فلك', '#1982' , 'مواقع كيمياء', '#1983' , 'مواقع جغرافيا وخرائط', '#1984' )); SELECT * From Cats where Parent_ID=21 and Cat_ID in (select Cat_ID from URL_CAT ) order by 1 menuContent [2] = new Array ( -1, -1, 120, // the width of current menu list -1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate -1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate new Array ( 'مواقع أندية رياضية', '#2168' , 'مواقع ألعاب رياضية', '#2169' , 'هيئات رياضية', '#2170' , 'مواقع صحف رياضية ومتنوعة', '#2186' )); SELECT * From Cats where Parent_ID=35 and Cat_ID in (select Cat_ID from URL_CAT ) order by 1 menuContent [3] = new Array ( -1, -1, 120, // the width of current menu list -1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate -1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate new Array ( 'مواقع تصميم المواقع', '#3561' , 'مواقع خلفيات', '#3562' , 'استضافة مواقع', '#3563' , 'مواقع متفرقة خدمية لأصحاب المواقع', '#3564' )); SELECT * From Cats where Parent_ID=37 and Cat_ID in (select Cat_ID from URL_CAT ) order by 1 menuContent [4] = new Array ( -1, -1, 120, // the width of current menu list -1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate -1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate new Array ( 'وكالات الأنباء العربية والعالمية', '#3744' , 'مواقع الصحف والمجلات العربية', '#3746' ));