Friday, August 7, 2009

Thursday, August 6, 2009

Testing

This post is for testing purpose only.

Wednesday, March 4, 2009

Spring Break.

artwork
Time went very fast. Today, it’s already the fifth day of my Spring break and only another five days left. Ah, I wish I could have more holidays, I just wanna have break a lil bit longer. Already tired of books and exams, and just needs some rest. But I guess that’s fine, let’s just finish up this spring semester and have fun this coming summer. This break, I was spending most of my time improving my drawing skills (well, as you can see, there are still much more to be improved. I still have long way to go! But nvm, practices make perfectXD), learning photoshop and javascripts, and of course, watching movies. Anyone who are looking for photoshop tutorial may take a look at Tutorial 9 website. I found this cool website for learning photoshop, which I think very helpful. It explains everything very well, and they include the psd files as well. To those who just wanna get started, they also offers ‘School of Photoshop’, where it has step-by-step guides on how to get started with photoshop. Oh, and to any of you who wants to learn about html, xhtml, css, php, etc., I recommend you guys to take a look at w3schools website. I supposed to spend my last 3 days in Gatlinburg, TN, snowboarding with a group of my friends. I’ve never snowboarding before and I really want to, didn’t have any chance to go on last winter break as I went to California. I just need to save money as I’m going back home this coming summer. Tickets are just so expensive! Nvm, maybe next winter, I hope so (^_^). Anyway, tomorrow I’ll go for paintball and I’m sure it’s gonna be fun. This is gonna be my first time playing paintball. I hope I’ll wake up early tomorrow so that I’m not gonna miss it!;)

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.
operation_aborted

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 tag

Sunday, February 15, 2009

nabilzhafri.com v1.0

xx
Hey guys! I'm back, with the first version of my website, finally:) It has been a while since my last time blogging. Well, I was just too busy working on this! Anyway, after a month testing, I've decided to release my first version, which I like much better compared to the beta version. It looks more simple, cool, and has sleek design.
Well, basically the contents of this website just stay pretty much the same as before, the only big change I've made was on the look of my site. For other, I just did some enhancements and arrangements.

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.

zzz
A night before yesterday, I didn't sleep because I had to work on my homework. Well, I know it could be done earlier, but I spent a day doing other things. But it wasn't a big deal. At the time I was doing my homework, I didn't feel sleepy at all. Staying up in the library in the early morning sometimes seems fun too.lol. Anyway, to make it short, in the next morning, I had my classes started at 8.10 am. I had 2 classes that morning, thermodynamics and dynamics. During thermo lecture, I started to feel sleepy. Well, I already expect this would happen even though I felt fresh before I went to the classes. The class ended at 9.25 am, and the next class would start at 9.35 am, in the same lecture hall.



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!


Bookmark and Share

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!;)

Bookmark and Share