Modular Merchant
QuickCode™ Glossary
{CONTENT-SLIDESHOW}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{ALL-PRODUCT-BLOCK-BEGIN}

{ALL-PRODUCT-BLOCK-END}

{CHECKOUT-FIELD-SHIP-ADDRESS-TITLE}

{CHECKOUT-FIELD-VALUE}

{CONTENT-SLIDESHOW}

{CURRENCY-EXCHANGE-RATE}

{FACEBOOK-LIKE-BUTTON}

{FACEBOOK-URL}

{FIELD-CONTACT-MESSAGE}

{FIELD-CURRENCY-MENU}

{GOOGLE-PLUS-BADGE}

{GOOGLE-PLUS-ONE-BUTTON}

{GOOGLE-PLUS-SHARE}

{IF-CUSTOM-WEBPAGE-ACTIVE-BEGIN}

{IF-CUSTOM-WEBPAGE-ACTIVE-END}

{IF-STOREFRONT-BANNER-BEGIN}

{IF-STOREFRONT-BANNER-END}

{PAY-METHOD-LOGOS}

{PRODUCT-DOWNSELL-BUTTON}

{PRODUCT-UPSELL-BUTTON}

{STOREFRONT-BANNER}

{TWITTER-FOLLOW-BUTTON}

{WEBPAGE-BLOCK-BEGIN}

{WEBPAGE-BLOCK-END}

{WEBPAGE-DESCRIPTION}

{WEBPAGE-NAME}

{WEBPAGE-URL}

Storefront > {CONTENT-SLIDESHOW}
<< {CHECKOUT-FIELD-VALUE} {CURRENCY-EXCHANGE-RATE} >>
{CONTENT-SLIDESHOW} Updated: 12/13/2012

This QuickCode Tag is used to display up to 5 different banner images in the form of a slideshow. The tag can be placed within any store template.

The tag can be used as-is to display a slideshow of content in your storefront, but it can also accept several parameters, which can be used to customize its appearance and behavior. The available parameters include:

animation
Controls how each slide loads on the page.
Possible values: fade, horizontal-slide, vertical-slide, horizontal-push
Default: horizontal-push


animationSpeed
Sets the how fast each slide performs its animation while loading.
Possible values: The number of microseconds.
Default: 800


timer
Determines whether a timer is displayed in the upper-right corner of the image.
Possible values: true, false
Default: true


advanceSpeed
If timer is set to "true", then this determines the amount of time between slides.
Possible values: The number of microseconds.
Default: 6000


pauseOnHover
Determines whether the slide advancement is pauses while the mouse pointer is over the current slide.
Possible values: true, false
Default: true


startClockOnMouseOut
If set to "true", then the countdown to advance to the next slide will restart when the mouse pointer is moved off the current slide.
Possible values: true, false
Default: true


startClockOnMouseOutAfter
If startClockOnMouseOut is set to "true", then this value sets the length of the delay before the countdown to the next slide restarts after the mouse if moved off the current slide.
Possible values: The number of microseconds.
Default: 250


directionalNav
Controls whether left and right buttons are displayed on the side of each slide.
Possible values: true, false
Default: true


bullets
If set to "true", then bullet navigation will be displayed below the slides.
Possible values: true, false
Default: true
Requirements / Prerequisites

When using parameters within the QuickCode Tag, the different values should be separated correctly.

Colons ( : ) should be used to separate the different options; such as animation and animationSpeed.

Equal signs ( = ) should be used to distinguish what the option's value is.

 

An example of their separation can be viewed below:

{CONTENT-SLIDESHOW:animationSpeed=1600:advanceSpeed=7000}

 

There are two different methods of passing parameters within the QuickCode Tag:

Name/Value Pairs
The preferred method is to use name/value pairs. In this approach, both the name of the parameter and its value are included in the QuickCode Tag. This allows you to set custom values for any number of the available parameters, in any order.

For example, to set custom values for just the "timer" and "pause on hover" options, the QuickCode Tag would look something like this when using name/value pairs:

{CONTENT-SLIDESHOW:pauseOnHover=false:timer=false}

Note that when using name/value pairs, the parameters may be included in any order, and unused parameters may be excluded.

 

Values Only
Optionally, just the values of the parameters may be included. This can make the QuickCode Tag shorter in some cases, however, when including only the values of each parameter they must be kept in order.

For example, to set custom values for just the "timer" and "pause on hover" options, the QuickCode Tag would look something like this when using just values:

{CONTENT-SLIDESHOW:horizontal-push:800:false:6000:false}

Note that when using only the values, all parameters from the first one through the last one you use must be present and in the correct order.

Example of Use

If you wanted your slideshow to have a fade animation, a 2 second time frame for your animation to load, and the speed between animations set at 7 seconds apart, the QuickCode Tag could be set up as follows:

{CONTENT-SLIDESHOW:animation=fade:animationSpeed=2000:advanceSpeed=7000}

Above example is using the "Name/Value Pairs" method.

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {CONTENT-SLIDESHOW} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map