Wednesday 15 May 2013

javascript - Fade from #7495BA to #67C65D when page opens -


I need some scripts which currently enables all the CSSs using # 7495BA in any element # When the page loads to 67C65D. Only one change, on the request of the page, between hover or click, is not in any kind of attack, nor fading, start with blue and then fade in green color

The principle behind this is that a re-recognizable format of the site will still be there, but as this particular page is not indexed, changes in colors should be seen unusually as normal. I think in my thoughts but there is no information about how to make it!

Please help!

It should work for background color:

  $ ( Document) .ready (function () {$ ('body *'). Each (function () {color = 'RGB (116, 14, 186)'; if ($ (this). CSS ('background-color ') == color) {$ (this). Value ({backgroundColor:' # 67C65D '}, 2000);}});});   

HTML: & lt; Body & gt; & Lt; Div id = "header" & gt; SSS & lt; / Div & gt; & Lt; Div id = "content" & gt; Ddd & lt; / Div & gt; & Lt; Div id = "footer" & gt; Fffff & lt; / Div & gt; & Lt; / Body & gt;

CSS: #header {background-color: # 7495BA; Height: 50px; Width: 100%; } # Content {width: 100%; Height: 300px; Background color: red; } #footer {width: 100%; Height: 50px; Background color: # 7495BA; Of course, you will need this plugin:

Edit 2:

No comments:

Post a Comment