Solved

Errrm, How do i do this???

Posted on 2002-03-09
2
233 Views
Last Modified: 2010-04-25
Hi Folks.
Not sure if ive put this question in the right section.
How do i do the slideshow thingy as seen at the top of this page??
http://www.prestige-online.com/ibiza-webcam/website/goframes1.html

Thanks
rorf
0
Comment
Question by:rorf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
adowns earned 150 total points
ID: 6853534
Here is the code. At the end you can specify your own images. Please only use this code as an example.



<html>

        <head>
                <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
                <title>THE IBIZA SUNSET - Galery</title>
                <meta name="author" content="Pro-Web, Internet Service GmbH">
                <meta name="copyright" value="Copyright (C) 2000, Frank Zander.  All rights reserved.">
                <meta name="ROBOTS" content="noindex">
                <meta name="ROBOTS" content="nofollow">
                <SCRIPT LANGUAGE="javascript">
                <!-- hide from old browsers
                       //global variables
                       var layerRef="null",layerStyleRef="null",styleSwitch="null";

                       function start(){
                                if (navigator.appName != "Netscape") {
                                       layerRef="document.all";
                                       styleSwitch=".style";
                                       visibleVar="visible";
                                       pxSwitch="px";
                                } else {
                                      layerRef="document.layers";
                                      styleSwitch="";
                                      visibleVar="show";
                                      pxSwitch="";
                               }
                       doAnimation(-1100);
                       }

                       function moveLayerTo(layerName,left,top){
                               eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top=top');
                               eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.left=left');
                       }

                       function doAnimation(selectedIndex){
                              if (selectedIndex < 0){
                                        moveLayerTo('rahmen', [selectedIndex], 0);
                                        selectedIndex++;
                                        setTimeout('doAnimation("'+selectedIndex+'")', 10);
                               }else{
                                       doAnimation(-1100);
                               }
                       }


                     function showPic(which) {
                        var site = "galerie/pic" + which +".html";
                        nw = window.open(site,"galerie","menubar=0,scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0,width=600,height=319");
                        if (navigator.appVersion.indexOf("2.0") != -1
                        || navigator.appVersion.indexOf("(X11")!= -1
                        || navigator.appVersion.indexOf("(Mac")!= -1) {
                           nw = window.open(site,"galerie","menubar=0,scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0,width=600,height=319");
                        }
                     }
                // stop hiding -->
                </script>
                <style type="text/css"><!--
                        #rahmen { position: absolute; top: 0px; left: -1100px; width: 2040px; height: 84px; visibility: visible }-->
                </style>
        </head>
        <body bgcolor="black" onload="start();">
                <div id="rahmen">
                        <table cellpadding="0" cellpadding="0" border="0">
                                <tr>
                                        <td nowrap background="images/bg_slide.gif">
                                        <a href="Javascript:showPic(1)"><img height="60" width="100" src="galerie/pic1.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(2)"><img height="60" width="100" src="galerie/pic2.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(3)"><img height="60" width="100" src="galerie/pic3.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(4)"><img height="60" width="100" src="galerie/pic4.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(5)"><img height="60" width="100" src="galerie/pic5.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(6)"><img height="60" width="100" src="galerie/pic6.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(7)"><img height="60" width="100" src="galerie/pic7.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(8)"><img height="60" width="100" src="galerie/pic8.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(9)"><img height="60" width="100" src="galerie/pic9.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(10)"><img height="60" width="100" src="galerie/pic10.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(1)"><img height="60" width="100" src="galerie/pic1.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(2)"><img height="60" width="100" src="galerie/pic2.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(3)"><img height="60" width="100" src="galerie/pic3.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(4)"><img height="60" width="100" src="galerie/pic4.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(5)"><img height="60" width="100" src="galerie/pic5.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(6)"><img height="60" width="100" src="galerie/pic6.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(7)"><img height="60" width="100" src="galerie/pic7.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(8)"><img height="60" width="100" src="galerie/pic8.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(9)"><img height="60" width="100" src="galerie/pic9.jpg" hspace="3" vspace="10" border="0"></a>
                                        <a href="Javascript:showPic(10)"><img height="60" width="100" src="galerie/pic10.jpg" hspace="3" vspace="10" border="0"></a>
                                        </td>
                                </tr>
                        </table>
                </div>

        </body>

</html>
0
 

Author Comment

by:rorf
ID: 6853541
Thanks alot
Regards
rorf
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question