Hello,
I have a little complicated form that I need help with. Its basically just the javascript part of it.
Ok, I have an image that uses image maps.
In the image it says
FLASH // HTML
so you can either visit the flash or html version of the site.
That I have working. What I want to do is offer a little remember me cookie so the next time the person visits, he/she don't have to choose.
you can take a look at it at markhadjar.com
In the image maps, I am using
onClick="document.form.submit()"
How can I get it to work?
Also, when you click on the link, there is a php script inside the /go/ directory that redirects the user to either flash or html.
So basically its /go/?flash or /go/?html
the /go/index.php file basically redirects the user to what he/she chose. It will also add the cookie if the user wants too.
the markhadjar.com/index file will check to see if there is a cookie, if not, it will show the regular welcome page, if there is a cookie, it will take them directly to the flash or html page.
Can someone give me an idea or help me with the coding..
Thanks!
I need to know what the visitor clicked on too!
So I can store either "flash" or "html" in the cookie!