Closed (won't fix)
Project:
Anti Existing Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 20:55 UTC
Updated:
22 Jun 2009 at 22:40 UTC
seriously, i'm not kidding. i'd love to be able to add a fake form element that is obviously ridiculous and then prank site users...
for example, "click here to send hugo chavez a shout-out" and then the button just runs away...it would be thoroughly entertaining
or for the new dell.com built on drupal, it could be like "click here for immediate technical support" ;)
Comments
Comment #1
deekayen commentedThe furthest I would take such a prank code release is to my sandbox or some code snippet in the forums. I can't think that needs to be a version maintained module.
Comment #2
danielb commentedThis is hilarious, I just saw that on the project page, nice work :P
I reckon if someone wanted to they could make a module to enable a FAPI parameter called "#prank"and you could do like:
'#prank' => 'move',
or
'#prank' => 'vanish',
on any form element, and you could use a whole bunch of jquery effects that could be chosen as values here, and all it would do is preprocess the form to add to the class attribute to make this happen. Or you could add the classes manually to anything you want in your templates/themes to add this feature.
Dunno what for, but it would be a funny module.
Comment #3
danielb commentedWould I be able to use the prank code in a module I am writing? It is a module concerned with annoying users.
http://drupal.org/project/misery