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

  • mcbennet
    Comment on Feedback for Tea Shop logo?
    mcbennet
    Thanks so much for taking a look! The place is a cozy spot that seats under 25. It's usually quiet between "rush" hours so people like to enjoy a drink and the wi-fi without any disturbance....
    Today, 02:57 AM
  • Elmore
    Reply to Feedback for Tea Shop logo?
    Elmore
    They're all lovely, but I'm concerned that most might be a bit too intricate for a logo. I like the turtle/pot best, but for some reason I want to see his spout on the right side.
    Today, 02:55 AM
  • mcbennet
    Comment on Feedback for Tea Shop logo?
    mcbennet
    I was trying to avoid a literal approach as the shop's logo is basically just a teapot. It's a small, one of a kind tea shop nestled in with a bunch of big corporate chains so I figured providing some...
    Today, 02:38 AM
  • mcbennet
    Comment on Feedback for Tea Shop logo?
    mcbennet
    Thanks for the kind words! I felt obligated to come up with a modern, trendy badge logo so it did come out awfully similar to Starbucks. I think I'd like to keep the circle border around the main image...
    Today, 02:34 AM
  • B
    Reply to stumbled upon this place late one night...
    B
    There are some pretty good and knowledgeable people here as well as lots of students, beginners and people just asking questions. It's a good mix of professionals and newbies.

    As you've found,...
    Today, 12:12 AM

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