Your markup is invalid (don't get scared, it just means that it doesn't follow standards). You have an odd situation here:
Code:
<a href="../webpages/Paint.html"> <img border="0" src="../images/Thumbs/Paint T.jpg"> </a>
</td>
</tr>
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '100%',
'height': '500px',
'border': '2px'
},
inc: 15, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
stopped: true,
moveatleast: 0,
neutral: 150,
savedirection: true
});
</script>
You are closing the div before you close the table and the table never gets formally closed. Technically the the div cannot be closed yet and the table isn't. Various browsers will attempt to error correct this in various ways, some won't even try, and some may muddle through because the script itself changes the markup if it ever gets a chance to run. This may or may not be the problem in Safari and Chrome. Try fixing it:
Code:
<a href="../webpages/Paint.html"> <img border="0" src="../images/Thumbs/Paint T.jpg"> </a>
</td>
</tr></table>
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '100%',
'height': '500px',
'border': '2px'
},
inc: 15, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
stopped: true,
moveatleast: 0,
neutral: 150,
savedirection: true
});
</script>
As to your other question, the crawler can be made (via additional javascript) to be a percentage of the window height, but this won't change the height of the images in it or of the padding/margin whatever is used to position the images within the crawler. If I knew more specifically what you were after I may be able to come up with something that does that. Be aware though that if you resize the images they may become distorted. The aspect ratio can probably be maintained, but the resolution probably will get fuzzy and/or jagged. And when you resize by height while keeping the same aspect ratio, you will be changing the length of the train, this may or may not have undesirable consequences in tall windows that are narrow and/or short windows that are wide.
Bookmarks