May 19, 2012

Making Preview Posts Clickable

    If you have tried the preview function while making a blog post, you must have noticed that you won't be able to click anything in your blog during the preview mode.

    With a short line of code, you can now click things in the preview mode, making it easier if you have written some code in the post that just makes it dynamic. Just click on the Add to Blogger button below and everything will be taken care of once you add the widget to your blog.


    How did it work? Well, the preview mode has a script that keeps on creating a click trap wherein your cursor would be useless because of an invisible div. The widget above alters that invisible click trap div so that you can now try clicking things within the preview mode.

No comments:

Post a Comment