Closed (fixed)
Project:
Konami Code
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2010 at 17:31 UTC
Updated:
26 Oct 2010 at 20:20 UTC
As the title says, Use $(document).width() and $(document).height() for image the attack. This will spawn images across the entire page even if part is 'below the fold'. I made this change myself and I think it works much better.
Comments
Comment #1
robloachCould you upload the updates you made? Or better yet, a patch?! :-)
Comment #2
chrisbert91 commentedNot sure how to do a patch, but since the change is pretty simple, I'll just tell you how. modules/konamicode/konamicode.js Line 82 is the Drupal.konamicode_imageattack function. change the width and height to $(document).width() - correctionfactor and $(document).height() - correctionfactor.
Comment #3
robloachhttp://drupal.org/cvs?commit=435104