1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

ProShow Gold javascript

Discussion in 'Other PC Software' started by KennyV1967, 2006/01/22.

  1. 2006/01/22
    KennyV1967

    KennyV1967 Inactive Thread Starter

    Joined:
    2003/03/02
    Messages:
    113
    Likes Received:
    0
    ProShow (http://www.photodex.com/products/proshow/) is a java based slideshow program. I have a show already created for my site but have not put it up for viewing because of a few "glitches" I do not like.

    First, is there any way at all I could add java code to the html the program gives me that will prevent the show from automatically loading up and playing? I'd prefer to be able to maybe get the controls to load up and then leave it up to the site visitor whether or not they want to play the show.

    The code looks something like this.

    <script language= "javascript" src= "http://www.photodex.com/presenter.js "> </script>

    <script>

    PhotodexObject( "ProShow ", "[object name] ", "[URL to PX file] ",[width],[height]);

    PresenterControls( "[object name] ",[width]);

    </script>

    The program has an option where it gives me the html to add but there's nothing there about stopping the autoload of the file.

    Does anyone know if it's possible to have just the controls for the show load up then have the slideshow start when the play button would be pressed? The program also can make the saved file into a Windows Media File but it's way too large to use on a website. This web show seems like it's the way to go being just 5mb in size.

    Also, this is not a mainstream slideshow presenter as it will require a visitor to install a plug-in to view the show. What slideshow program that's available out there would pretty much work for all people without having them go fetch a plug-in??

    Thanks to all who offer help on this.
     
  2. 2006/01/23
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    I would need to see the contents of the presenter.js file which can be viewed in Notepad. Also, show me the <body> tag from the page.
     

  3. to hide this advert.

  4. 2006/01/23
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    If your server supports php then there are hundreds of free scripts that will do what you want.

    However, if you are not concerned about what browser viewers have, then Microsoft has a free slideshow generator that makes your slidshow and exports the entire thing as html, which will display properly in Internet Explorer but degrades slighltly in other browsers. It actually works well in other browser, but only IE can take advantage of the slideshow full screen in kiosk mode. (full screen window with no borders, no toolbars, etc)

    I have used it and it works very well.
    HTML Slide Show Wizard:
    http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
     
    Last edited: 2006/01/23
  5. 2006/01/23
    KennyV1967

    KennyV1967 Inactive Thread Starter

    Joined:
    2003/03/02
    Messages:
    113
    Likes Received:
    0
    http://www.usa-womens-icehockey.com/Slideshows.htm

    Tony, the show link is above. You may need to d/load the ProShow plugin to view it, however.

    It's not a problem to people with fast connections but those with slow ones will pull their hair out waiting for the 7mb file to d/load.

    http://www.photodex.com/presenter.js --- there doesn't seem to be a local file on my hard drive. Could this be a problem or can I copy that info, fix what needs to be fixed, copy it to my drive, then rewrite the link in the html??? *** Tony, I did do exactly that! I copied the .js file to my hard drive and uploaded it to the directory where the slideshow is located and it still works fine. I made no changes to it from what you see at the link above!

    Also, any way at all to get this show to work on a Mac machine? There is no plug-in for a Mac at the ProShow site!

    Thank you for your interest and help here! Greatly appreciated!
     
    Last edited: 2006/01/23
  6. 2006/01/24
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    There's nothing in the .js file that determines whether or not the show automatically starts when it loads, that code will be in the activeX control.

    Personally, I would not use any show that requires an activeX control, esp in today's security concious world wherby users are educacted not to install activeX controls, unless they are very familiar with the vendor & trust it, such as activeX used for MS Update site or showkwave-flash.

    The product is mainly for presentations on cd and has been ported to www use, that's why the big download.

    Try the free ms slideshow I linked to above, you will be pleased with it, it's almost 100% automatic.
     
  7. 2006/01/24
    KennyV1967

    KennyV1967 Inactive Thread Starter

    Joined:
    2003/03/02
    Messages:
    113
    Likes Received:
    0
    Tony, can I still add a song track in with that html slideshow?

    Thanks for your help!
     
  8. 2006/01/25
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Yes, but you would have to manually add the html code using something like this just below the <body> tag...

    HTML Page Background Sound:
    Code:
    <bgsound src= "your_song.mp3" loop= "1 ">
    (loop=# determines how many times the sound plays over & over)

    or add audio controls on the page so viewer can turn sound on & off & adjust volume, experiment with different places when inserting this code so the controls show up in the desired location on page. For instance, if place the code justb below <body> they will appear at very top of page, if insert after slideshow controls they will appear just below the slideshow buttons...

    Audio Controls on Page:
    Code:
    <embed src= "your_song.mp3" width= "145" height= "45" autostart= "true ">
    Change name of song to the sound file you want to use in either case, and can also adjust size of embedded media player by changing width=# & height=#, but those are about the minimum #'s to use.

    Upload your music file to same directory as slideshow.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.