Results 1 to 2 of 2

Thread: Swiss Army slide show "no_controls" problem

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Swiss Army slide show "no_controls" problem

    1) Swiss Army Image slide show:

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...army/index.htm

    3) Describe problem: Want to eliminate controls on slide show type 1 with "slides#.no_controls" but the controls remain. I assume that with slide show 1 I simply removed the hash mark in the example, and inserted "slides.no_controls" after the image variables in the document head. No go.
    Here's the example:
    http://www.homefrontfestival.com/hometemplate2.html

    Here's the code:
    <script type="text/javascript">
    (...)
    var slides=[]; //FIRST SLIDESHOW
    //configure the below images and descriptions to your own.
    slides[0] = ["images/09/home/acts/blue.gif", "The Blue Box<br />This is line two"];
    slides[1] = ["images/09/home/acts/gold.gif", "A Gold Rectangle<br />This is line two"];
    slides[2] = ["images/09/home/acts/green.gif", "Green with Envy<br />This is line two"];
    slides[3] = ["images/09/home/acts/purple.gif", "Purple Shape<br />This is line two"];
    slides[4] = ["images/09/home/acts/red.gif", "The Red Box<br />This is line two"];

    slides.no_controls;

    </script>
    =======
    Thanks for helping an obvious newbie to javascript.

  2. #2
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem solved

    Checking forums I found that no_control=1 deletes the controls. I didn't see this stated in the documentation.

    Thanks all.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •