Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Greg Adams CreditAttribution: Greg Adams commentedI 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....
Comment #2
timbraeckman CreditAttribution: timbraeckman commentedYes please. Would be great!
Comment #3
johan2 CreditAttribution: johan2 commentedHi,
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?
Comment #4
Greg Adams CreditAttribution: Greg Adams commentedI 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.
Comment #5
MorganG CreditAttribution: MorganG commentedWhere do i put the supersized plugin/folder?
Comment #6
Greg Adams CreditAttribution: Greg Adams commentedAre you using D6 or D7 ???
Comment #7
MorganG CreditAttribution: MorganG commentedD7
Comment #8
MorganG CreditAttribution: MorganG commentedD7
Comment #9
Greg Adams CreditAttribution: Greg Adams commentedI 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
Comment #10
MorganG CreditAttribution: MorganG commentedA sandbox would be great, thanks . A module would be even greater ;)
Thanks!
Comment #11
Greg Adams CreditAttribution: Greg Adams commentedIntegrating 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.
Comment #12
zibretni CreditAttribution: zibretni commentedIs there already a module for it?
Comment #13
Greg Adams CreditAttribution: Greg Adams commentedworking on it.... I'll try to sandbox it within the next weeks..
Comment #14
brodiebrodie CreditAttribution: brodiebrodie commentedHI,
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