Friday, August 7, 2009
Thursday, August 6, 2009
Wednesday, March 4, 2009
Spring Break.

Wednesday, February 18, 2009
Internet Explorer Cannot Open the Internet Site: Operation Aborted
Last time, when I was tried to set up twitter on the sidebar of my blog page, suddenly this annoying window just keep popping out when I tried to view my blog on IE.

This error I got was really frustrating as it only shows in IE and not in Firefox and Safari. I just had too spent another extra hours just to figure this error caused by IE.
After a bit of googling, I found several solutions for this problem. This error is likely happened if there are any Javascripts running inside the body tag or inside a table which is directly a child of body, then most of the times this error is bound to happen. It is not possible to append to the BODY element from script that isn’t a direct child to the BODY element. It seems like Internet Explorer doesn’t like scripts appending elements to the existing DOM, especially when script tag is inside ul, ol, table, form, blockquote, and various other tags... When Internet Explorer fails, it fails spectacularly by shutting down the script engine and aborting page rendering, stopping the page from being viewed.
The solution? This can be simply move the script to the top or bottom of the body tag or even moving it after the body. However, sometimes this can’t be the solution, as in my case, where I wanna have it on my sidebar, and by moving the script will move the script outside the sidebar. Well, there are some another solutions where the script can also be put inside a function and then calling it from window.onload. The easiest solution is by adding defer=”defer” in the script tag, which what I used to solve my problem.
Give a try:
If you have Internet Explorer 7, give it a shot and see your operation aborted error in all it’s glory.
Solutions:
Just like mentioned above, this can be done by several ways:

This error I got was really frustrating as it only shows in IE and not in Firefox and Safari. I just had too spent another extra hours just to figure this error caused by IE.
After a bit of googling, I found several solutions for this problem. This error is likely happened if there are any Javascripts running inside the body tag or inside a table which is directly a child of body, then most of the times this error is bound to happen. It is not possible to append to the BODY element from script that isn’t a direct child to the BODY element. It seems like Internet Explorer doesn’t like scripts appending elements to the existing DOM, especially when script tag is inside ul, ol, table, form, blockquote, and various other tags... When Internet Explorer fails, it fails spectacularly by shutting down the script engine and aborting page rendering, stopping the page from being viewed.
The solution? This can be simply move the script to the top or bottom of the body tag or even moving it after the body. However, sometimes this can’t be the solution, as in my case, where I wanna have it on my sidebar, and by moving the script will move the script outside the sidebar. Well, there are some another solutions where the script can also be put inside a function and then calling it from window.onload. The easiest solution is by adding defer=”defer” in the script tag, which what I used to solve my problem.
Give a try:
If you have Internet Explorer 7, give it a shot and see your operation aborted error in all it’s glory.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Internet Explorer cannot open the Internet site: Operation Aborted. </title>
</head>
<body>
<table>
<script>
document.body.appendChild(document.createElement('div'))
</script>
</table>
</body>
</html>Solutions:
Just like mentioned above, this can be done by several ways:
- Calling it from windows.onload
<script>
window.onload=function(){
document.body.appendChild(document.createElement('div'))
}
</script> • Adding defer=”defer”<script>
document.body.appendChild(document.createElement('div')) defer=“defer”
</script> • Or, moving everything inside the script to right after the BODY tagSunday, February 15, 2009
nabilzhafri.com v1.0

New/Changes in V1.0:
- Enhance + working search site
- New theme (obviously) - I will simply call it CSS: cool, simple, sleek. LOL.
- Better photos navigation
- Forum is now has contents, and much better. Now I use phpbb instead of punbb, which seems much more friendly (well, I know it's not much for now, but will grow from time to time)
- Twitter on sidebar
- I've put some movies in video site, and implement it with lightbox effect, which seems very nice (As it takes very long time to upload videos, so there's not much video for now)
- I've removed file sharing site, as I already has forum site. Anything related to file sharing can be found there
- Look and judge by yourself.
That's it. Now I can focus on my blog and forum:D Hope you enjoy!
Wednesday, January 21, 2009
Worst day of my class. Ever.

And my worst day of class begins here. So to not feel sleepy in the next class, I took the chance by taking a nap for the 10 minutes gap. Then, at the moment I woke up, there was no one inside the lecture hall. Nobody except me. I looked at the clock at the back, and it was 10.35 am! OMG, I missed the whole 1 hour thermo dynamics! I had no idea when the professor came, and when everyone went out from the room. Another worst thing, I missed to turn in my homework, where I supposed to turn it in at the beginning of the class, and that homework is the one that I worked on last early morning! I was there, sitting on the 2nd row, but knew nothing and missed everything. So worst. The class which supposed to be ended at 10.50am, made me wondering what was exactly happened. Did the professor cancel the class? I didn't think so. I quickly went out from the room and asked some people around who are in my thermo class, and they said the class just ended earlier.
At that moment, the only thing I care about was to find the prof. and to send my homework, but I just couldn't find him. My solution? I just left my homework to the professor next to my prof's office, and asked for her help to give it to my prof once he get back. Since the prof would likely rejected my homework, I attached a note along my homework just to let he knows what was exactly happening. Is he gonna believe me? Up to him. But I hope he will. In the note, I tell him to send me an email just to let me know either he accepts my homework or not, but till now (right now it's about 5am the next morning), I heard nothing from him. Only 3 possibilities, either the other professor, forget to send it to him, or she didn't get the chance to meet the prof, or maybe, the prof ignored my homework at all. I hope not;) Well, I guess I'll go and see the prof today if I still hear nothing from him this afternoon. Better not to take a nap between classes next time! Or at least ask people around to wake me up! ;)
P/S: Well, I know I've missed some classes before, but at least, I slept own my own bed, not in front of the lecture!
Wednesday, January 14, 2009
Time to back to skate.
A new wheels set for my skateboard!:D I went to Opry last night (well, actually it was just about 4 hours ago) to get this wheels set. Why did I bother to get a new one, since my last wheels are still in good condition? Well, this has nothing to do with speed or to give cool look to my skateboard. It has been about 2-3 months since my last time riding skateboard to class. The only reason I stopped was because my previous wheels made SO MUCH noise, where you can here from miles away (I know this doesn't make sense, but you got what I mean). This happens when I ride my skateboard on non-flat surface, and most places on Vanderbilt have non-falt surfaces, and gave me very limited place that I can skate without making much noise. The different now is where this time I'm using longboard wheels, where it's much bigger (less pressure) and it is made mostly by rubber (more elastic).
Actually, I was in dilemma on either to just get a longboard, or just its wheels. The longboard that I was interested wasn't big, it's much smaller than skateboard, and that was what really attracted me to buy it, but it's "big" price made me think twice. Then I just decided to buy the wheels and try my luck, hoping that it's gonna fits on my skateboard (just because it's too big compared to the standard wheel for skateboard).
Then I arrived home, and I was just lucky! It really fits. Damn, the seller guy in Opry really put me in hard situation. He put me in hard-to-make-decision situation by telling it's not gonna fit on skateboard because of its size. Better believe in my own from now on;) To test if it's really gonna give what I want, I went to engineering building just now - about 12.10 am (well, I know this sounds kinda stupid, but I just couldn't wait to give a try.LOL.), and the results is, much much silent. Still not satisfied enough, before going back to my room, I went to the garage back to my dorm, and gave another try, the result? Still the same, much way silent - just like what I wanted! And now I just can't wait for class tomorrow! Better go to sleep now!;)
Actually, I was in dilemma on either to just get a longboard, or just its wheels. The longboard that I was interested wasn't big, it's much smaller than skateboard, and that was what really attracted me to buy it, but it's "big" price made me think twice. Then I just decided to buy the wheels and try my luck, hoping that it's gonna fits on my skateboard (just because it's too big compared to the standard wheel for skateboard).
Then I arrived home, and I was just lucky! It really fits. Damn, the seller guy in Opry really put me in hard situation. He put me in hard-to-make-decision situation by telling it's not gonna fit on skateboard because of its size. Better believe in my own from now on;) To test if it's really gonna give what I want, I went to engineering building just now - about 12.10 am (well, I know this sounds kinda stupid, but I just couldn't wait to give a try.LOL.), and the results is, much much silent. Still not satisfied enough, before going back to my room, I went to the garage back to my dorm, and gave another try, the result? Still the same, much way silent - just like what I wanted! And now I just can't wait for class tomorrow! Better go to sleep now!;)
Subscribe to:
Posts (Atom)
