Вы находитесь на странице: 1из 15

<script type="text/javascript" language="javascript1.2"><!

--
/*
another script from uncle jims web designs (www.jdstiles.com)
conveyor belt slideshow script-
� dynamic drive (www.dynamicdrive.com)
for full source code, 100's more dhtml scripts, and terms of use, visit
dynamicdrive.com
*/

//specify the slider's width (in pixels)


var sliderwidth=780

//specify the slider's height


var sliderheight=150

//specify the slider's slide speed (larger is faster 1-10)


var slidespeed=2

//configure background color:


slidebgcolor="#e0ffff"

//specify the slider's images


var leftrightslide=new array()

var finalslide=''
leftrightslide[0]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[1]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[2]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[3]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[4]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[5]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[6]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[7]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[8]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[9]='<a href="hyperlink"><img src="image link" border=0>'
leftrightslide[10]='<a href="hyperlink"><img src="image link" border=0>'

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join()+'</nobr>'
var iedom=document.all||document.getelementbyid
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-
100;left:-600">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getelementbyid? document.getelementbyid("test2") :
document.all.test2
cross_slide2=document.getelementbyid? document.getelementbyid("test3") :
document.all.test3
cross_slide.innerhtml=cross_slide2.innerhtml=leftrightslide
actualwidth=document.all? cross_slide.offsetwidth :
document.getelementbyid("temp").offsetwidth
cross_slide2.style.left=actualwidth+20
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+20
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}

lefttime=setinterval("slideleft()",30)
}

window.onload=fillup

function slideleft(){
if (iedom){
if (parseint(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseint(cross_slide.style.left)-copyspeed
else
cross_slide.style.left=parseint(cross_slide2.style.left)+actualwidth+30

if (parseint(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseint(cross_slide2.style.left)-copyspeed
else
cross_slide2.style.left=parseint(cross_slide.style.left)+actualwidth+30

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+30

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+30
}

if (iedom||document.layers){
with (document){
document.write('<table width="600" border="0" cellspacing="0"
cellpadding="0"><td>')
if (iedom){
write('<div
style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hi
dden">')
write('<div
style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-
color:'+slidebgcolor+'" onmouseover="copyspeed=0"
onmouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:260;top:0"></div>')
write('<div id="test3" style="position:absolute;left:-1000;top:0"></div>')
write('</div></div>')
}

else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu"
bgcolor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onmouseover="copyspeed=0"
onmouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onmouseover="copyspeed=0"
onmouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}

document.write('</td></table>')
}

//--></script>

----------------------------------------------------------------------------------
---------
2 example

insert between head tags: <head></head>

<!-- javascript image roller w/centering for any screen size.


this image roller will center your images in the usable section of your
screen. it does this by calculating
the height and width of your screen display area, then dividing that by 2
and subtracting half of the image
height and width from that to place the image in a position that is as close
to center as possible.
-->

<script>
// your images. you may add as many images as you like.
var imgname=new array("clock2","girl201","banner")

// your images width. you may add as many images as you like.
var imgw=new array("110","480","232")

// your images height. you may add as many images as you like.
var imgh=new array("208","280","73")

//place your pictures page here. the pound symbol allows the use of the anchor
name feature.
//so that the image can be brought forward when clicked on.
var imgurl="pics.html#"

//this array preloads the images so that they rotate at the proper speed on the
page.
var imgpreload=new array()
for (i=0;i<=imgname.length-1;i++) {
imgpreload[i]=new image()
imgpreload[i].src=imgname[i]
}

//declare any needed variables here.


var i_image=0 //i_image is used for the array of images to be accessed later.
var screenheight=0 //screenheight is for usable height of the display area ie
567px if your height is 600px
var screenwidth=0 //screenwidth is for the usable width of the display area
ie 800px if your width is 800px
var x_finalpos=0 //x_finalpos is for the final position when placing the
image on the screen in the scroller.
var y_finalpos=0 //y_finalpos is for the final position when placing the
image on the screen in the scroller.
var imgheight=0 //used to calculate the final position of the image in the
scroller you load the image height here.
var imgwidth=0 //used to calculate the final position of the image in the
scroller you load the image width here.

/*this function finds the location on the screen for the image scroller. it
does this by calculating the screen height
and width that is usable then dividing this by 2 so that the image will
center. it then subtracts half of the image
from the usable height and width of the screen and adds 20 to the height for
placement purposes.*/

function picturepos() {
imgheight=imgh[i]
imgwidth=imgw[i]
x_finalpos=((document.body.clientheight/2)-(imgheight/2)+20)
y_finalpos=((document.body.clientwidth/2)-(imgwidth/2))
}

//this function sets the timer on the image roller.and calls another function to
roll the image
function initiate() {
var timer=setinterval("swapimg()",2000)
}

//this function provides the names of the images that are being used by the
roller.
function swapimg(){
eval("document.all.div"+i_image+".style.display='none'")
if (i_image++>imgname.length-2) {i_image=0}
eval("document.all.div"+i_image+".style.display=''")
return(false)
}
</script>

<body></body>

<script>
if (document.all) {
for (i=0;i<=imgname.length-1;i++) {
picturepos()
document.write("<div id='div"+i+"'
style='position:absolute;top:"+x_finalpos+";left:"+y_finalpos+";display:none'><a
href='"+imgurl+imgname[i]+"' target='_blank'><img src='"+imgname[i]+".jpg'
border='0'></a></div>")
}
}
</script>

insert into body tag: <body 'code here'>

onload='initiate()'
----------------------------------------------------------------------------------
---

<head></head>

<script type="text/javascript" src="records.js"></script>

<script type="text/javascript"><!--
/*
_____________________________________
/�������������������������������������\
| another javascript from uncle jim |
| feel free to copy, use and change |
| this script as long as this part |
| remains unchanged. you can visit |
| my website at http://jdstiles.com |
| for more scripts like this one. |
| created: 1998 updated: 2006 |
\_____________________________________/
�������������������������������������
*/

ns4 = (document.layers) ? 1 : 0;
ie4 = (document.all) ? 1 : 0;
ver4 = (ns4 || ie4) ? 1 : 0;

var currecord = 1;
var maxrecords = arrecord.length-1;
var maxfields = arrecord[1].length-1;

function update() {
if (document.images) { document.images["impic"].src="cynic00" +
currecord + ".jpg" };
if (!ver4) { return };
for (i=1; i<=maxfields; i++) {
if (ns4) {
whichel = eval("document.elfield" + i + ".document");
with (whichel) {
open();
write("<b>" + arrecord[currecord][i] + "</b>");
close();
}
}
else {
whichel = eval("document.all.elfield" + i);
whichel.innerhtml = "<b>" + arrecord[currecord][i] + "</b>";
}
}
}
function shownext() {
currecord = (currecord < maxrecords) ? ++currecord : 1;
update();
}

function showprev() {
currecord = (currecord > 1) ? --currecord : maxrecords;
update();
}
//-->
</script>

<body></body>

<div align="center">
<table border="0" width="500">
<tr>
<td width="200" valign="top">
<img name="impic" src="cynic001.jpg" width=200 height=150 hspace=10 align=left>
</td>
<td width="300" valign="top">
c.i.d. number: <span id="elfield1" style="position: absolute"></span><br>
suspect name: <span id="elfield2" style="position: absolute"></span><br>
race and sex: <span id="elfield3" style="position: absolute"></span><br>
date of birth: <span id="elfield4" style="position: absolute"></span><br>
charges: <span id="elfield5" style="position: absolute"></span><br>
comments: <span id="elfield6" style="position: absolute"></span><br><br>
<a href="javascript:showprev()">previous</a> || <a
href="javascript:shownext()">next</a>
</td></tr></table></div><br>

<body 'code here'>


onload="update()"
-------------------------------------------------------

<head></head>

<script type="text/javascript"><!--
/*
_____________________________________
/�������������������������������������\
| another javascript from uncle jim |
| feel free to copy, use and change |
| this script as long as this part |
| remains unchanged. you can visit |
| my website at http://jdstiles.com |
| for more scripts like this one. |
| created: 1998 updated: 2006 |
\_____________________________________/
�������������������������������������
*/
prev1 = new image (32,18);
prev1.src = "prev1.jpg";
prev2 = new image (32,18);
prev2.src = "prev2.jpg";

next1 = new image (32,18);


next1.src = "next1.jpg";
next2 = new image (32,18);
next2.src = "next2.jpg";

go1 = new image (48,24);


go1.src = "go1.jpg";
go2 = new image (48,24);
go2.src = "go2.jpg";

maxpic = 5;

p1 = new image (144,96);


p1.src = "http://jdstiles.com/pic/chair.jpg";
link1 = "http://jdstiles.com/pic/chair.jpg";

p2 = new image (144,96);


p2.src = "http://jdstiles.com/pic/ling.jpg";
link2 = "http://jdstiles.com/pic/ling.jpg";

p3 = new image (144,96);


p3.src = "http://jdstiles.com/pic/tazz.jpg";
link3 = "http://jdstiles.com/pic/tazz.jpg";

p4 = new image (144,96);


p4.src = "http://jdstiles.com/pic/chair.jpg";
link4 = "http://jdstiles.com/pic/chair.jpg";

p5 = new image (144,96);


p5.src = "http://jdstiles.com/pic/wall.jpg";
link5 = "http://jdstiles.com/pic/wall.jpg";

count = 1;
function next() {
count++;
if (count > maxpic) {
count = 1;
}
eval("document.p.src=p" + count + ".src");
}
function back() {
count--;
if (count == 0) {
count = maxpic;
}
eval("document.p.src=p" + count + ".src");
}
function link() {
location.href=eval("link" + count);
}
// end -->
</script>

<body></body>

<center><table bgcolor="#003366" border=0><tr><td align=center width=300><font


color=white face="arial, helvetica" size="+1">thumbnail navigator</font><br><br>
<img name=p src="http://jdstiles.com/pic/centerpug.jpg" border=0 width=144
height=96><br>
<table border=0><tr>
<td><a href="javascript:back()" onmouseover="prev.src=prev2.src"
onmouseout="prev.src=prev1.src"><img src="prev1.jpg" width="32" height="18"
border="0" name="prev"></td>
<td><a href="javascript:link()" onmouseover="go.src=go2.src"
onmouseout="go.src=go1.src"><img src="go1.jpg" width="48" height="24" border="0"
name="go"></td>
<td><a href="javascript:next()" onmouseover="next.src=next2.src"
onmouseout="next.src=next1.src"><img src="next1.jpg" width="32" height="18"
border="0" name="next"></td>
</tr></table><br>
<font color="#a3acc9" size="2" face="arial">browse to a picture you like and click
"go".</font></td></tr></table></center>

--------------------------------------------------------------------
insert inside body: <body></body>

<script type="text/javascript">
// credits:
// random order slideshow with messages
// concept by urs dudli and peter gehrig
// rewritten for this site by jim stiles www.jdstiles.com

///////////////////////////////////////////////////////////////////////////
// configuration starts here
///////////////////////////////////////////////////////////////////////////

// replace the urls of the slides and the corresponding messages.


// please note that the url and the correponding message are separated by "|".
// watch how the "," and the " " are set!
// you may add as many slides as you like.
// important: do not use the return-key to break the lines!!!
var slideshow=new array("http://jdstiles.com/pic/centerpug.jpg|a young
tazz.","http://jdstiles.com/pic/chair.jpg|relaxing on the
weekend!","http://jdstiles.com/pic/floor.jpg|here\'s looking at
you.","http://jdstiles.com/pic/wall.jpg|getting some
sun.","http://jdstiles.com/pic/tazz.jpg|this is my
throne!","http://jdstiles.com/pic/rug.jpg|watching
television.","http://jdstiles.com/pic/ling.jpg|i run this
household.","http://jdstiles.com/pic/bed.jpg|is it time for bed
yet?","http://jdstiles.com/pic/basket.jpg|hey... this is pretty comfortable!")

// the font-family of the messages


var fntfamily="verdana"

// the font-size of the messages (ranging from 1 to 6)


var fntsize=2

// the font-color of the messages


// instead of "yellow" you also could write "ffff00"
var fntcolor="f5deb5"

// the background-color of the messages


// instead of "black" you also could write "000000"
var bgrndcolor="8b0000"

// the width of the slides (pixels)


var imagewidth=250

// the height of the slides (pixels)


var imageheight=250

// the minimum interval between each slide (seconds)


var standstill=4

///////////////////////////////////////////////////////////////////////////
// configuration ends here
///////////////////////////////////////////////////////////////////////////

// do not change the code below


var imgstop=0
var imgsleft=0
var mestop=imageheight
var mesleft=0
var firstslide=true
var starttime
var nowtime
var imgurl=new array()
var message=new array()
var imgurlandmessagearray=new array()
var imgurlandmessage
var imgpreload=new array()
var playertop=0
var playerleft=0
var i_imgs=0
var i_loop=0
var i_preloadloop=0
var i_transition=0
var timerrotate=false
var timercheck=false
var contentimg
var contentmes
var slideshowlength=slideshow.length

var topdivheight=imageheight+40

var ns6=document.getelementbyid&&!document.all?1:0
var standstill=standstill*1000

function init() {
firstslide=true
i_imgs=0
i_loop=0
i_preloadloop=randommaker(slideshowlength)
if (timerrotate) {
cleartimeout(timerrotate)
cleartimeout(timercheck)
}
imgurl=new array
message=new array
for (i=0;i<=slideshow.length-1;i++) {
imgurlandmessage=slideshow[i].split("|")
imgurl[i]=imgurlandmessage[0]
message[i]=imgurlandmessage[1]
}

if (document.all) {
imgs.innerhtml=""
mes.innerhtml=""
document.all.imgs.style.postop=imgstop
document.all.imgs.style.posleft=imgsleft
document.all.mes.style.postop=mestop
document.all.mes.style.posleft=mesleft
checkpreloadtime()
preloadimage()
checkifloaded()
}
if (ns6) {
document.getelementbyid('imgs').innerhtml=""
document.getelementbyid('mes').innerhtml=""
document.getelementbyid('imgs').style.top=imgstop
document.getelementbyid('imgs').style.left=imgsleft
document.getelementbyid('mes').style.top=mestop
document.getelementbyid('mes').style.left=mesleft
checkpreloadtime()
preloadimage()
checkifloaded()
}
if (document.layers) {
document.topdiv.document.imgs.document.write("")
document.topdiv.document.imgs.document.close()
document.topdiv.document.mes.document.write("")
document.topdiv.document.mes.document.close()
document.topdiv.document.imgs.top=imgstop
document.topdiv.document.imgs.left=imgsleft
document.topdiv.document.mes.top=mestop
document.topdiv.document.mes.left=mesleft
checkpreloadtime()
preloadimage()
checkifloaded()
}
}

function checkifloaded() {
if (imgpreload.complete) {
nowtime=new date()
nowtime=nowtime.gettime()
nowtime=nowtime-starttime
var interval=standstill-nowtime
if (interval<=0 ) {
interval=1
}
if (firstslide) {
interval=1
firstslide=false
}
if (i_preloadloop==i_loop) {
interval=1
}
timerrotate=settimeout("rotateimages()", interval)
}
else {
timercheck=settimeout("checkifloaded()", 100)
}
}

function preloadimage() {
imgpreload=new image()
imgpreload.src=imgurl[i_preloadloop]
}

function rotateimages() {
i_loop=i_preloadloop
i_preloadloop=randommaker()
checkpreloadtime()
preloadimage()
getcontent()
if (document.all) {
imgs.filters[i_transition].apply()
imgs.innerhtml=contentimg
imgs.filters[i_transition].play()
i_transition++
if (i_transition>21) {i_transition=0}
mes.innerhtml=contentmes
}
if (ns6) {
document.getelementbyid('imgs').innerhtml=contentimg
document.getelementbyid('mes').innerhtml=contentmes
}
if (document.layers) {
document.topdiv.document.imgs.document.write(contentimg)
document.topdiv.document.imgs.document.close()
document.topdiv.document.mes.document.write(contentmes)
document.topdiv.document.mes.document.close()
}
i_loop++
checkifloaded()
}

function randommaker() {
rand=math.floor(slideshowlength*math.random())
return rand

function getcontent() {
contentimg="<img src='"+imgurl[i_loop]+"'>"
contentmes="<table cellpadding=2 cellspacing=0 border=0 bgcolor="+bgrndcolor+"
width="+imagewidth+"><tr><td><font size="+fntsize+" color="+fntcolor+"
face="+fntfamily+">"+message[i_loop]+"</font></td></tr></table>"
}

if (document.all) {
document.write('<div id="topdiv"
style="position:relative;width:'+imagewidth+'px;height:'+topdivheight+'px">')
document.write('<div id="mes" style="position:absolute;"> </div>')
document.write('<div id="imgs" style="position:absolute;filter:
revealtrans(transition=1, duration=2) revealtrans(transition=2, duration=2)
revealtrans(transition=3, duration=2) revealtrans(transition=4, duration=2)
revealtrans(transition=5, duration=1) revealtrans(transition=6, duration=2)
revealtrans(transition=7, duration=2) revealtrans(transition=8, duration=1)
revealtrans(transition=9, duration=2) revealtrans(transition=10, duration=1)
revealtrans(transition=11, duration=2) revealtrans(transition=12, duration=2)
revealtrans(transition=13, duration=1) revealtrans(transition=14, duration=2)
revealtrans(transition=15, duration=2) revealtrans(transition=16 duration=1)
revealtrans(transition=17, duration=2) revealtrans(transition=18, duration=2)
revealtrans(transition=19, duration=1) revealtrans(transition=20, duration=2)
revealtrans(transition=21, duration=2) revealtrans(transition=22, duration=2)">
</div>')
document.write('</div>')
}

if (ns6) {
document.write('<div id="topdiv"
style="position:relative;width:'+imagewidth+'px;height:'+topdivheight+'px">')
document.write('<div id="mes" style="position:absolute;"> </div>')
document.write('<div id="imgs" style="position:absolute;"> </div>')
document.write('</div>')
}

if (document.layers) {
document.write('<ilayer name="topdiv" width='+imagewidth+'
height='+topdivheight+'>')
document.write('<layer name="mes"> </layer>')
document.write('<layer name="imgs"> </layer>')
document.write('</ilayer>')
}

function checkpreloadtime() {
starttime= new date()
starttime=starttime.gettime()
}

function checktime() {

window.onresize=new function("window.location.reload()");
window.onload=init

</script>

------------------------------------------------------------
<head></head>

<script type="text/javascript"><!--
/*
______________________________________________________
/������������������������������������������������������\
| another javascript from uncle jim |
| |
| feel free to copy, use and change this script as |
| long as this part remains unchanged. |
| |
| visit my website at http://www.jdstiles.com |
| for more scripts like this one |
| |
| created: 1996 |
| last updated: december, 2005 |
\______________________________________________________/
������������������������������������������������������
*/
var pictures = new array
("http://yourdomaincom/pic/centerpicture.jpg","http://yourdomain.com/pic/picture2.
jpg","http://yourdomain.com/pic/picture3.jpg",
"http://yourdomain.com/pic/picture4.jpg","http://yourdom
ain.com/pic/picture5.jpg","http://yourdomain.com/pic/picture6.jpg",
"http://yourdomain.com/pic/picture7.jpg","http://yourdom
ain.com/pic/picture8.jpg");
var picturenumber = 0;
var totalnumber = pictures.length;

function previous(){
if (document.images){
if (picturenumber > 0) picturenumber--
else
picturenumber = totalnumber-1
document.images.slides.src = pictures[picturenumber]
}
}
function next(){
if (document.images){
if (picturenumber < totalnumber-1) picturenumber++
else
picturenumber = 0
document.images.slides.src = pictures[picturenumber]
}
}

//--></script>

<body></body>

<center><font size=6><a href="javascript:previous()">back</a><img


src="pic/center_image.jpg" name="slides">
<a href="javascript:next()">next</a></font></center></br>

--------------------------------------------------------------------------
<body></body>

<script type="text/javascript"><!--
/*
______________________________________________________
/������������������������������������������������������\
| another javascript from uncle jim |
| |
| feel free to copy, use and change this script as |
| long as this part remains unchanged. |
| |
| visit my website at http://www.jdstiles.com |
| for more scripts like this one |
| |
| created: 1996 |
| last updated: december, 2005 |
\______________________________________________________/
������������������������������������������������������
*/

var variableslide=new array()

//variableslide[x]=["path to image", "optional link for image", "optional text


description (supports html tags)"]

variableslide[0]=['images_one', 'http://hyperlink_one', 'description_one']


variableslide[1]=['image_two', 'http://hyperlink_two', 'description_two']
variableslide[2]=['image_three', 'http://hyperlink_three', 'description_three']

//configure the below 3 variables to set the dimension/background color of the


slideshow

var slidewidth='244px' //set to width of largest image in your slideshow


var slideheight='244px' //set to height of largest iamge in your slideshow, plus
any text description
var slidebgcolor='#e0ffff'

//configure the below variable to determine the delay between image rotations (in
miliseconds)
var slidedelay=3000

////do not edit pass this line////////////////

var ie=document.all
var dom=document.getelementbyid

for (i=0;i<variableslide.length;i++){
var cacheimage=new image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<center>'
if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0"
vspace="3">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</center>'
if (variableslide[currentslide][2]!="")
contentcontainer+=variableslide[currentslide][2]

if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerhtml=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
settimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<div id="slidedom"
style="width:'+slidewidth+';height:'+slideheight+'; background-
color:'+slidebgcolor+'"></div>')

function start_slider(){
crossrotateobj=dom? document.getelementbyid("slidedom") : ie?
document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider
//--></script>
<ilayer id="slidensmain" width=&{slidewidth}; height=&{slideheight};
bgcolor=&{slidebgcolor}; visibility=hide><layer id="slidenssub"
width=&{slidewidth}; left=0 top=0></layer></ilayer>

Вам также может понравиться