rejetto forum
February 09, 2012, 04:21:09 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Auto Pop-Up of Transfers Window  (Read 1230 times)
0 Members and 1 Guest are viewing this topic.
austin_notloggedin
Guest


Email
« on: June 16, 2009, 07:34:47 AM »

Is there any way to make it so the transfers window (AKA Progress Window) will pop up automatically once the user tries to upload a file in the RAWR template?  People just aren't smart enough to figure out that even though it doesn't look like anything is being uploaded, it is and no one knows they have to click the "Transfers" link in order to see their upload progress. Roll Eyes
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1916



View Profile WWW
« Reply #1 on: June 17, 2009, 06:33:52 AM »

Find the function that fires when an upload is commenced, I think its disBtns or something. And place openTransfers(); at the bottom above the '}'... should do what you want...
Logged

Caco
Tireless poster
****
Offline Offline

Italy Italy

Posts: 113


View Profile
« Reply #2 on: June 17, 2009, 08:43:04 AM »

Tested, it does  Wink

Austin you have to modify rawr_main.js like this:

/* Upload JS */
var f=0;
function addInput() {
   f++;
   fr=document.upfrm;
   mr=fr.more;
   document.getElementById('f'+f).style.display='block';
   if(f>=9)mr.disabled='disabled';
}
function disableBtns() {
   fr=document.upfrm;
   fr.upbtn.disabled=fr.more.disabled='disabled';
   openTransfers();
}
Logged
Sapphirescales
Experienced poster
***
Offline Offline

United States United States

Posts: 73


View Profile Email
« Reply #3 on: June 17, 2009, 02:01:14 PM »

Thanks a lot guys.  It works 100%.  This is why I need to learn Javascript better.  One question though.  I don't use popup blockers myself, so how would a popup blocker affect this new function?  Is there any way to make it pop up like the RAWR player does?  The RAWR player doesn't use another browser window so it shouldn't be able to be affected by popup blockers, right?
Logged

TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1916



View Profile WWW
« Reply #4 on: June 17, 2009, 08:42:49 PM »

Well firefox and most modern browsers have a built in popup blocker, and it hasn't stopped it yet. Not possible with the preview box, not without a lot of work.
Logged

Sapphirescales
Experienced poster
***
Offline Offline

United States United States

Posts: 73


View Profile Email
« Reply #5 on: June 17, 2009, 08:59:03 PM »

That's okay.  I'm going to try something with a flash popup window.  Don't know if it'll work, but if it does it'll definitely be something I integrate into my permanent template.
Logged

rejetto forum
« Reply #5 on: June 17, 2009, 08:59:03 PM »

Do you like this software? Consider even $2
 Logged
austin_notloggedin
Guest


Email
« Reply #6 on: June 30, 2009, 01:36:00 PM »

Just one other question.  Is there a way to make this thing only pop up if the file is say....2mb or larger?  Having it pop up for a 23k office document is rather useless and annoying.
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1916



View Profile WWW
« Reply #7 on: July 01, 2009, 12:24:00 AM »

No idea. Someone else will have to help you with that.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 07, 2012, 11:57:54 PM
anything