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. 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! 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? 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. Link to comment https://forums.phpfreaks.com/topic/234501-fade-background-image/#findComment-1205590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.