- Use Mouse
Sunday, May 6, 2012
Saturday, May 5, 2012
[FBP] Hijacking Facebook Pages
One could argue that this is working as intended: if the creator of a Facebook Page lets someone else in as admin, they have the same administrative rights as them, right? Wrong. Facebook?��s FAQ clearly states that ?��the original creator of the Page may never be removed by other Page admins.?��
Unfortunately, as visible in the video embedded below, a newly appointed page admin can remove the Page creator's admin status, which can be very nasty in certain cases. Today, Facebook Pages are more than fun, they're a serious part of business promotion and losing administrative access to a Page can lead to host of problems.
Is it a security flaw or simply an error in Facebook's FAQ? According to the Register, it's the latter. Ultimately, it doesn?��t matter: either way it will confuse users and cause problems, since the FAQ says one thing and the reality is very different.
We've asked Facebook for comment but haven't yet heard from them.
Have you ever had a Facebook Page hijacked by another admin? Please, share your experiences in the comments.
Labels:
hack
Friday, May 4, 2012
Adding a Syntax Highlighter to your Blogger blog
Syntax or code highlighting is important particularly when you need to show code examples on your blog.
It is always a big task to read codes on a blog or a website without syntax highlighting, though they are enclosed with code tags. By integrating the syntax highlighter on a blog or a website, readers can read the code examples easier.
There are so many free syntax highlighting scripts available on many websites. Most of the scripts are written in JavaScript, though some of them are powered by other programming languages such as Phyton or Ruby.
I believe "SyntaxHighlighter by Alex Gorbatchev" is the most common syntax highlighting script used by most of us. It supports a lot of different languages and you can easily create new "brush" for your language if it is not supported by default.
Labels:
Blogger
Using Python and jQuery
Python has a solid set tools to power web applications. The necessary knowledge lies in passing variables between python and jquery, however this can be hard to figure out. Here is a simple tutorial on how to send information between python and jquery to make python-powered web applications.
1. Write the HTML
Python-jQuery Example Python-jQuery Example
Wednesday, May 2, 2012
Sliding elements
In the previous chapter, we saw how we could fade elements in and out of visibility using the fading methods of jQuery. However, sometimes a sliding effect is a better choice, and for that, jQuery has a set of matching methods for doing just that. Let's kick off with a simple example of it, where we use the slideDown() method:
Hello, world!Show box
Labels:
jquerry
Fading elements
Doing simple animation is very easy with jQuery. One of the effects it supports out-of-the-box, is fading an element in and out of visibility. Here's a simple example, where we fade in an otherwise hidden box, using the fadeIn() method:
Hello, world!Show box
Labels:
jquerry
Working with widths and heights
jQuery makes it easy for you to work with the dimensions of your elements and even the browser window. You can use the width() and height() methods for finding the dimensions, or alternatively the innerWidth()/innerHeight()/outerWidth()/outerHeight() methods, depending on the measurements you need. First a little example illustrating the differences and the some explanation:
Show element dimensions
Labels:
jquerry
The live() method
In the previous chapters, we used the bind() and unbind() methods to attach and detach event handlers to various elements on the page. This works great for elements which already exists, but what if you want your event handler to be attached to future elements as well? Normally you would have to do this manually, upon creating the new elements, and this is still possible. However, using the live() method, you can inform jQuery to attach your event handler to any future elements which matches your original selector, without having to lift a finger. Let me first show you an example where we use the bind() method, and then replace it with the live() method, to show you the difference:
Labels:
jquerry
Subscribe to:
Posts (Atom)





