Slideshow transition

This is a discussion on "Slideshow transition" within the JavaScript Forum section. This forum, and the thread "Slideshow transition are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 21st, 2006, 10:43
New Member
Join Date: Mar 2006
Age: 28
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Slideshow transition

Hi there,

I'm hoping for a little help with a javascript that I'm using to create a table background.

I have three images which change as a table background. I would like them to fade in and out of one another.

Is there a function or a line of some sort that I can add to the script below to make this happen? I'm not a web design expert and I'm totally lost on this one - UI've tried everything I can think of!

<style>
#bslide {
/*Remove below line to make bgimage NOT fixed*/
background-attachment:fixed;
background-repeat: no-repeat;
/*Use center center in place of 300 200 to center bg image*/
background-position: center;
}
</style>
<script language="JavaScript1.2">
//Background Image Slideshow- © Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com
//Specify background images to slide
var bgslides=new Array()
bgslides[0]="images/janie1.gif"
bgslides[1]="images/janie2.gif"
bgslides[2]="images/janie3.gif"
//Specify interval between slide (in miliseconds)
var speed=3000
//preload images
var processed=new Array()
for (i=0;i<bgslides.length;i++){
processed[i]=new Image()
processed[i].src=bgslides[i]
}

var inc=-1

function slideback(){
if (inc<bgslides.length-1)
inc++
else
inc=0
document.getElementById? document.getElementById('bslide').background=proce ssed[inc].src : document.all['bslide'].background=processed[inc].src
}
if (document.all||document.getElementById)
window.onload=new Function('setInterval("slideback()",speed)')

</script>
<link href="janie.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="864" height="500" align="center" id="bslide">

etc etc
Reply With Quote

Reply

Tags
slideshow, transition

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with mx transition macuser Flash & Multimedia Forum 0 Jun 5th, 2008 17:16
Apply transition to a div blkskull JavaScript Forum 0 Feb 26th, 2008 14:00
Help with timeline transition LyndonSG Flash & Multimedia Forum 1 Aug 15th, 2007 07:56
PHoto Transition RL525 Flash & Multimedia Forum 1 Jul 23rd, 2007 16:16
Melting transition deoxymethyl Flash & Multimedia Forum 1 May 9th, 2006 19:16


All times are GMT. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43