Having problems with DHTML Menu? There is usually somebody here who knows the answer.
			
		
		
			
				
																			
								azaro 							 
						Beginner 			
		Posts:  7  		Joined:  Mon Nov 10, 2003 8:08 pm 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by azaro   »  Wed Nov 19, 2003 3:14 am 
			
			
			
			
			
			I want to use this flash banner as a main menu item, but is it possible?
Here is the HTML code as as provided by the Ninjai.com site: 
Code: Select all 
<embed src="http://ww1.ninjai.com/banners/banner1_120x90.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="90"></embed> 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								kevin3442 							 
						Milonic God 			
		Posts:  2460  		Joined:  Sat Sep 07, 2002 12:09 am 		
		
																Location:  Lincoln, NE 
							
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by kevin3442   »  Fri Nov 21, 2003 6:19 am 
			
			
			
			
			
			You could try putting the html code in the text menu item property, surrounding it in back quotes, and replacing the double quotes with single quotes, like so:
Code: Select all 
aI("text=`<embed src='http://ww1.ninjai.com/banners/banner1_120x90.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='120' height='90'></embed>`;url=...");
Don't know if that'd work... haven't tried it... but it might be worth a shot.
Kevin
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								azaro 							 
						Beginner 			
		Posts:  7  		Joined:  Mon Nov 10, 2003 8:08 pm 		
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by azaro   »  Fri Nov 21, 2003 3:36 pm 
			
			
			
			
			
			I tried that solution, but it didn't work.  
 
But thanks for the reply.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								kevin3442 							 
						Milonic God 			
		Posts:  2460  		Joined:  Sat Sep 07, 2002 12:09 am 		
		
																Location:  Lincoln, NE 
							
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by kevin3442   »  Mon Nov 24, 2003 11:29 pm 
			
			
			
			
			
			OK, try it like this.  Define your flash menu items in string variables, at the top of menu_data.js, like so.
Code: Select all 
menuItem01="<embed src='http://ww1.ninjai.com/banners/banner1_120x90.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='120' height='90'></embed>";
Then, in your aI() menu item definitions, do this:
Code: Select all 
aI("text="+menuItem01+";showmenu=subMenuName;");
I tried a quick test with my own .swf test file and it worked fine, even with a mouseover effect in the flash.
Kevin
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								azaro 							 
						Beginner 			
		Posts:  7  		Joined:  Mon Nov 10, 2003 8:08 pm 		
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by azaro   »  Tue Nov 25, 2003 2:39 am 
			
			
			
			
			
			
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								kevin3442 							 
						Milonic God 			
		Posts:  2460  		Joined:  Sat Sep 07, 2002 12:09 am 		
		
																Location:  Lincoln, NE 
							
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by kevin3442   »  Wed Nov 26, 2003 12:47 am 
			
			
			
			
			
			Glad it worked.  Do us a favor, if you don't mind, and post a url to the site when you're done.  I helped a guy quite some time ago who was incorporating flash into menu items using version 3, and the result was a very cool looking design. I'd like to see how you've incorporated flash when your done... again, if you don't mind.  I bet it'll be pretty cool. 
 
Kevin