DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
jquery
Row id from jQuery(event)
December 31, 2011 - 4:11pm —
onehandsomedog
jQuery
(
document
)
.
ready
(
function
(
)
{
jQuery
(
".jp-play, .views-field-title"
)
.
click
(
function
(
event
)
{
// How do I figure out what "row" event was from???
jQuery.
ajax
(
// use the URL in
jquery
Read more
Tribune port to drupal 7 - help!!!
September 25, 2011 - 2:16pm — Anonymous
// php code:
function
tribune_page
(
)
{
if
(
user_access
(
"access tribune rss feed"
)
)
{
drupal_add_feed
(
url
(
"tribune.rss"
)
)
;
}
drupal_add_css
(
drupal_get_path
(
'module'
,
'tribune'
)
.
'/
Javascript Drupal 7
jquery
Read more
jQuery Disaster
August 16, 2011 - 4:41pm — Anonymous
/* This bit of code is inside a filter's processing function:
$mod_path = drupal_get_path('module', 'counter');
drupal_add_js($mod_path .
filter
jquery
Read more
overwrite jquery function
August 15, 2011 - 8:14am — Anonymous
(
function
(
$
)
{
$.fn.fadeIn =
function
(
speed, callback
)
{
alert
(
'test'
)
;
return
this.animate
(
{
opacity:
'show'
}
, speed,
function
(
)
{
if
(
jQ
jquery
Read more
Fix for Fix for jQuery pattern
August 3, 2011 - 3:44am — Anonymous
behaviors
javascript
jquery
Fix for jQuery pattern
August 2, 2011 - 9:06am — Anonymous
(
function
(
$
)
{
var
self
=
Drupal.
behaviors
.
foo
=
{
attach
:
function
(
context
)
{
if
(
!
self.
initialized
)
{
self.
init
(
)
;
}
}
,
init
:
function
(
)
{
// initiali
behaviors
javascript
jquery
Read more
jQuery pattern
August 2, 2011 - 9:06am — Anonymous
(
function
(
$
)
{
Drupal.
behaviors
.
foo
=
{
attach
:
function
(
context
)
{
var
self
=
this
;
if
(
!
self.
initialized
)
{
self.
init
(
)
;
}
}
,
init
:
function
(
)
{
behaviors
javascript
jquery
Read more
Fix for Using jquery cycle and lightbox in node tempalte using image field images
June 29, 2011 - 10:02pm — Anonymous
<?php
drupal_add_js
(
path_to_theme
(
)
.
'/jquery.cycle.js'
,
'theme'
)
;
drupal_add_js
(
"
$(document).ready(function(){
$('#photos').cycle({
fx: 'fade',
speed: 2500,
t
imagefield
jquery
theme
Read more
Fix for Making conditional fields with Drupal, CCK, and jQuery.
April 20, 2011 - 1:34am — Anonymous
Making conditional fields with Drupal, CCK, and jQuery.
by MatteusX
I'll be posting this as a handbook page at Drupal.org.
The Conditional Fields (http://drupal.org/project/conditional_fields
CCK
javascript
jquery
Read more
Textmate snippet for javascript in Drupal 7
January 31, 2011 - 7:55pm — Anonymous
(
function
(
$
)
{
Drupal.
behaviors
.$
{
1
:
module
}
=
{
attach
:
function
(
context
,
settings
)
{
\$
(
$
{
2
:
selector
}
,
context
)
.
once
(
'${1:module}'
,
function
(
)
{
$
{
3
:
// Do something}
}
)
drupal 7
jquery
Read more
1
2
3
4
5
6
7
8
9
next ›
last »