Log in

View Full Version : i need Marquee image under navbar


mangmel
02-11-2017, 03:37 AM
i need Marquee image under navbar

Dr.CustUmz
02-11-2017, 08:30 PM
without more information the most help I can provide is, at the end of navbar template put

<marquee><img src="http://Path/to/some/image.png" /></marquee>

PinkMilk
02-14-2017, 11:06 PM
Marquee tag is obsolete, though it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Alternative is a little css and html
<div class="marquee">
<p><img src="path/to/img.jpg" alt="blah blah blah" /></p>
</div>



.marquee {
background:#000;
box-sizing: border-box;
color: #fff;
overflow: hidden;
white-space: nowrap;
width: 100%;
}

.marquee p {
display: inline-block;
padding-left: 100%;
animation: marquee 15s linear infinite;
}

@keyframes marquee {
0% { transform: translate(0, 0); }
100% { transform: translate(-100%, 0); }
}