What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

marquee scrolling problem - HELP

amc439

New member
Joined
Jan 14, 2021
Messages
1
Reaction score
0
HTML Coins
0
HI!

I have this code here for marquee scrolling text that scrolls upwards. The only problem is that the scrolling always starts from the bottom of the scroll area but I want it to start from the very top and then continue to scoll upwards.

Here is the code:

<style type="text/css">
.html-marquee {font-family:Helvetica;font-size:9.5pt;color:000000;border-width:0;border-style:solid;}
</style>
<marquee class="html-marquee" height="640" direction="up" behavior="scroll" scrollamount="3"> <p>IMMACULATE CONCEPTION CATHOLIC SCHOOL</p>

<p>TOP FLOOR PROPERTY MANAGEMENT</p>

<p>RE/MAX-NORTH SHORE - JUDY KILLEEN</p>

<p>BOSTON PIIZA - COQUITLAM</p>

<p>CAMBIE HOTEL AND PUB</p>

<p>TD CANADA TRUST - GEORGIA STREET</p>

<p>EL FURNITURE WAREHOUSE RESTUARANT</p>

<p>THE DIME RESTAURANT - COMMERCIAL</p>

<p>THE DIME RESTAURANT - GRANVILLE</p>

<p>LOOSE MOOSE RESTAURANT</p>

<p>WHITE RESTAURANT</p>

<p>BEST BITE DONAIR</p>

<p>BOND STREET PHARMACY</p>

<p>CHUTNEY VILLA</p>

<p>CONTAINER WORLD LOGISTICS - RICHMOND</p>

</marquee>


The size of the scroll box is fine and I'm happy with the word formatting and the speed of the scrolling, the only issue is that it begins scrolling from the bottom, so it leaves this huge awkward blank space for a few seconds when the page first loads.

If someone could help me out with this, I'd appreciate it.

Thanks,
 
Make an extra div at the top of the box you want to display it in. Make the height for the display size of your text.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back