jQuery

Full Screen Switcher On Google Maps

2 months ago we launched the Witness Video Hub. Last week the Hub Map's full-screen mode was finally released!

The Hub Map in full-screen mode

It features an original full-screen-mode switcher which puts the map in to, and out of, fullscreen mode without a full page reload.

jQuery hook, event message passing, callback function

Submitted by Jonathan Hendler on May 22, 2007 - 9:20pm.
Do you like Drupal's hook functionality?
Maybe this jQuery extension could serve as a way to replicate that that functionality. Currently I use the extension below to allow the extension of existing libraries I've written.

Let's say in your library you write :
  if (confirmed){
    $('#css-id').hide(
      function(){
         $.hookExecute('css_id_hidden');
      }
    );
  }

One function in a new libarary could write
  function css_id_hidden(){
    alert('Hidden!');
  }