Results tagged “javascript”

I've just finished a short greasemonkey userscript (get the userscript here) which fixes the display of pages at the excellent, free, online TCP/IP guide at www.tcpipguide.com/free/. The TCP/IP Guide is displayed on html pages which rely heavily on html table elements for their layout and the table cell containing the main content for a page is missing a "valign" attribute and so defaults to a value of "middle" when rendered by the browser. This is annoying because there's an area of white space above the main content which is most pronounced when the browser window is very wide - see an example at this page.

Greasemonkey is a cool add-on for the firefox browser which allows you to modify and extend html pages with short snippets of JavaScript giving you some control over how those pages are displayed or alter and extend their functionality.

This particular userscript sets the "valign" attribute of the cell in question with a value of "top" - a very simple thing to do, but it took me bloody ages to get it right. If it doesn't work for you, please leave me a comment and let me know.

Get the userscript at http://jahboite.co.uk/files/js/the_tcpip_guide_fix.user.js.

PicaVue

True to my word I've begun work on a gallery application to show my Picasa Web Album here at jah's world. I've decided to build it with Google Web Toolkit (GWT) to create an entirely client-side javascript gallery which uses the Picasa Web Albums Data API to fetch a json feed of my photos and display them in all their splendour.

So far, I haven't got very far, but I have created a new open source project at Google Code: PicaVue and committed some code to the svn repository. The aim is to have an albums index view with a thumbnail for each album and from there you can elect to view an album as a gallery of thumbnails or as a slide show. It will be simple to deploy to any website and hopefully easy to style to your liking. We'll see.

This will be my first real foray into GWT land and it shows - the source is seriously spaghettified, but I'm getting the hang of it and it will eventually be a beautiful thing!

If you'd like to contribute, you are more than welcome. If you want it now, you might like to take a look at PWI which I perhaps should have examined before I started coding (and not just two minutes ago).

1

Recent Entries

  • The TCP/IP Guide - Greasemonkey Userscript

    jah has written a greasemonkey userscript to fix the page layout for The TCP/IP Guide free online edition - it's very simple, but it took him ages!...

  • PicaVue

    jah has begun work on an open source javascript gallery to display his Picasa Web Albums - it's called PicaVue...

  • Nmap 5 - An Introduction

    The newest version of Nmap - Nmap 5.00 - is now available for download and is the best Nmap ever. This is a short introduction to Nmap and the Nmap family of tools: Zenmap; Ncat and Ndiff which are included with this latest release....

  • Enable apache mod_userdir on Debian

    How to enable mod_userdir for apache2 on Debian 5.0 (Lenny)....

  • Nmap 4.85BETA5 and Conficker detection

    Nmap 4.85BETA5 is now available and is able to remotely and anonymously detect hosts compromised with Conficker (downadup, kido) using an NSE script....