Hello. Ive just made what I was looking for: an optional fullscreen, but, the site where Im implementing it has a Background Supersizer action, and now, it doesnt work. Can it be fixed in any way? The link is: http://www.i-tek.es/demo/screen/ and the full screen enter when you press the green button and finish when you press the red one.
I would try to solve one problem at a time. First, get rid of the SuperSizer, and just apply your background to the page as normal. In the Styles palette, create a new style with the Tag set to body and nothing in the Name field. Click the Extended button and add the following name/value pair:
Name: background-size
Value: cover
Then test your page. Ignore the fact that only modern browsers can see the background covering the window regardless of size. Make sure that your full screen effect works.
Now you can add a polyfill to cover older browsers. Apply the Protaculous Action to the page, and choose prototype-packed from the Library picker. Click the top Function Body button and paste in the following code:
That should get the rest of the browsers to sit up and bark. Note that the effect will not be a perfect match for background-size:cover – it’s a more simplistic “squash to fit” approach, in keeping with the low-tech browsers that require it.
Walter
On Dec 4, 2012, at 3:55 PM, rakeljuice wrote:
and another thing, it only works in Safari… any idea?
Hello Waltd!! Thanks a lot for your help. Background works with this method, not for epileptic people in Safari, because it flashes a lot, but it works. The Protaculous Action is magical, isnt it? Its is the second time you told me to use it to fix something…
Well, I have test without a freeway page, in a blank one, and both fullscreen methods work in Firefox and Safari (not in IE, but I think this one is a world apart…)
Hello Waltd!! Thanks a lot for your help. Background works with this method, not for epileptic people in Safari, because it flashes a lot, but it works.
This script should not fire in Safari, because it has the background-size property. Have a look at http://cmi.walterdavisstudio.com to see it in action. (Work in progress, not final art.)
The Protaculous Action is magical, isnt it? Its is the second time you told me to use it to fix something…
And works at the time with the full screen mode but only in Safari. In IE it doesn work, an in Firefox, it gives a blank page with the text: [object Object]. The full screen method I used is in here: https://github.com/kayahr/jquery-fullscreen-plugin
There’s your problem right there. You can’t mix Prototype and jQuery in the same page (you can, but it’s a very bad idea, like dripping nitric acid into glycerin in your kitchen while smoking).
Hello Waltd!! Thanks a lot for your help. Background works with this method, not for epileptic people in Safari, because it flashes a lot, but it works. The Protaculous Action is magical, isnt it? Its is the second time you told me to use it to fix something…
I did:
1st. start from a blank document
2nd. make the style for the background
3rd. use the sindresorhus files for the full screen in my page: copy inbody all what I need from his index, and put the .js in the server, and make the buttons
4th. Insert he vertical align action
5th. insert a rollover button
6th and I have no protacolus action used
by the moment, it works. I hope it will work when I will make a form…
Hello again. Now Ive added a carousel and it doesnt work. Ive readen in other recent post that JQuery is not compatible with carousel, but at last, my fullscreen is not JQuery…
Is any way to fix it, using the marvelous protacolous action, perhaps?
Link please? Your last link shows jQuery and screenful.js. Do you have a link to your working screen?
Walter
On Dec 5, 2012, at 12:27 PM, rakeljuice wrote:
Hello again. Now Ive added a carousel and it doesnt work. Ive readen in other recent post that JQuery is not compatible with carousel, but at last, my fullscreen is not JQuery…
Is any way to fix it, using the marvelous protacolous action, perhaps?
When publish first it says that action has javascript error, and lists all the pane and button carousel items. After, in the actions palette it says javascritp error, can clear the error but doesnt work. You publish again and it says that is up to you, but the carousel action is not being published. I can send you files if you want.
I doubt the error would duplicate here. Could you please try the following:
Make sure you have the very latest version of the Action. Check at ActionsForge. While you’re at it, make sure you also have the latest version of Freeway Pro.
Go through the entire document, and remove all Protaculous, Carousel, Carousel Pane, Carousel Tab and Carousel Button Actions – everything Carousel related – from every element in the entire document.
Publish once (you don’t have to upload, just publish – this clears the Action caches in the document itself).
Go back through the document and re-build one of the Carousel pages. Test to make sure it works before doing the rest.
Let me know how that goes. You can also test the basic Action by closing all documents, creating a new blank document, and building up a test page to be sure that the Action works on your Mac. It should, as long as you have the latest versions of everything.
Walter
On Dec 5, 2012, at 1:26 PM, rakeljuice wrote:
When publish first it says that action has javascript error, and lists all the pane and button carousel items. After, in the actions palette it says javascritp error, can clear the error but doesnt work. You publish again and it says that is up to you, but the carousel action is not being published. I can send you files if you want.
ok, my freeway is 5.5 and I downloaded and reinstalled the action. Althougt the action Protacolus it say is of August, when you download it the file says that is for 30 April, like the other I had.
Well, close, reinstalled and make a new blank site. Try carousel, and it works.
Go bak to my site, delete the page and make a new one, and when I export it says the same. The same line marked in red as at