CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  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.

  2. #2
    Join Date
    Apr 2005
    Location
    Norway
    Posts
    3,934

    Re: Not implement error

    What your code sais is to use whatever returned from textticker as an event handler.

    If you want to use the textticker function itself as handler for the onload function, try:
    Code:
    window.onload=textticker;
    - petter

  3. #3
    Join Date
    Sep 2006
    Posts
    25

    Re: Not implement error

    hi

    i will try these
    window.onloade=textticker;

    what happen the "Please wait...." the dot is not loaded but "not implemented " error is not came .

    i will try onther one is

    window.textticker();

    but what happen when ever stop IE browser the "please wait ....." the dot loading stoped secod time ,

    what is solution these problem pls help me...........

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