Nedenstående kode er fra min cdrom om Frilandsmuseet ved Lyngby.
Du kan også prøve at besøge dynamicdrive.com, her er mange forskellige
scripts.
Du skal tilpasse koden så den passer til din bannerstørrelse og til de
forskellige billeder du vil anvende.
START PÅ KODE
<HTML>
<HEAD>
<META http-equiv="Content-Language" content="DA">
<TITLE>LysbilledShow fra Frilandsmuseet</TITLE>
<SCRIPT LANGUAGE=JAVASCRIPT>
var mitBillede = new Array(
"./1%20Fiskerhus%20fra%20agger_files/image005.jpg",
"./3%20Gård%20fra%20Øster%20Larsker%20på%20Bornholm_files/image003.jpg",
"./3%20Gård%20fra%20Øster%20Larsker%20på%20Bornholm_files/image016.jpg",
"./3%20Vandmølle%20fra%20Pedersker_files/image002.jpg",
"./4%20Gård%20fra%20Ostenfeld,%20Sydslesvig_files/image002.jpg",
"./4%20Gård%20fra%20Ostenfeld,%20Sydslesvig_files/image004.jpg",
"./4%20Gård%20fra%20Ostenfeld,%20Sydslesvig_files/image024.jpg",
"./4%20Gård%20fra%20Ostenfeld,%20Sydslesvig_files/image020.jpg",
"./4%20Gård%20fra%20Ostenfeld,%20Sydslesvig_files/image014.jpg",
"./5%20Fuglevad%20Vindmølle_files/image003.jpg",
"./5%20Fuglevad%20Vindmølle_files/image004.jpg",
"./5%20Fuglevad%20Vindmølle_files/image007.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image002.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image003.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image005.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image006.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image007.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image008.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image011.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image014.jpg",
"./6%20Vandmølle%20fra%20Ellested%20sogn%20Fyn_files/image018.jpg",
"./8%20Gård%20fra%20Kølvrå%20Karup%20hede%20Jylland_files/image002.jpg",
"./8%20Gård%20fra%20Kølvrå%20Karup%20hede%20Jylland_files/image006.jpg",
"./8%20Gård%20fra%20Kølvrå%20Karup%20hede%20Jylland_files/image010.jpg",
"./8%20Gård%20fra%20Kølvrå%20Karup%20hede%20Jylland_files/image004.jpg",
"./15%20hus%20fra%20Mule%20på%20Bordø%20Færøerne_files/image004.jpg",
"./15%20hus%20fra%20Mule%20på%20Bordø%20Færøerne_files/image008.jpg",
"./15%20hus%20fra%20Mule%20på%20Bordø%20Færøerne_files/image006.jpg",
"./16%20Hjeld%20fra%20Viderejde%20på%20Viderø_files/image004.jpg",
"./17%20Skvatmølle%20fra%20Sand%20på%20Sandø_files/image003.jpg",
"./17%20Skvatmølle%20fra%20Sand%20på%20Sandø_files/image005.jpg",
"./18%20Sodnhus%20fra%20Mule%20på%20Bordø_files/image003.jpg",
"./22%20Gård%20fra%20Vemb%20Vestjylland_files/image002.jpg",
"./22%20Gård%20fra%20Vemb%20Vestjylland_files/image006.jpg",
"./22%20Gård%20fra%20Vemb%20Vestjylland_files/image004.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image003.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image005.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image009.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image019.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image023.jpg",
"./30%20Gård%20fra%20Lønnestak%20Vestjylland_files/image002.jpg",
"./32%20Gård%20fra%20Søndersejrslev,%20Sønderjylland_files/image005.jpg",
"./32%20Gård%20fra%20Søndersejrslev,%20Sønderjylland_files/image003.jpg",
"./32%20Gård%20fra%20Søndersejrslev,%20Sønderjylland_files/image009.jpg",
"./32%20Gård%20fra%20Søndersejrslev,%20Sønderjylland_files/image007.jpg",
"./33%20knipleskole%20fra%20Nørre%20Sejerslev,%20Sønderjylland_files/image00
3.jpg",
"./34%20Gård%20fra%20Toftum,%20Rømø,%20Sønderjylland_files/image012.jpg",
"./34%20Gård%20fra%20Toftum,%20Rømø,%20Sønderjylland_files/image002.jpg",
"./34%20Gård%20fra%20Toftum,%20Rømø,%20Sønderjylland_files/image010.jpg",
"./34%20Gård%20fra%20Toftum,%20Rømø,%20Sønderjylland_files/image004.jpg",
"./34%20Gård%20fra%20Toftum,%20Rømø,%20Sønderjylland_files/image008.jpg",
"./37%20Vedlade%20fra%20Sode_files/image003.jpg",
"./38%20Lade%20fra%20Øsby_files/image002.gif",
"./38%20Lade%20fra%20Øsby_files/image003.gif",
"./39%20Lade%20fra%20Grønninghoved_files/image003.jpg",
"./40%20Gårdstuehus%20fra%20Barsø%20med%20stald_files/image003.jpg",
"./40%20Gårdstuehus%20fra%20Barsø%20med%20stald_files/image006.jpg",
"./42%20Gård%20fra%20True%20ved%20Århus_files/image011.jpg",
"./42%20Gård%20fra%20True%20ved%20Århus_files/image003.jpg",
"./43%20Pottemagerværksted%20fra%20Sorring,%20Østjylland_files/image003.jpg"
,
"./43%20Pottemagerværksted%20fra%20Sorring,%20Østjylland_files/image011.jpg"
,
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image003.jpg",
"./25%20Herregårdslade%20fra%20Fjellerup%20Djursland_files/image005.jpg",
"./29%20Fiskerbod%20fra%20Nymindegab%20Vestjylland_files/image002.gif",
"./45%20Hjelm%20en%20lade%20fra%20Als_files/image003.jpg")
var detteBillede = 0
var sideliste = new Array ("","index.htm")
function roter(){
if (document.images){
if (document.slideShowBilleder.complete){
detteBillede++
if (detteBillede==68){
detteBillede=0
}
document.slideShowBilleder.src=mitBillede[detteBillede]
}
setTimeout("roter()",6*1000) // bestemmer tid mellem skift af billede
}
}
function visTidligere(){
if (document.images && detteBillede >0) {
detteBillede--
document.slideShowBilleder.src=mitBillede[detteBillede]
}
}
function visNext(){
if (document.images && detteBillede <4) {
detteBillede++
document.slideShowBilleder.src=mitBillede[detteBillede]
}
}
</SCRIPT>
</HEAD>
<BODY bgcolor="GREEN" onload="roter()" background="Frhus4.jpg">
<P style="background-color: #808080; color: #C0C0C0; background-image:
url('Frhus4.jpg'); background-repeat: repeat; background-attachment: scroll;
padding: 10; background-position: left top">
<CENTER>
<IMG src="1%20Fiskerhus%20fra%20agger_files/image005.jpg"
name="slideShowBilleder" width="740" higth="530" align="middle" border="3"
style="border-style: groove; border-color: #C0C0C0"></CENTER><P
align="center">
<A href="index.htm">
<IMG border="0" src="knapafslut.jpg" alt="Går tilbage til index" width="84"
height="27"></A>
<P align="center">
</BODY>
</HTML>
SLUT PÅ KODE
"Merlin" <steena@post7.tele.dk> skrev i en meddelelse
news:3c1e6227$0$52950$edfadb0f@dspool01.news.tele.dk...
> Du kan evt. prøve at finde et javascript på:
>
www.viewsource.dk
>
> som kan afhjælpe dit problem.
>
> MVH
> Steen
>
>