Back to Top
The nuts and bolts for
Creative web development

Pure ASP Upload Tutorials

To give you more inside knowledge of the working of the Pure ASP Upload, here you can read all the available online tutorials!


Pure ASP Upload - Making your own Progress Bars

Making your own Progress Bars

In this tutorial we will explain how to make your own progress bars and use them with Pure ASP Upload.


Previous TutorialTutorials Index

How to do it

To make your own progress bar, you need to:

  1. Build the progress file

    First you should make an html file that is to be shown as a progress bar. It is up to you what animations or visual progress you will put on it. You can use images, dhtml, flash - whatever you want.

  2. Required javascript functions
  3. In your html file you do need to have some very simple javascript functions. Those will be used by Pure ASP Upload to read more info about your progress bar.

    You will need the following three functions:

    getProgressWindowSize

    returns the size of the popup window where the progress bar is displayed. Enter a string with width and height.

    Sample:

    function getProgressWindowSize() {
      return "300,100";
    }
    

    getProgressWindowTitle

    returns the title of the progress bar. To be used in the Pure ASP Upload choice list.

    Sample:

    function getProgressWindowTitle() {
      return "Blue Flash Progress Bar";
    }
    

    getProgressWindowFiles

    returns a comma separated list of all files needed for the upload to work. This includes the current html file.

    Sample:

    function getProgressWindowFiles() {
      return "blueFlashProgress.htm,blue_progress.swf";
    }
  4. Save in the special folder
  5. All files of your progress bar should be saved in the following folder:

    \DreamweaverMX\Configuration\Shared\DMXzone\Pure Upload\Progress Bars\

  6. Done
  7. Your progress bar is ready now. When you open the Pure ASP Upload dialog, you will see your progress bar in the drop down list with of available progress bars.

Previous TutorialTutorials Index

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com which is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Share this Article