/[drupal]/contributions/modules/thickbox/thickbox_login.js
ViewVC logotype

Contents of /contributions/modules/thickbox/thickbox_login.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Fri May 2 15:43:05 2008 UTC (18 months, 3 weeks ago) by frjo
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +5 -3 lines
File MIME type: text/javascript
First commit for Drupal 6. Thanks to patches from Greg Hines and btsukuda.
1 // $Id: thickbox_login.js,v 1.1 2007/03/22 08:09:42 frjo Exp $
2 // Contributed by user jmiccolis.
3 if (Drupal.jsEnabled) {
4 $(document).ready(function() { $("a[@href*='/user/login']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/login\??/,"thickbox_login?height=230&width=250&") }) });
5 $(document).ready(function() { $("a[@href*='?q=user/login']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/login/,"thickbox_login&height=230&width=250") }) });
6 }

  ViewVC Help
Powered by ViewVC 1.1.2