View Full Version : Marquee with picture
kentlim04
03-09-2007, 10:02 AM
May i know how to put marguee with picture inside?
below is an URL with margue without picture.
www.my-advertisement.com
:)
codeexploiter
03-09-2007, 11:06 AM
The following code will do the image marquee
<marquee direction="right"><img src="image.jpg" alt="none" border="0" /></marquee>
kentlim04
03-09-2007, 12:19 PM
how to stop the marguee when mouse over?
Thanks in advance...
kentlim04
03-10-2007, 02:19 AM
anyone know how to stop the marguee when mouse over
Thanks
djr33
03-10-2007, 04:33 AM
There are quite a few scripts on DD that are ready made for this. Take a look.
thetestingsite
03-10-2007, 04:40 AM
Or in HTML (may be invalid, but still works) use something like this:
<marquee onmouseover="this.stop()" onmouseout="this.start()">This is a test</marquee>
Notice the parts in red. Personally though, I would suggest the same as what djr33 posted above (the javascript marquee thing on DD).
Hope this helps.
kentlim04
03-13-2007, 04:49 PM
yes, thanks for your help.
may i know that can i put sound in marquee?
V1SHAL
03-13-2007, 06:18 PM
use Flash
kentlim04
03-17-2007, 07:43 AM
Yes i know Flash can do it, but Flash can slow down the performance of page loading.
Any idea how to load the sound without lower down the page loading performance?
jscheuer1
03-17-2007, 07:50 AM
Flash is actually pretty efficient when it comes to sound and images due to its generally superior compression algorithms. However, with any sound or image, it is the byte size of the content not the delivery system.
You could have the most efficient compression but if your byte load is still high, it will take some time to download. Conversely, you could use the least efficient method but, if the byte size is small, it will still download pretty fast.
Ryan Fitton
03-17-2007, 11:37 AM
Easy all you have to do is copy the following HTML code where you want your marquee to appear
<marquee direction="left"><img src="image.gif" alt="none" border="0" /></marquee>
Just change "image.gif" to a differnt file name for you picture. You can change which way you want you browser to go, by deufault I typed in "left" but you can change it to go left or right. If you want you can add a border around you marquee but at the moment the code says there is no border.
By the way, nice website. :)
Vampy
03-20-2007, 11:11 AM
You could probably use FrontPage to attach a sound ... to the page(s)
It loads in background .. and starts the sound when it's fully loaded
I didn't have problems ... but ... it's better to use Flash for sounds :)
kentlim04
03-21-2007, 08:58 AM
As what i know is we can play the sound in the background. here is the code <bgsound src="sound.wav" loop="1">
But what i wan is the sound play when the cursor over the marquee. Any idea on this?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.