I'd need to see your code to be able to be sure of determining a good way to do this for your particular page. However, if you enclose the script:
Code:
<div style="position:absolute; top:500px; left:45%;">
<script type="text/javascript">
/***********************************************
* Translucent Slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var trans_width='140px' //slideshow width
var trans_height='225px' //slideshow height
var pause=3000 //SET PAUSE
. . . much deleted for brevity . . .
else if (ie4||dom||document.layers)
window.onload=startit
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://www.dynamicdrive.com">Dynamic Drive</a></font></p>
</div>
As shown in an absolutely (or relatively) positioned division and set the left and top properties appropriately, it will appear wherever you like. This is best done after the image or whatever on your page you want this to appear over. If the thing you are covering is absolutely or relatively positioned as well and has a z-index style set, the z-index value for the script's division must be higher than the content that you want it to cover. If the content you are covering is just in the document flow, don't worry about this last bit.
Bookmarks