Show Random Photos Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Show Random Photos Script

    Show random photos script
    facedown_pogi@yahoo.com


    is this helps you?
    rate it!

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><html>
    <body background="k.jpg" bgproperties="fixed">
    <center>
    <font face="Snap ITC" size="6" color=#FF66FF><marquee behavior="alternate">[b]pinoy2.com
    </marquee><hr width=900>
    Show random photos script
    facedown_pogi@yahoo.com
    <script>
    var x=1;
    var y=6;
    function showit()
    {

    x++;

    if (x==1)
    {
    pic.src="one.jpg"
    }
    if (x==2)
    {
    pic.src="two.jpg"
    }
    if (x==3)
    {
    pic.src="three.jpg"
    }
    if (x==4)
    {
    pic.src="four.jpg"
    }
    if (x==5)
    {
    pic.src="five.jpg";
    }
    if (x==6)
    {
    x=0;
    }
    }

    function showit1()
    {

    x--;

    if (x==1)
    {
    pic.src="one.jpg"
    }
    if (x==2)
    {
    pic.src="two.jpg"
    }
    if (x==3)
    {
    pic.src="three.jpg"
    }
    if (x==4)
    {
    pic.src="four.jpg"
    }
    if (x==5)
    {
    pic.src="five.jpg"
    }
    if (x==0)
    {
    x=6
    }
    }

    </script>

    <table border="1">
    <tr>
    <th>[img]one.jpg[/img]
    <th>[img]two.jpg[/img]
    <th>[img]three.jpg[/img]
    <th>[img]four.jpg[/img]
    <th>[img]five.jpg[/img]
    </tr>

    <tr>
    <th><font face="Kristen ITC" size="3" color=#28D75C>Picture 1
    <th><font face="Kristen ITC" size="3" color=#28D75C>Picture 2
    <th><font face="Kristen ITC" size="3" color=#28D75C>Picture 3
    <th><font face="Kristen ITC" size="3" color=#28D75C>Picture 4
    <th><font face="Kristen ITC" size="3" color=#28D75C>Picture 5
    </tr>
    </table><hr width=900>
    <table border="1">
    <tr>
    <td>[img]one.jpg[/img]
    </tr>
    </table>
    <input type="button" value="next" onclick="showit();">
    <input type="button" value="prev" onclick="showit1();">
    </center>
    </body>
    </html>
    </div>
    3
    yes
    66.67%
    2
    yes i love it
    0.00%
    0
    good
    33.33%
    1
    Services

    Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

    Below is a list of services I offer:

    Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

    Rates

    General consulting – My current hourly rate is $100 / hour.
    Custom Wapsite Community - My current rate is $500 / Wap Community Development.

    #2
    nice
    Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

    <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

    Comment


      #3
      nice[/b]

      try this one its good for your site bro...
      Services

      Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

      Below is a list of services I offer:

      Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

      Rates

      General consulting – My current hourly rate is $100 / hour.
      Custom Wapsite Community - My current rate is $500 / Wap Community Development.

      Comment


        #4
        try this one its good for your site bro...[/b]
        PLZ code 4 wml pages....

        Comment


          #5
          can do the same function in about 4 lines of code btw

          Comment


            #6
            is this script work in mobile browsers.

            Comment


              #7
              <div class='quotetop'>QUOTE (bhushan3 @ Oct 12 2008, 12:40 PM) <{POST_SNAPBACK}></div>
              is this script work in mobile browsers. [/b]
              whats the scrript for the random gallery please

              Comment


                #8
                try this its much simpler

                Code:
                $total="3";
                $file_type=".gif";
                $start="1";
                $random=mt_rand($start, $total);
                $image_name=$random . $file_type;
                $logo="logo_".$image_name;
                just have ur files as logo_1.gif logo_2.gif etc

                Comment


                  #9
                  and this script does what? not a lot of info on it....
                  8th wonder of the world

                  Comment


                    #10
                    that code will pick a random image depending on the total number specified

                    Comment


                      #11
                      boy slmat heheh

                      Comment

                      Working...
                      X