I suggest to turn the images back to auto, and then get the image values, then set them back to 100% $('img'). Each(function(){ var self = $(this); self.hide() // fading, you choose . Css({'width':'auto', 'height':'auto'}) // set them to auto.. Data('width', self.width()) // Now you can get the real size .
Data('height', self.height()) // And store it as jQuery data in the image.. Css({'width':'100%', 'height':'100%'}) // Back to 100% .show(); // Show them. }) or, other way $('img').hide(). Css({'width':'auto', 'height':'auto'}) .
Each(function(){ var self = $(this); self. Data('width', self.width()) . Data('height', self.height()); }) .
Css({'width':'100%', 'height':'100%'}).show() Or no need to hide them, since probably the change is too fast, but you might need to do some adjustments to your logic, so that the user doesn't see a blink, during the first load either way, pick your poison.
I suggest to turn the images back to auto, and then get the image values, then set them back to 100%. $('img'). Each(function(){ var self = $(this); self.hide() // fading, you choose .
Css({'width':'auto', 'height':'auto'}) // set them to auto. . Data('width', self.width()) // Now you can get the real size .
Data('height', self.height()) // And store it as jQuery data in the image. . Css({'width':'100%', 'height':'100%'}) // Back to 100% .show(); // Show them.
}); or, other way $('img').hide(). Css({'width':'auto', 'height':'auto'}) . Each(function(){ var self = $(this); self.
Data('width', self.width()) . Data('height', self.height()); }) . Css({'width':'100%', 'height':'100%'}).show(); Or no need to hide them, since probably the change is too fast, but you might need to do some adjustments to your logic, so that the user doesn't see a blink, during the first load.
Either way, pick your poison.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.