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

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • B
    Reply to Portfolio advice/criticism
    B
    I'm mostly just curious, but you're apparently from Korea, yet your work is primarily in English. Is that common?

    As for your work, I like it. The warm, dark reds, browns and amber hues have...
    Today, 06:52 AM
  • Gwishin
    Portfolio advice/criticism
    Gwishin
    Hey guys!

    This is my first post here, and I was hoping to get some feedback and advice/crticism about my "work". Im very curious about what you guys think, specially the ones of...
    Today, 04:47 AM
  • crdunsto
    Freelance Work/Volunteer Experience on Resume/Applications
    crdunsto
    I'm applying to several colleges over the break (SVA, MICA, Memphis, MCAD, SCAD, FIT, Parsons), and need advice on how to reference my freelance work from late 2012 up to now.

    Name of Organization...
    Today, 03:52 AM
  • FredBouffard
    Reply to Law Firm Website Redesign
    FredBouffard
    Your website will always reflect the kind of business you offer so it is just in time that you update your client's website. I like the large header, but the text on the upper portion of it looks dated....
    Today, 01:29 AM
  • FredBouffard
    Reply to LOGO icon opinion
    FredBouffard
    Looks like a bull right but it needs a little bit of polishing and enhancements. Bulls have basically long, curved very pointed horns so you can work on that. And maybe fiercer eyes....
    Today, 01:23 AM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

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 © 2014 Mediabistro Inc.
Working...
X