Jump to content

module for sidebar


Recommended Posts

Hello good morning,

 

i don't know how to explain exactly but what i am looking for a module which can put sidebars like this in this image attached..

 

it seems very nice idea.. if we can change those sidebars everytime and it looks fresh..

 

in advance thanks for sharing your replies..

post-294045-0-78023700-1320316646_thumb.png

Link to comment
Share on other sites

It's not a sidebar, it's a background, by seach button you can find a free module to change background image, need "only" someone that can make it for random images or by refresh page...or modify yourself your theme with random background images of your choice, it's possible.

 

xcuse my "frenchy" english :rolleyes:

Link to comment
Share on other sites

For random background you can put this lines in "global.css"

.fond1 { background: #000000 url('../img/01.jpg') no-repeat fixed top left; }

.fond2 { background: #000000 url('../img/02.jpg') no-repeat fixed top left; }

.fond3 { background: #000000 url('../img/03.jpg') no-repeat fixed top left; }

.fond4 { background: #000000 url('../img/04.jpg') no-repeat fixed top left; }

where "fixed" is at your choice, put images into /img

 

this lines in "header.tpl" juste after

{$HOOK_HEADER}

</head>

<script type="text/javascript">

var fondListe=['1','2','3','4'];

document.write('<body class="fond' + fondListe[Math.floor(Math.random()*fondListe.length)] +'"{if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>');

</script>

 

Images will be different at all refresh of your pages

 

Enjoy !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...