Jump to content


Photo

uploading metre


  • Please log in to reply
3 replies to this topic

#1 Mr-Chidi

Mr-Chidi

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationNigeria

Posted 11 February 2013 - 07:11 AM

hi.
I know next to nothing about Javascript but I want something done and I believe its Javascript that can do it for me. I want to integrate/add an uploading metre to my PHP code, so that when a user is transferring or uploading a file, it shows/pop out the metre to indicate the percentage done.

thanks
"Every problem is intrinsically and inherently pregnant with some positive possibilities".

#2 Christian F.

Christian F.

    Advanced Member

  • Staff Alumni
  • 3,106 posts
  • LocationNorway

Posted 11 February 2013 - 07:21 AM

The pop-up itself is quite easy to make, and I recommend making it a modal "window". Basically, just a DIV block that stays hidden until you start the upload.
For the actual progress bar, I recommend that you start here: http://www.php.net/manual/en/session.upload-progress.php
Keeping it simple.

#3 Mr-Chidi

Mr-Chidi

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationNigeria

Posted 11 February 2013 - 08:02 AM

sorry but

The pop-up itself is quite easy to make, and I recommend making it a modal "window". Basically, just a DIV block that stays hidden until you start the upload.
For the actual progress bar, I recommend that you start here: http://www.php.net/manual/en/session.upload-progress.php


sorry but I don't get you. could u pls paint a picture for me? thanks
"Every problem is intrinsically and inherently pregnant with some positive possibilities".

#4 Christian F.

Christian F.

    Advanced Member

  • Staff Alumni
  • 3,106 posts
  • LocationNorway

Posted 11 February 2013 - 09:17 AM

Google for "modal window popup howto" and you'll find lots of resources.
Keeping it simple.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com