PDA

View Full Version : Text and Image Crawler positioning



simones
08-26-2009, 08:09 AM
1) Script Title: Text and Image Crawler

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

3) Describe problem:
Hi, and thanks for such a wonderful script.

I have used the script and it works fine. However, I cannot position the scroll text box within the web page. I have tried the following.

1. In header...

<style>
.marquee {
top: 200px;
left: 30px;
position:absolute;
}
</style>

2. In header...
<style>
#mycrawler {
top: 200px;
left: 30px;
position:absolute;
}
</style>

3. In <div>...
<div class="marquee" id="mycrawler" style="top:200px;left:30px" >

4. In marqueeInit...
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'padding': '5px',
'top': '200px',
'left': '30px',
'width': '450px',
'background': 'lightyellow',
'border': '1px solid #CC3300'
},
inc: 2, //speed - pixel increment for each iteration of this marquee's movement
addDelay: 0
});
</script>

I need to position the scroll text box precisely on the web page.

Any help would be much appreciated.

Thanks,

Simon