Old parents are happy to see the son that he is smart and the child is counting-on for parents death.
(Sheikh Saadi)
What's up!
Friday, December 31, 2010
Parents and Children
Downtime; Fate; Success;
I don't know when I'll be down because its about my fate. But the fear of being defeated, elimination of un-necessary things and working in a peaceful place is the sign of being successful and good-luck for sure.
Hidden Power
A man with trustworthy relations is powerful and a man with disloyal relations will be down to knees. This applies in social and professional life very well and then on every part of life.
Tuesday, December 28, 2010
Monday, December 27, 2010
Jquery Live Method And Event Bubbling
Take a look at the following code
In Jquery Live-events-binding, the event from level2(child) element will be passed on to level1(parent), then to parent's parent and finally to the root of the DOM(document object). If on any level the event it being canceled/interrupted by a parent then the child element's event will not be triggered. For example in the given code when we will click on the level2 element, the alert box will not show because the level1 div is blocking it by returning a false. This is the way things work in Jquery Live-events-binding. So be careful while using Live Events which can behave unexpected due to a little logical mistake.
Getting Current Index In Foreach Loop
Best Open Source Javascript Editor
I found Komodo Editor by a youtube video reference and it was a GREAT edition to my Javascript Editors :P Too many editors. Unlike Visual Web Developer you can
- Fold the code, not only function blocks but also every curly brace block which is extremely cool
- Click beside the starting bracket it will select the ending one, bravo.
- The Dark theme is cool, I have started liking working with black background.
- You can open not only files but also projects.
- You associate file extensions with appropriate programming language. By default aspx is not associated, I bound with HTML view. I could have used XML too. The code folding works on that file too. Even that is server side code. For that go to Edit > Preferences > File Associations.
- You can customize the colorization experience by Edit > Preferences > Fonts and colors.
- On the top toolbox you can "Show/Hide left pane" etc so you can view project browser on demand.
- The vertical lines to show matching braces is a cool feature.
- Guess what ! GO TO DEFINITION in javascript? ;)
- Code intellisense is also there. Liked it. It remembers variable names, function names and shows common objects such as window and document and their functions like alert() and parseInt() etc.
Firebug - Check DOM Event Bindings
Go to Firebug Console edito and run this command
IE is still the most famous browser even it holds www back
I hate IE because of the fact that Microsoft is holding a lots of web development back. It has bad HTML5 support and it doesn't support 25% of CSS3 features. I, amazingly, see that IE is still holding 60% of the market. According to a report; In last 3 months Google Chrome has taken its rise from 5.x% to 9.x% which is a huge jump. IE has loosed 4% which seems to go to Google Chrome. Firefox loosed 2% and other browsers seem to be on their old positions.Below is a screenshot from another report
Click the Image |
Sunday, December 26, 2010
Sql Server DB Diagram Permissions Workaround
EXEC sp_dbcmptlevel 'YOURDBNAME', '90'; go ALTER AUTHORIZATION ON DATABASE::YOURDBNAME TO "sa" go use [YOURDBNAME] go EXECUTE AS USER = N'dbo' REVERT go
Saturday, December 25, 2010
Thursday, December 9, 2010
Rock Library gone open source
Rock Library is my own and my favorite library. People were after it for a long time. Finally gone open source.
Hosted on the google code hosting Click here to get the source