DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 42 min
ago
weird filefield with mp3 embed object
1 hour 59 min
ago
D6 FAPI Examples
2 hours 27 min
ago
returning to the same code a second time doesn't have the $form_values argument set
6 hours 46 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
security scanner
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
jquery
Jquery tooltip mess
August 19, 2008 - 1:21pm — Anonymous
//
// Title: Artists tiles hover effect
//*********************************
this
.
artistnfo
=
function
(
e
)
{
// Configuration
xOffset =
55
;
yOffset =
480
;
jquery
tool tip
Read more
Code
August 19, 2008 - 1:18pm — Anonymous
//
// Title: Artists tiles hover effect
//*********************************
this
.
artistnfo
=
function
(
e
)
{
// Configuration
xOffset =
55
;
yOffset =
480
;
jquery
tool tip
Read more
jQuery.Disqus.js
July 24, 2008 - 12:11pm —
Rob Loach
// $Id$
/**
* Disqus jQuery plugin
* Applies Disqus comments to a page using a simple jQuery call.
* $.Disqus({domain: "myusername"});
*
Disqus
jquery
jquery.disqus.js
Read more
Fix for dynamic change button label
July 17, 2008 - 11:50pm —
afeijo
if
(
Drupal.
jsEnabled
)
$
(
function
(
)
{
// add trigger to the button
$
(
'input#edit-ignore-node'
)
.
click
(
function
(
)
{
// change button label
$
(
this
)
.
attr
(
'value'
,
'Other label'
)
;
jquery
Read more
Fix for dynamic change button label
July 17, 2008 - 11:38pm —
afeijo
$
(
function
(
)
{
// add trigger to the button
$
(
'input#edit-ignore-node'
)
.
click
(
function
(
)
{
// change button label
$
(
this
)
.
attr
(
'value'
,
'Other label'
)
;
// get nid value
jquery
Read more
Fix for dynamic change button label
July 17, 2008 - 11:01pm —
afeijo
$
(
function
(
)
{
// add trigger to the button
$
(
'input#edit-ignore-node'
)
.
click
(
function
(
)
{
// change button label
$
(
this
)
.
attr
(
'value'
,
'Other label'
)
;
// get nid value
jquery
Read more
dynamic change button label
July 17, 2008 - 10:40pm —
afeijo
$
(
function
(
)
{
// add trigger to the button
$
(
'input#ignore-node'
)
.
click
(
function
(
)
{
// change button label
$
(
this
)
.
attr
(
'value'
,
'Other label'
)
;
// get nid value
jquery
Read more
Fix for Swap out javascript (jQuery) files
July 13, 2008 - 9:37am — Anonymous
We talked a little about the
"best"
way to swap out javascript files and the way we
've been doing it recently for sites that require 1.2 and higher, you can use this method.
javascript
jquery
theming
Read more
Fix for Edit a hidden value with jQuery and have it show up in $form_values (D5)
June 19, 2008 - 11:03am — Anonymous
<?php
/**
* This won't work when you first submit it... the hider will still show 3.
* Change #value to #default_value on the hidden field for it to work.
*/
function
test_form
(
)
{
fapi
jquery
Read more
Edit a hidden value with jQuery and have it show up in $form_values (D5)
June 19, 2008 - 11:00am — Anonymous
<?php
function
test_form
(
)
{
$form
[
'hider'
]
=
array
(
'#type'
=>
'hidden'
,
'#value'
=>
3
)
;
$form
[
'submit'
]
=
array
(
'#type'
=>
'submit'
,
'#value'
=>
'Submit'
)
;
return
$form
;
}
fapi
jquery
Read more
1
2
next ›
last »