hackalive Posted April 23, 2011 Share Posted April 23, 2011 Hi guys, so I have some javascript which changes the document body background image on click, now I want this to happen as a fade so it fades from one to another. Any ideas? Cheers in advance. Quote Link to comment https://forums.phpfreaks.com/topic/234501-fade-background-image/ Share on other sites More sharing options...
spiderwell Posted April 23, 2011 Share Posted April 23, 2011 jquery can more than likely do it! Quote Link to comment https://forums.phpfreaks.com/topic/234501-fade-background-image/#findComment-1205179 Share on other sites More sharing options...
hackalive Posted April 24, 2011 Author Share Posted April 24, 2011 how? Quote Link to comment https://forums.phpfreaks.com/topic/234501-fade-background-image/#findComment-1205520 Share on other sites More sharing options...
tomfmason Posted April 24, 2011 Share Posted April 24, 2011 I could be mistaken but I don't think you can fade the background image itself. You would have to create a temp element(div etc) absolutely positioned behind everything else and fade it. Quote Link to comment https://forums.phpfreaks.com/topic/234501-fade-background-image/#findComment-1205590 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.