Month: March 2011

j

jQuery Plugin: Page Size Analyzer for Page Performance Monitoring

One of my senior Technical Architect asked me if i could come up with some useful widget that could help him display the page size of the current page. I thought of writing a jQuery plugin that could do this job. I am sharing it here. Do read the notes carefully before using it. Screenshot: ...

H

How to remove “Open” button from File Download Dialog options you get in your browser?

I received one client requirement sometime back asking for removing the "Open" button from the File Download popup you get when you are trying to download any file which cannot be viewed directly on the browser. Inorder to remove the "Open" button, you can make use of one of the  "meta" tags HTML has given ...

B

Bat file to rename .js file to another format and back to .js

I faced a lot of issues with my mail exchange server quarantining my js files when i mail it my client. The way out of it was by renaming the .js file to .bak. But as the number of js files increased, it became a tedious process. So I thought of creating a bat file which ...

&

‘Add to Favourites’ button javascript

Here is a simple code, that i found useful from dynamicdrive. You can use for 'Add to Favourites' button in HTML. Add them in your head tag: <script type="text/javascript"> /*********************************************** * Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ ...