December 10, 201213 yr Hi, I'm new to this website.. I'm creating a website for a client and need an animation to make it look like the website is "opening" (like a shutter) on first load. Preferably so it happens every 2 hours (i.e. if the user goes away and comes back.. it'll happen again). Anybody got any ideas on how I can do this? Really appreciate it! Cheers, Tom
December 10, 201213 yr Author Just to mention: I'm creating the website on Joomla and have already got a working website without this effect (but the effect was part of the quote that I made). Cheers, Tom
December 10, 201213 yr Just make a cookie , which expires after two hours, if the cookie isn't set show the effect and set the cookie. Léon
December 10, 201213 yr Author Yeah, I thought as much. Thank you. Do you have any example code, know where I can put it, and what method I should use for the animation? I don't want to use flash. I've never done this "first time cookie" thing before, sorry. Cheers, Tom
December 10, 201213 yr Yeah, I thought as much. Thank you. Do you have any example code, know where I can put it, and what method I should use for the animation? I don't want to use flash. I've never done this "first time cookie" thing before, sorry. Cheers, Tom Making a cookie isn't that hard with Javascript this should get you started. If you are familiar with Javascript the shutter effect will not be a problem, if you aren't you might want to take a look at jQuery. It's a framework with nice methods like ".animate()" which will make it easier for you to create the effect. Hope it helps, Léon
December 10, 201213 yr Author You're a legend Léon! My problem is, this all seems too much to do before tomorrow. How open are you to writing script that says "if cookie does not exist, play animation" and telling me where to put it, and also telling me the Java for two black divs opening from the center upwards and downwards? I'll keep your email for future work and may have some paid work for you at sometime soon. Cheers Léon
December 11, 201213 yr You're a legend Léon! My problem is, this all seems too much to do before tomorrow. How open are you to writing script that says "if cookie does not exist, play animation" and telling me where to put it, and also telling me the Java for two black divs opening from the center upwards and downwards? I'll keep your email for future work and may have some paid work for you at sometime soon. Cheers Léon Well, I never worked with Java before ... ( Or do you mean Java as shorthand for Javascript ? ) But I maked a little demo in Javascript , tell me if this is what you're searching for, if it is, you can check out the source code. And you can always email me if you have some work for me Léon Edited December 11, 201213 yr by Leonvv
Create an account or sign in to comment