User Profile
				
					Collapse
				
			
		
	- 
	
	
	
	
 Well i need to remove the item from the array and then still be able to execute the same functions that search through the array. Ideally delete something then re-index the array with the data that still exists...
- 
	
	
	
	
 Javascript Array, SpliceSo currently i have an application i developed some time ago that has 2 arrays...
 FirstName
 LastName
 
 this application randomly goes through the arrays displaying the names as it goes and finally stops on one (its a prize drawing application we use to distribute prizes at company parties)
 
 when a name gets drawn it clears that array value... if the random loop lands on any empty spot it starts over... the...
- 
	
	
	
	
 Bar GraphI am using VML to create a bar graph report, however i have run into trouble trying to come up with a formula to display and draw the grid lines by....
 
 So if i have 3 users... 1 person does 10 time-outs, another does 20 time-outs and another does 24 time-outs....
 
 The max result being 24 should be close to the top of the bar chart... so i would prob want to round to the next 5... i.e. the top of the chart being 25......
- 
	
	
	
	
 for(i=0; i<document.frmM ain.elements.le ngth; i++)
 {
 if(document.frm Main.elements[i].type=="text")
 {
 document.frmMai n.elements[i].style.width=do cument.frmMain. elements[i].style.width * intWidthMultipl ier;
 }
 }
 }
 
 I continue to get invalid arguement with this.....
 The error is pointing to this line
 document.frmMai n.eleme...Leave a comment:
- 
	
	
	
	
 Im not familiar with units i will have to research these, i am executing the java function on Body Onload, when i try to use this code
 
 then it errors stating "Invalid arguement"Code:frmMain.txtLogin.style.width=frmMain.txtLogin.style.width*intWidthMultiplier Leave a comment:
- 
	
	
	
	
 textbox.width=textbox.width*0.85 Text Resize Control HelpI am trying to develop a resize module i can include on my pages that calculates the size of input fields based on the screen resolution...
 I can already detect the screen resolution, and i have the width / height multiplier for every resolution i need to support... my problem is this...
 
 
 I want the include file to be totally universal so heres my plan
 I will use CSS styles to set the current text box size......
No activity results to display
							Show More
							
Leave a comment: