Pages: 12
Now this is where EC is good at. Here's a screenshot of what EC, btw to open EC click Tools>Error Console
[img]http://h1.ripway.com/mumbhaki/Tracker%20Tutorial%20%20by/error.jpg[/img]
The screeny shows two error, ignore the urchin tracker errors, those are google ads' error, they doesnt affect anything in your profile.
The first error tells us which line of code messed up, notice the encircled link, that's our js link(this is always the link we need to look for incase there are many errors), click it.
And the link will pop up our js code. Notice again that the source highlighted the line of error.
[img]http://h1.ripway.com/mumbhaki/Tracker%20Tutorial%20%20by/src.jpg[/img]
Now this is the difficult step. How will we fix that line of code? What if the line look so cryptic we cant even understand what the hell that line's for. This is what we call DEBUGGING
. It is already beyond the scope of this topic because debugging requires you to have atleast basic knowledge in javascript, to learn more about js goto www.w3schools.com/js
So what now? How will we fix it?
For the sake of this tutorial, we will move on, atleast for this example only.
Now we go back to ripway and edit our js there. And we fix the error.
[quote]alert("hello");
[b]alert("hello + pagviewerFName);[/b][/quote]
the above error is actually caused by a missing quotation. So after fixing, the code should look like this
[quote]alert("hello");
alert("hello[b]"[/b] + pagviewerFName);[/quote]
Then we test it again, im sure it will work.
&u=http://www.commentyou.com&i=8&b=0x0000FF\" quality=\"high\" wmode=\"transparent\" width=\"197.05\" height=\"197.05\" name=\"Custom Clock\" align=\"middle\" allowScriptAccess=\"samedomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />";
document.getElementById('blogs_1_3').style.height='300';
document.getElementById('blogs_1_3').style.overflowY='hidden';
document.getElementById('blogs_1_3').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
}setTimeout("embed()",10000);
I just hope somebody will going to help me...thanks in advance!
&u=http://www.commentyou.com&i=8&b=0x0000FF\" quality=\"high\" wmode=\"transparent\" width=\"197.05\" height=\"197.05\" name=\"Custom Clock\" align=\"middle\" allowScriptAccess=\"samedomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />";
document.getElementById('blogs_1_3').style.height='300';
document.getElementById('blogs_1_3').style.overflowY='hidden';
document.getElementById('blogs_1_3').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
}
|
|
thanks to this,i found out that my page is full of errors
but dont know how to fix them
very..very...very...useful
Now this is where EC is good at. Here's a screenshot of what EC, btw to open EC click Tools>Error Console
[url]http://h1.ripway.com/mumbhaki/Tracker%20Tutorial%20%20by/error.jpg[/url]
The screeny shows two error, ignore the urchin tracker errors, those are google ads' error, they doesnt affect anything in your profile.
The first error tells us which line of code messed up, notice the encircled link, that's our js link(this is always the link we need to look for incase there are many errors), click it.
And the link will pop up our js code. Notice again that the source highlighted the line of error.
[url]http://h1.ripway.com/mumbhaki/Tracker%20Tutorial%20%20by/src.jpg[/url]
Now this is the difficult step. How will we fix that line of code? What if the line look so cryptic we cant even understand what the hell that line's for. This is what we call DEBUGGING
. It is already beyond the scope of this topic because debugging requires you to have atleast basic knowledge in javascript, to learn more about js goto www.w3schools.com/js
So what now? How will we fix it?
For the sake of this tutorial, we will move on, atleast for this example only.
Now we go back to ripway and edit our js there. And we fix the error.
[quote]alert("hello");
[b]alert("hello + pagviewerFName);[/b][/quote]
the above error is actually caused by a missing quotation. So after fixing, the code should look like this
[quote]alert("hello");
alert("hello[b]"[/b] + pagviewerFName);[/quote]
Then we test it again, im sure it will work.[/quote]
nice poting broo
keep up the good attitude
go ...........go..............go..........
Last edited by friendskler (2009-01-28 03:00:44)