DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for 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
javascript
Fix for Fix for Making conditional fields with Drupal, CCK, and jQuery.
April 10, 2012 - 10:57am — 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
Fix for Javascript GOST R 34.11-94 hash function implementation
November 11, 2011 - 7:43pm — Anonymous
/**
* Javascript GOST R 34.11-94 hash function implementation.
* Based on C-code by Alexei Kravchenko and Markku-Juhani Saarinen
* and Utf8 class by Chris Veness.
*
* Usage: gosthash("<strin
gost hash
GOST R 34.11-94
hash
javascript
js
Read more
Javascript GOST R 34.11-94 hash function implementation
November 11, 2011 - 11:02am — Anonymous
/**
* Javascript GOST R 34.11-94 hash function implementation.
* Based on C-code by Alexei Kravchenko and Markku-Juhani Saarinen
* and Utf8 class by Chris Veness.
*
* Usage: gosthash("<strin
gost hash
GOST R 34.11-94
hash
javascript
js
Read more
example sitename
August 9, 2011 - 10:04pm —
ratioswitch
<html>
<head></head>
<body>
<
script type
=
"text/javascript"
>
var
str
=
"My Site Name"
;
//Need to access Drupal's $site_name var instead of using string here
var
arr
=
str.
split
(
" "
)
;
var
s
=
javascript
site_name
split string
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
add JS in views hack
June 8, 2011 - 7:49am — Anonymous
// this returns an array that can be used by the #attached attribute in the style 0 => script1.js, 1 => script2.js
$includes
= galleria_includes
(
'classic'
)
;
// add this in the appropriate templa
include
javascript
views
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
Fix for Progressbar demo
May 24, 2010 - 10:41am — Anonymous
<?php
/**
* page callback for javascript
*
* Normally I'd just include a javascript file
* but I wanted to put all the code in one file for this demo
*
*/
function
progresbardemo_javas
ajax
javascript
Read more
1
2
3
4
5
next ›
last »