Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
script to click an image and enter site
Old 07-03-2009, 10:57 AM script to click an image and enter site
Junior Talker

Posts: 1
Name: Bobbie
Trades: 0
Alright. To be fair, I'm not sure what kind of script I'm looking for. I'm helping a friend make a website. Unfortunately, I'm only familiar with the basics of HTML. I'm trying to learn more!

What he wants is a setup where he can have an image on the homepage. He wants visitors to click that image to enter the site. However, it's not quite that simple. He wants some sort of animation when people click the image. He'd like it to dissolve or something of that sort before taking visitors to the website.

Does anyone know how to do this?

Thanks for your help!
ladydisdain886 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-03-2009, 11:14 AM Re: script to click an image and enter site
johniman7's Avatar
President, JLI Media

Posts: 965
Name: John Irving
Trades: 0
I would say a javascript would work best.

It would load two images, the stationary image and the animation, and show the stationary image as a link. The link would trigger an onclick action that would change the stationary image with the animation. Also onclick would be a timer for the duration of the animation, after which it would transfer the user to the main page.

For someone who knows javascript well, it shouldn't take long at all to do, you can probably find this in google somewhere. (I don't know javascript, or I would have wrote it)
__________________
Cheers, John Irving: My Blog
JLI Media:
Please login or register to view this content. Registration is FREE
| Website Development (Link Coming Soon!)
johniman7 is offline
Reply With Quote
View Public Profile Visit johniman7's homepage!
 
Old 07-03-2009, 07:49 PM Re: script to click an image and enter site
hairygunther's Avatar
Extreme Talker

Posts: 164
Trades: 0
No way, don't do it. I hate to disrespect other programmers, but NO! Don't use javascript.

Use the one true language which is GOOD AT DISSOLVING stuff and other cool effects, and don't mess with timings and changing pages and images in sync, no no no - risks, bad risks, lots of people will see it out of sync, it will be awful, patchy, amateur.

USE JAVA. Yes, java, not javascript, but java. Go here:

sun.java.com

and have a gander. Look up "java applets" and "dissolve" and other stuff, and just teach yourself enough java to do what you say - it really requires very little java effort to make that happen. Ain't no WAY you should use javascript or anything at all but java for this job. No animated gifs, no flash animations, nothing silly, just use plain old common sense java applets.
__________________
I acknowledge Parker out of Thunderbirds and Glaxo Industries.
hairygunther is offline
Reply With Quote
View Public Profile
 
Old 07-03-2009, 10:30 PM Re: script to click an image and enter site
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Java Applets or DHTML, but I agree JAVA is good, or you can try server side scripting, but I think it will be too much for you too handle for now.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 07-04-2009, 07:10 AM Re: script to click an image and enter site
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
If you must force people to click an image just to get where they wanted to be in the first place then I'd suggest using Flash. It's relatively easy to build in a "delay" on click, in reality the click would simply play a different section of the movie (your dissolve effect) before auto forwarding.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 07-04-2009, 11:41 AM Re: script to click an image and enter site
Novice Talker

Posts: 7
Name: Amy Connor
Location: New York, New York
Trades: 0
I would go with flash. You can get free templates. Check this out:
http://www.flashfair.com/
Download and edit in Adobe Flash.
__________________
"Those who deny freedom to others deserve it not for themselves"
"Look for
Please login or register to view this content. Registration is FREE
or
Please login or register to view this content. Registration is FREE
in divorce courts - hey, you never know."
amyconnor is offline
Reply With Quote
View Public Profile Visit amyconnor's homepage!
 
Reply     « Reply to script to click an image and enter site
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41682 seconds with 12 queries