| 
| 
 | 
 | 
 | 
 | 
 | 
| 		
			
			 | 
		#1 | 
| 
			
			
			
			 Are you sure you're an accredited and honored pornographer? 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
			
			 
				
				Need help with a small javascript...
			 
			Im making a list of category recips that opens with a pull down menu. The script I have now works out pretty good- almost like I want it anyway. The problem is that when you choose option #1 in the pull down menu it shows both option #1+#11+#12, etc. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
	There is no problem with any of the other choises. This probably wont make much sence without seeing the script. Here it is: http://www.neighbourhoodgirls.com/tnx.htm  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#2 | 
| 
			
			
			
			 Are you sure you're an accredited and honored pornographer? 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
		
		
		 Nevermind- I fixed it. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
	Damn Javascript must be the hardest language I have dealth with so far.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#3 | 
| 
			
			
			
			 Are you sure you're an accredited and honored pornographer? 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
		
		
		 Another question. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
	I would like to make the page/script availabe for Netscape and other browsers. I really dont know enough about javascript to change the code myself. I asked some wiseguy how to do it he said this: --------------------------------------- What you can do is make use of, for instance classes... <div class="dropmsg1"> and then do something along the lines of: function expandone(){ if (document.getElementsByTagName) { var an = document.getElementsByTagName('div'); for (i=0; i<an.length; i++) { if (an.item(i).getAttribute('class') == "dropmsg"+selectedItem ) { var selectedItem=document.dropmsgform.dropmsgoption.selectedIndex contractall() an.item(i).style.display='block' } } } ---------------------------------- I tried to install this by replacing some of the lines in the current script with this, but since I dont have a clue what im doing- I cant get it working:-(  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
	
	
| Thread Tools | Search this Thread | 
| Display Modes | Rate This Thread | 
		
  | 
	
		
  |