SkinPreviewBox - Preview style Print

  • 0

In-class Shop. Displays a link to preview the visual style, open Style from the gallery inside the Administration Panel.

The parameters in the JS

Because the class is assigned to together with the Shop, all parameters must be set before the domready event or the latest features conditional Shop.skinPreviewBox.condition()

Parameters Shop.skinPreviewBox.options :

  • a_class (string) - the link given to the class, the default spanhover
  • div_class (string) - class attributed to the container, by default, skinpreview
  • img_src (string) - address for <img> located inside the link

The Phrase:

  • Shop.lang.skinpreview.close - content in <span> inside link

Action

A Link should be created only if there is a Cookie skinpreview. Control shall be carried out no later than Shop.skinPreviewBox.condition ()

Div is the event mouse enter and mouse leave amending its degree of transparency between 30% and 80%.

Link receives an event onClick, that removes the Cookie skinpreview, and then reload the page.


Was this answer helpful?

« Back