A fallback is a design pattern useful in situations, when certain advanced functionality may be used only if certain conditions are met. If the conditions cannot be fulfilled, algorithm reverts to the so-called fallback function, which achieves the goal using less sophisticated methods.
Questions tagged [fallback]
508 questions
0
votes
1 answer
Fallback for CSS background image transition
I'm using CSS transitions for the background-image property, though from what I can gather they are only supported by Chrome and Webkit (it doesn't seem to work in Safari 5.1.7). I really don't want to use jQuery for the transition since its only…

Bobe
- 2,040
- 8
- 29
- 49
0
votes
1 answer
Switch off I18n/Globalize3 fallbacks per Rails model basis
Is it possible to switch off I18n/Globalize3 fallbacks per Rails model basis? I.e. some models use fallback, some don't.

user789909
- 1
- 1
0
votes
2 answers
Fallback to a solid color if texture cannot be loaded
My current renderer draws forms by the position and color of their vertices. It can't handle textures yet.
struct Form
{
unsigned int Positions, Colors, Elements, Program;
};
Now I want to implement the capability of textures. Since there won't…

danijar
- 32,406
- 45
- 166
- 297
0
votes
1 answer
How to fallback in a table?
I'm making a registration page in HTML. I'm using placeholder for inputs, but I am aware that some major browsers (IE <9, Firefox <3.7, Chrome/Safari <4.0) don't support this HTML5 feature.
My favourite way to fallback for placeholder is this code,…

Giulio Muscarello
- 1,312
- 2
- 12
- 33
0
votes
2 answers
jquery determine if css zoom is available in browser
$(button).click(function(){
if (Modernizr.zoom()) $('body').animate({ zoom: '200%'; }, 1000);
else $('body').alternative();
});
As you can see above … I want to zoom in into my page on click.
By the way: Is it good to use 'zoom' (css)? I'm…

John Doe Smith
- 1,623
- 4
- 24
- 39
0
votes
1 answer
fallback solution without javascript
Bootstrap has its own javascript version of checkboxes, radio buttons, collapse etc.
Example radio buttons:
0
votes
2 answers
Deprecated code in iOS 6 fallback to iOS 5
I have this custom back button:
- (IBAction)backToMenu:(id)sender {
[self.presentingViewController dismissModalViewControllerAnimated:YES];
}
Testing my app in the iOS 6 simulator says dismissModalViewControllerAnimated is deprecated, and I must…

roymckrank
- 689
- 3
- 12
- 27
0
votes
1 answer
Automatic fallback to jquery when css3 transition is not available (internet explorer)
Is there a library (or jquery extension) that provides automatic fallback to jquery when no css3 is available (as in internet explorer 9 for example) ?

Nick Russler
- 4,608
- 6
- 51
- 88
0
votes
1 answer
jPlayer: not loading jPlayer.swf on Firefox
I built the website http://www.ordinarypeopleofficial.com using WordPress and the theme "Gleam" from the suite Elegant Themes. This theme is very complex. It heavily uses JavaScript. It has a 700 code lines long file called custom.js, which manages…

Alberto Fontana
- 928
- 1
- 14
- 35
0
votes
1 answer
Issues with animation in IE9. Need a jquery fallback
I'm having an issue getting this animation to work in IE9.
https://c9.io/aaronkahlhamer/notification-bar/workspace/index.html
This -ms-animation: slideDown 2.5s 1.0s 1 ease forwards; is not working in IE9.
@-webkit-keyframes slideDown {
0%,…
user1552119
0
votes
1 answer
Firefox and HTML5 video element – weird behaviour with flash fallback. Possible bugs in mediaelemnts.js
I'm working on embedding video to a web-page and am using mediaelements.js. I used following code from the mediaelements.js examples:

TimG
- 985
- 3
- 14
- 24
0
votes
1 answer
Embed swf with jquery fallback
I am not very clued up about HTML5 or Jquery, and therefore I need help with the following:
I want to embed a swf in my html, but if users view the site on iOS, I need it to fallback to Jquery. I can't seem to find anything online, as most of people…

imieliei
- 19
- 5
0
votes
1 answer
Css fallback when JavaScript is disabled
With jQuery Mobile, I use this snippet to call libaries...