it works =) now i just have one last problem...
here's the original code:
Code:
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
{
document.write('<div id="master'+this.slideshowid+'" class="shoutlayer1">')
document.write('<div id="'+this.canvasbase+'_0" class="shoutlayer2" style="filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;"></div>')
document.write('<div id="'+this.canvasbase+'_1" class="shoutlayer2" style="filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;"></div>')
document.write('<div id="shouthelp" class="shoutlayer2" style="display:none;z-index:1000;"></div>')
document.write('</div>')
}
else
document.write('<div id="defaultslide'+this.slideshowid+'">'+this.postimages[0]+'</div>')
----------
i'm moving this from my js file out the the html file and i'm writing this:
HTML Code:
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
{
document.write('<div id="master0" class="shoutlayer1">');
document.write('<div id="canvas0_0" class="shoutlayer2" style="filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;"></div>');
document.write('<div id="canvas0_1" class="shoutlayer2" style="filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;"></div>');
document.write('<div id="shouthelp" class="shoutlayer2" style="display:none;">hjälp hjälp hjälp</div>');
document.write('</div>');
}
else
document.write('<div id="defaultslide0">'+this.postimages[0]+'</div>')
the problem is the last row. what do i write instead of '+this.postimages[0]+'?
Bookmarks