Announcement Announcement Module
Collapse
No announcement yet.
Autoplay slideshow Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Latest Topics Latest Topics Module
Collapse

  • B
    Reply to creating this circle in AI
    B
    I really should be heading out to mow the lawn, but in my best efforts to procrastinate, here's one of several ways to build your arrow circle thingy.

    I'm using CS6 on a Macintosh. Windows...
    Today, 05:54 PM
  • ISitude
    Reply to Donald Trump for President!
    ISitude
    I see the integrity, nay, the sanctity of the Corner Pub has been brought into question.

    Oh well ...so much that ...sigh.
    Today, 05:53 PM
  • Naflah
    Hello everyone
    Naflah
    I'm new in graphic design hopefully I will get more knowledge about design in this GDF..

    ...
    Today, 05:28 PM
  • PrintDriver
    Reply to Scale software
    PrintDriver
    I don't know of any scaling software other than a hand calculator (or your phone or the desktop calculator on your laptop.)
    Do you want something that translates cm to inches?
    https://www...
    Today, 05:15 PM
  • blackstripes
    Comment on Is it just me, or is this completely unfair?
    blackstripes
    That's a very good question, and I'm not quite sure. To the client, I'm considered an employee. But I think her views of "Employee" vs "Freelance" is very misconstrued.
    ...
    Today, 04:46 PM

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Autoplay slideshow

    Hey, I'm stuck with this slideshow. It comes up nicely. But you have to click "start" to make it go through the images. Here is the code:

    <script type="text/javascript">
    // Script Author: ricocheting.com
    // Description: Slideshow that allows visitors to flip through a series of photos on your website

    var x=0;

    function rotate(num){
    sl=document.slide_form.slide;
    x=num%sl.length;
    if(x<0){x=sl.length-1};
    document.images.show.src=sl.options[x].value;
    sl.selectedIndex=x;}

    function auto() {
    if(document.slide_form.slidebutton.value == "Stop"){
    rotate(++x);window.setTimeout("auto()", 5000);}}
    </script>

    <form name="slide_form">
    <table cellpadding="3" style="border:1px black solid;border-collapse:collapse;">
    <tr><th align=center>Testing Slideshow!</th></tr>

    <tr><td align=center>
    <img src="http://www.idiomsbykids.com/taylor/mrtaylor/class20022003/idioms/idioms2003/idioms3/number%20one.jpg" name="show">
    </td></tr>

    <tr><td align=center style="border:1px black solid;">
    <select name="slide" onChange="rotate(this.selectedIndex);">
    <option value="http://www.idiomsbykids.com/taylor/mrtaylor/class20022003/idioms/idioms2003/idioms3/number%20one.jpg" selected>A image of a number one</option>
    <option value="http://animalblawg.files.wordpress.com/2009/03/number-21.jpg">An image od a number two</option>
    </select>
    </td></tr>

    <tr><td align=center style="border:1px black solid;">
    <input type=button onclick="rotate(0);" value="ll&lt;&lt;" title="Jump to beginning">
    <input type=button onclick="rotate(x-1);" value="&lt;&lt;" title="Last Picture">
    <input type=button name="slidebutton" onClick="this.value=((this.value=='Stop')?'Start': 'Stop');auto();" value="Start" title="Autoplay" style="width:75px;">
    <input type=button onclick="rotate(x+1);" value="&gt;&gt;" title="Next Picture">
    <input type=button onclick="rotate(this.form.slide.length-1);" value="&gt;&gt;ll" title="Jump to end">
    </td></tr></table></form>

    So I just want to make it plays automatically. Thanks!
Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2015 Mediabistro Inc.
Working...
X