Hi,
I try to install 2 scripts for a resizing browser background image.
The needed jquery doesn't seem to work on my drupal site, some functions fall away.
The jquery's are named: jquery-1.3.2.min.js and jquery.fullscreenr.js
I called the jquery's in my .info file but when they become active they just don't seem to do what was intended and break the rest.
I have jQuery Update installed but nothing helps.
Did I miss something or does the implementing of these jquery plugins does not always work and can it cause problems?
Does somebody knows a solution for this?
With friendly regards, Johan

Comments

Greg Adams’s picture

I am using fullscreen background for quite some Drupalsites.
like many jQuery plugins these will not work i the standard Drupal method, so we need a workaround to get it to work.

For this site I managed to make an admin panel so the user can choose the backgrounds and even a slideshow per page
http://fatih-sahanoglu.com

If anybody needs this you can just ask me and I will post a how to.

This is a really old post, so I guess I'll just wait and see if this is even needed by anyone right now....

timbraeckman’s picture

Yes please. Would be great!

johan2’s picture

Hi,
I also used the fullscreen plugin for a site, but just to have a general background.
I see you used different backgrounds for different pages, probably using different page.tpl's .
I remember this needed some work. If you could share your solution it would be great.
Concerning the dynamic-background module, this is interesting since it was very easy to apply a background. The only feature I am missing is the possibility to change it by 'Role' instead of 'User'.
I don't know if this would be possible, starting with this module?

Greg Adams’s picture

I am using the "supersized" plugin for my websites.
it is the best background slideshow I've found so far.
Yes I am using different backgrounds per page depending on the url. This can be done by different page.tpl or by a script that dynamically changes the root and settings.
This was my first approach, so it's definitely not perfect.
I can make a subtheme for this example when I find the time.
I need a base Drupal7 theme for this anyhow.

MorganG’s picture

Where do i put the supersized plugin/folder?

Greg Adams’s picture

Are you using D6 or D7 ???

MorganG’s picture

D7

MorganG’s picture

D7

Greg Adams’s picture

I am currently writing a theme to integrate a fullscreen background with "supersized"

You can see a demo of it here: http://testing.pixelass.com/

The theme is still pretty empty, but the background is already integrated.

The way this works is:
- Example:
- - You have a folder /sites/default/files/background
- - All images with the suffix .jpg will be displayed as a slideshow

I could start a sandbox for this, so you can try it.
I will also write a module for this. But that's gonna take a little longer

MorganG’s picture

A sandbox would be great, thanks . A module would be even greater ;)
Thanks!

Greg Adams’s picture

Integrating the scripts for this is really easy. You can just add them in your THEME.info file.
Then you need the init script in the HEAD-section of your HTML.

Script examples can be found on: http://buildinternet.com/project/supersized/

Writing a simple module to integrate the scripts should only take about 30 minutes, so I guess I could start a sandbox for a module too.
Yet, I am currently working on another module with a much higher priority, since I use it a lot more often than the background.

A fully dynamic module with options will take a little longer though.

Just tell me which you prefer and I can sandbox the theme or module on the weekend.

zibretni’s picture

Is there already a module for it?

Greg Adams’s picture

working on it.... I'll try to sandbox it within the next weeks..

brodiebrodie’s picture

HI,
it would be great to have some more info on this, I have tried adding the js to my info file and the init to the head (in html.tpl). I am using omega theme but I cannot get it to work.
regards

Brodie