1 Reply Latest reply: Aug 27, 2009 12:54 PM by garywpaul RSS

    javascript help? can you at least advise me where else I can get help for this?

    luadke Community Member

      Hi,

       

      So i've been using 'shadowbox' at www.blackpaint.co.uk/films the problem I am having is when you click on 'TIDE' and enter the password (pass) the shaowbox that appears is very small even though my password code tells it to be a lot bigger. As shown here:

       

      var getPass = function(el){
        var ct = 3, thePrompt = 'Please Enter Your Password', theDefault = ' ', pw = '';
        while(ct-- && pw !== 'pass'){
          pw = prompt(thePrompt, theDefault);
          if(pw === null){ ct = 0; }
          thePrompt = 'Password Incorrect, Please Try Again';
          theDefault = 'Password';
        }
        if(pw === 'pass'){
          Shadowbox.open( el, {height:1000, width:2000, flashVars:{skin:'../shadowbox-build-3.0b/libraries/bekle/player.swf',autostart: true}} );
        }
        return false;
      };
      

       

      and this is the trigger

       

      Tide

      Please can someone help me with this? Or advise me with where else I can ask for help. (the shadowbox forum does not to know)

       

      Thank you,

      Luke