Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Support thread for JcM NavBar promo text CE


Recommended Posts

A simple add-on to place a moving promo text header on your site.

Based on js script by Fabian Valle (https://github.com/conradfeyt/Simple-Marquee)

This uses a little js to add an old school marquee on the header. It’s simple and easy to use, you can add as many or as few messages as you like. It’s been set up with five on a slow move to keep it low key. Simply edit the template file to change the messages. To add more just edit the HTML, it nice and simple just copy exiting code as required.

You can change the css to suite your site. I would not recommend playing with the js unless you know what you are doing. The speed can be sped up or slowed down changing this line in the ext/js/marquee.js file.

Line 317 duration: 200000,

It’s responsive but as you might imagine not going to be easy to read on small screens. It has therefore been disabled on small screens, If you need it to show then in template file remove or comment out the following code

in the <style >section

@media only screen and (max-width: 479px) {
.simple-marquee-container{ display: none !important; }
}

Again totally standalone with no core code change. Simply copy all files into relevant sections and go to admin modules /content modules and install.

That’s it Enjoy.

image.thumb.png.3226441c4f83db39c3dd68a6e901d48a.png

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...