XML Menu Help :(

Discussion in 'XML & RSS' started by luckmann, Jun 19, 2011.

  1. #1
    I have this menu but i can't figure out how to make the menu to show from right to left instead left to right,

    any ideas

    btw this is an open source menu from www.flashmenulabs.com

    <?xml version="1.0" encoding="UTF-8"?>
    
    <menu type="Flash Menu Labs Open Source Edition  (Vertical)  www.flashmenulabs.com" >
    
    
    	<spec_menu_params
    		is_physic_enabled = "1"					
    		webmaster_text = "Flash Menu Sample"
    		webmaster_url = ""
    		
    		
    		enable_soft_wave_when_appear = "1"	comment = "to use this effect you should set is_physic_enabled = 1 "
    		
    		
    		base_shift_x = "1080"		comment = "basic shift of the menu X"
    		base_shift_y = "330"		comment = "basic shift of the menu Y"
    					
    	
    					
    		appear_effect_pos_type = "2"		comment = " Position Effect when appearing; 0 - no pos effect; 1 - from random pos; 2 - from sides"
    		disappear_effect_pos_type = "0"		comment = " Position Effect when disappearing"
    
    		appear_effect_opacity_type ="1"	comment = "Opacity Effect when appearing; 0 - no opacity effect;1 - simple fade in; 2 - luminiscent lamp"
    		disappear_effect_opacity_type = "1"	comment = "Opacity Effect when disappearing"
    
    			
    
    		flex_coef = "5.9"		comment = "Physics, flexibility coef" 
    		decay_coef = "1.25"	comment = "Physics, decay coef" 
    		random_coef = "0.0"	comment = "Physics, coef of randomnes of physic parameters" 
    	/>
    
    	<app_disapp_eff>
    		<!-- Appear/disappear effect parameters -->
    		<eff_pos 
    			max_time_to_wait = "0" 
    			accel_coef = "5" 
    			base_speed = "100"
    			jump_coef = "0.33"
    			even_odd_side_dist = "71"
    		/>
    		
    		<eff_opacity 
    			max_time_to_wait = "0"
    			time_to_appear = "2.1"	
    			time_to_disappear ="2.1"		
    		/>
    	</app_disapp_eff>
    
    
    	<!-- Menu Level parameters (0 - root menu level, 1 - for all sublevels)     -->
    	<level 
    		numb= "0" 					comment = "for root menu level"
    		fixed_menu_width = "150"	  comment = "minimum width of menu item. Setting to -1 make it autosized  "	
    		menu_height_coef = "1.2"		comment = "the resulting menu height will be text height multiplyed by this coef"
    		dist_between_menu_items_x = "0"
    		dist_between_menu_items_y = "1"	
    	>		
    		<font	
    			comment = " font parameters in 3 states normal, mouseover,selected"
    			size = "14"
    
    			underline_normal = "0"
    			underline_mouseover = "1"
    			underline_selected = "1"
    
    			bold_normal = "0"
    			bold_mouseover = "0"
    			bold_selected = "0"
     
    			color_normal =    "0xFFFFFF"
    			color_mouseover = "0xFFFFFF"
    			color_selected =  "0xFFFFFF"
    		/>
    		<place_dist
    			border_dist = "1"		comment = "distance between menu item left border and text"
    		/>
    		
    	</level>
    
    	<level 
    		numb= "1"	comment = "for all menu sublevels"
    
    		fixed_menu_width = "15"		comment = "minimum width of menu item. Setting to -1 make it autosized  "		
    		menu_height_coef = "1.1"	comment = "the resulting menu height will be text height multiplyed by this coef"
    		dist_between_menu_items_x = "2"
    		dist_between_menu_items_y = "1"
    	>		
    		<font
    			comment = " font parameters in 3 states normal, mouseover,selected"
    			size = "11"
    
    			underline_normal = "0"
    			underline_mouseover = "1"
    			underline_selected = "1"
    
    			bold_normal = "1"
    			bold_mouseover = "1"
    			bold_selected = "1"			
    			
    			color_normal =    "0x424242"
    			color_mouseover = "0xEEEEEE"
    			color_selected =  "0xEEEEEE" 
    		/>
    		<place_dist
    			border_dist = "10"		comment = "distance between menu item left border and text"
    		/>
    	</level>
    
    	<!--  MENU STRUCTURE	-->
    	<menu_structure>
    	
    	<item>
    				<item text = "عن المشرع" url = "" url_self = "1"></item>
    			
    				<item text = "الجامعات" url = "" url_self = "1" >
    				<item text = "الجامعة الأردنية" url = "" url_self = "0" />
    				<item text = "الكليات والخدمات" url = "" url_self = "1" />
    				</item>
    			
    				<item text = "مدارس" url = "" url_self = "1"  >
    				<item text = "الحضانات" url = "" url_self = "1" />
    				<item text = "المدارس الحكومية" url = "" url_self = "1" />
    				<item text = "المدارس الخاصة" url = "" url_self = "1" />
    				</item>
    						
    			
    				<item text = "مدارس ذوي الاحتياجات الخاصة" url = "" url_self = "1" >
    				</item>
    				
    				<item text = "الجامعات والكليات" url = "" url_self = "1" >
    				</item>
    			
    				<item text = "المعاهد التعليمية" url = ""  url_self = "1" >
    				<item text = "الكمبيوتر والتصميم والشبكات" url = "" url_self = "1" />
    				<item text = "المعاهد التعليمية والثقافية" url = "" url_self = "1" />
    				<item text = "معاهد لغات" url = "" url_self = "1" />
    				<item text = "معاهد تمريض" url = "" url_self = "1" />
    				<item text = "سكرتارية وإدارة تسويق" url = "" url_self = "1" />
    				</item>
    				
    				<item text = "مراكز القرآن والسنة" url = ""  url_self = "1" >
    				</item>
    				
    				<item text = "مراكز الفنون" url = ""  url_self = "1" >
    				<item text = "الخط والزخرفة" url = "" url_self = "1" />
    				<item text = "تصميم جرافيك وميديا " url = "" url_self = "1" />
    				<item text = "الزهور" url = "" url_self = "1" />
    				<item text = "التجميل والحلاقة " url = "" url_self = "1" />
    				<item text = "الأشغال اليدوية" url = "" url_self = "1" />
    				<item text = "تصميم داخلي" url = "" url_self = "1" />
    				<item text = "الموسيقى" url = "" url_self = "1" />
    				<item text = "الرسم" url = "" url_self = "1" />
    				</item>
    				
    				<item text = "معاهد تعليم قيادة السيارات" url = ""  url_self = "1" >
    				</item>
    				
    				<item text = "المكتبات والقرطاسية" url = ""  url_self = "1" >
    				</item>
    				
    				<item text = "الأجهزة والمعدات" url = ""  url_self = "1" >
    				<item text = "الفن والموسيقى" url = "" url_self = "1" />
    				<item text = "موردي التموين" url = "" url_self = "1" />
    				<item text = "المعدات والأثاث المكتبي" url = "" url_self = "1" />
    				<item text = "المواد التعليمية" url = "" url_self = "1" />
    				<item text = "المواد المدرسية" url = "" url_self = "1" />
    				<item text = "الزي المدرسي" url = "" url_self = "1" />
    				<item text = "المعدات المكتبية" url = "" url_self = "1" />
    				<item text = "المواد والمعدات الرياضية" url = "" url_self = "1" />
    				<item text = "ذوي الاحتياجات الخاصة" url = "" url_self = "1" />
    				</item>
    				
    				<item text = "الخدمات الأخرى" url = ""  url_self = "1" >
    				<item text = "الاستشارات" url = "" url_self = "1" />
    				<item text = "المواصلات" url = "" url_self = "1" />
    				</item>
    				
    				<item text = "المعارض والمؤتمرات" url = ""  url_self = "1" >
    				</item>	
    						
    	</item>
    		
    	</menu_structure>
    
    </menu>
    Code (markup):
     
    luckmann, Jun 19, 2011 IP