CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Sep 2006
    Posts
    25

    Not implement error

    hi
    i have face the problem in javascript "Not implement error" these error will be occur follwing coe and pointout the line wher the probelm occur, and how solve these problem

    Code:
    var ajax = new Object();
    ajax = false;
    
    var tl = new Array("....","....","....","....","....");
    var count=0;
    var x = 0;
    var pos = 0;
    var l = tl[0].length;
    //alert(l);
    var timerid;
    
    
    				function startProgress(){
    					  
    					  ajax = true;	 
    					  
    					  window.onload=textticker();   //"Not implemented error occur here only "
    					  showProgress();	
    					  
    					  
    					} 
    				
    				function showProgress() { 	
    					if(ajax == true){ 
    					textticker();
    					
    					} 		
    				}
    				function GetIndex1() {
    							if(count==5){
    							//alert("1");
    							count=0;
    							return 0;
    								}
    							else {
    							//alert("2");
    							return count++;
    								}
    								}
    				
    				
    				function textticker() 
    				{
    				
    					
    					var obj=document.getElementById("loadingDiv");
    					
    					obj.innerText="Please Wait"+tl[GetIndex1()].substring(0, pos);
    				
    					//alert(pos++);
    					if(pos++ == l) {
    						pos = 0;
    						timerid=setTimeout("textticker()", 200);
    						//alert(++x);
    						
    						} 
    						else{
    						timerid=setTimeout("textticker()", 500);
    						}
    				
    				}
    				
    				
    				function haltCounter() 
    					{
    				   clearTimeout(timerid);
    				
    					}
    	document.onstop = haltCounter;
    Last edited by PeejAvery; January 5th, 2008 at 11:26 AM. Reason: Added code tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured