Marco's parallax background scroller for Joomla!

Parallax background scrollerThis is a nice background scrolling effect with a simulation of a pseudo parallax effect. You can insert one or more image in your articles and define an horizontal stripe (view port) to see the images as they was really a landscape through a window. See this plugin in action!

A plugin for parallax background scrolling in Joomla!

 

Features

  • Easy to use and configure
  • CSS3 and responsive
  • plugin works on J2.5 and J3.x sites;

This extension is also published on http://extensions.joomla.org, if you like, it vote it or write a review, thank you. 

Kwown bugs

Does not works on all IOS devices.

Does not works on some Android devices (works on FF, but not on default Android 2.x browser or Dolphin).

 

This is not a bug, really, it's the not compliant support for CSS3  in these devices.

 

 

{marcoparallaxbground height="280" image="marco-parallax-fezzano.jpg" caption="Fezzano bay in a sunny day"}

Fezzano bay in a sunny day

the joomla logo Plugin Configuration

Simply download the plugin, install it and activate it:

  • Default image path
    Insert default image path, from site root, for relative path in image name. Starting and trailing slashes are required;
  • Default image
    Insert the default image name. You can use relative/absolute path or full URL of background image (see later);
  • Image Caption
    Enter text for the default image caption (if any);
  • Height of image
    Height of image on background. image should be almost 2 times the viewport;
  • Load css
    load default css styles;
  • css ID for container
    Set a css ID; left blank for auto ID;
  • Additional css styles
    Insert css rules for plugins (Load css must be enabled );

 

You can use the Additional css styles text area to insert specific css instruction for the pages with the scroll effect. now I used:

body{ overflow-x: hidden; }
aside{ position: relative; z-index: 10; }
.mmlImageInfoWrap{ text-align: right; padding: 5px; }

to avoid the horizontal scroll bar due the image and to let the menu float over image and for padding caption.

 

{marcoparallaxbground image="marco-parallax-laral.jpg"}

 

Plugin Parameters

Of course there is the remote possibility that you do not want the same image on each page. This is the reason why you can insert the plugin and specify the parameters:

Note: emphasis <em> in plugin code example is only to avoid plugin activation, you have to insert it as standard plain text!

Use: {marcoparallaxbground image="" caption="" height="" cssid=""}

  • image
    Insert the default image name. You can use relative/absolute path or full URL of background image.
    • if Image name strats with 'http' it is supposed to be an URL;
    • if Image name strats with '/' it is supposed to be an absolute path from site root;
    • otherwise it is supposed to be a relative path from the 'Default image path';
  • caption
    Enter text for the image caption;
  • height
    Height of image on background. image should be almost 2 times the viewport;
  • cssid
    css ID for container if you need a site unique css id, left blank for auto ID.

All attributes override are optional.

Download J2.5 and J3.x version

This extension is also published on http://extensions.joomla.org, if you like, it vote it or write a review, thank you. 

Commenti   

0 #23 juan 2014-12-04 18:00
Citazione juan:
Hi, is there any way to make the background responsive? everything works great but on a mobile the image looks too big...!


I think I got it, but if you can clean it up and explain to me how it worked, I´ll forever thank you...
added this to the additional CSS styles option:
in case the code is cleaned:

codepen.io/anon/pen/sGvxe

===Answer
You should not use this plugin on mobile layout (hide it), anyway you can resize the viewport by using media queries.

ps: I don't understand your code, that is only a page background...

bye,
marco
Citazione
0 #22 juan 2014-12-04 16:59
Hi, is there any way to make the background responsive? everything works great but on a mobile the image looks too big, doesn't stretch as it does when you shrink the window on a PC.


thanks for a great plugin!
Citazione
0 #21 Tiago 2014-12-04 12:07
Citazione Tiago:
Citazione Tiago:
hi
thx for plugin but im use
{marcoparallaxb ground image="teste.jpg" caption="" height="200" cssid=""} does not show the image, but a black stripe
prepare content is on

use jJoomla! 3.3.6 Stable

===Answer
Hi Tiago,
usually a black stripe is a wrong path to image: check it, and check also css.

bye,
marco


thank your tip worked 100% problem in css
Citazione
0 #20 Tiago 2014-12-03 13:59
Citazione Tiago:
hi
thx for plugin but im use
{marcoparallaxb ground image="teste.jpg" caption="" height="200" cssid=""} does not show the image, but a black stripe
prepare content is on

use jJoomla! 3.3.6 Stable

===Answer
Hi Tiago,
usually a black stripe is a wrong path to image: check it, and check also css.

bye,
marco
Citazione
0 #19 Tiago 2014-12-03 13:57
hi
thx for plugin but im use
{marcoparallaxb ground image="teste.jp g" caption="" height="200" cssid=""} does not show the image, but a black stripe
prepare content is on
Citazione
0 #18 Sal 2014-12-02 02:22
====Reply

That was my first though as well; however, shrinking the file down further didn't help the issue. :(

===Answer
Hi Sal,
it's difficult to understand what's going wrong on an unknown system!
. too many files per page (css, js, images)?
. troubles with network?
. gremlins?
try to inspect communications between browser and server (you can also use a browser's tool)

bye,
marco
Citazione
0 #17 Sal 2014-11-30 17:35
I'm having a minor issue with your plugin. It would seem that is a slight delay in loading the background image. Can't figure out why....any help would be appreciated.

===Answer
Hi Sal,
I suppose you are using an image too large: try to optimize it!

bye,
marco
Citazione
0 #16 Vero 2014-11-24 19:43
Hi,
{marcoparallaxb ground image="images/f ruits_10517173_ small.jpg" caption="" height="280" cssid=""}

I'm using Joomlla 2.5 with an html module. I can't make this work fine. When I see the web page I don't see any image, but just the code in its place.
Can you help me?

====Answer
Hi Vero,
I suppose you forgot to enable plugin processing (Prepare Content) in html module.

bye,
marco
Citazione
+1 #15 catherine 2014-11-22 08:42
Hi Marco, it's me again :-)
As you can see on the website I've changed the dimensions of my pictures and now, it's great. Thx for your advise. I have another question. It looks great but it doesn't work on my iphone6. I know that you've mentioned but is there a workaround so that you can see the images without scrolling view? It's so pity that it doens't work because there are a lot of people who's a IOS iphone. Thanks in advance, Catherine

====Answer

Hi Catherine,
someone, like you, thinks we should find some workaround to make ios devices working.
I don't subscribe to this point of view: apple have to fix his buggy css implementation.
but standards are standards, microsoft understood it, now it's time for apple...

bye,
marco
Citazione
0 #14 Herman 2014-11-19 09:52
Hi Marco, I cant get this to work, i used your code and pasted it it below, can you please see if it is ok?

{marcoparallaxbground image="http://w ww.lanocare.co. za/images/bg1.j pg"}
Citazione

Aggiungi commento

Please note: URL in text are not linked and user's site address is only for internal use and is not published.

Comments are human checked. All spam will be removed, so don't waste your time and, especially, mine!

Codice di sicurezza
Aggiorna

L'estate si avvicina hai già trovato l'albergo per le vacanze? cerca un albergo al mare o un hotel in montagna ove trascorrere le tue vacanze.