Help with Marquees!

Posted on 2005-03-14
Medium Priority
Last Modified: 2012-05-05

I am currently developing a page which uses the <marquee> tag.
As it stand pictures scroll in to the page from the right hand side.  Does anyone know how to start the images actually in the middle of the page.  I want to avoid having a big space while the images scroll in.  I would like them to be almost 'pre scrolled' or something.

Also i would like to remove the space at the end and get 1 continous infinite loop.
Any comments would be appreciated.

Question by:Dean OBrien
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 12

Author Comment

by:Dean OBrien
ID: 13536115
Sorry i meant to provide you with a link!

here it is!

LVL 10

Expert Comment

ID: 13536260

Start marquee with image in middle - can't find anything on this.

Loop marquee forever - add this to the marquee



Expert Comment

ID: 13536321

Can you not use flash for this, it's more versatile.

marquee doesnt work in Firefox, Isn't the marquee tag depreciated?

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

LVL 12

Author Comment

by:Dean OBrien
ID: 13536408

I tried adding (LOOP="infinite", ) but this doesnt solve the problem.  It loops infinitely...but there is a space at the begining and the end! Thanks anyway.

I havent really used flash a great deal and i'm not really sure how big a job it would be. If possible i'd like to stick with the marquee tags. (i know the marquee tags are not supported outside of IE, but the page isnt going to be going live on the internet, its going on some local machines that I know will be running IE.)

Cheers for the feedback

Accepted Solution

DBB earned 100 total points
ID: 13536586
Here's a link to a flash tutorial if you're up for it: - http://www.sitepoint.com/article/scrolling-image-gallery

I'm not aware of a way to start scrolling from the middle in marquee

LVL 29

Assisted Solution

rdivilbiss earned 100 total points
ID: 13537664
Note. The BLINK and MARQUEE elements are not defined in any W3C HTML specification and should not be used.

JavaScript and CSS positioning will let you make a cross-browser "simulated" Marquee, and of course you can make it start anyplace you want with modification.


http://www.orionjet.com/ has an image marquee wich does not start in the middle, however, the JavaScript is not working in Mozilla (but is probably a simple fix.)

Some will argue that JavaScript may be turned off in some user's browsers...which is true, but Netcraft puts that figure at 10% and many of those are spiders and crawlers, so chances are not bad you're visitor will be able to do JavaScript.  Even if they can't, you can use the <NOSCRIPT> tags to display a non scrolling image map for those browsers.

If you look at your page in a Gecko based browser, (FireFox, Moxilla and NS 8) which by many accounts now have a 20-30% market share, you'll see your marquee does not render in a manner that is usable.

So, if you don't want to do Flash, do JavaScript and CSS.  You'll still enable more users to see your content than using the MARQUEE tag.


Expert Comment

ID: 13540394
You could try alternating the marquee. It starts centered but alternates left to right and does not scroll off of the screen.

<marquee scrollamount="4"  behavior="alternate">

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question