Photoshop Contest PhotoshopContest.com
Creative Contests. Real Prizes. Essential Resource.
You are not logged in. Log in or Register

 


Photoshop Contest Forum Index - General Discussion - Help with Javascript - Reply to topic

wolf_man

Location: Framingham/Boston, MA

Post Fri Aug 05, 2005 12:18 pm   Reply with quote         


if anyone is good with javascript maybe you can help me.

Im not sure if/how this can be done with Javascript or not, but I have a page where a Javascript prompt pops up and asks for the visitors name (which then becomes a varible, so on the site it says "welcome visitorsname").
is there a way for me to save a list of the visitors names, so that there can be a list which says:

people who have visited this site:
visitorname1
visitorname2
ect...

but also, I need it so the list omits entries that are blank (if someone dosent enter their name).

any help that could step me in the right direction would be great.




_________________
I like to Laugh at my own jokes.


splodge

Location: Yorkshire,

Post Fri Aug 05, 2005 3:36 pm   Reply with quote         


try downloading a free guest book
http://www.bravenet.com/webtools/




_________________


Hallcross Toots
wolf_man

Location: Framingham/Boston, MA

Post Fri Aug 05, 2005 4:16 pm   Reply with quote         


I already have a guestbook, but thats not what I'm looking for.

on my website, I have a contract for people to sign.

when they go to the page, a javascript prompt pops up asking for thier name.

Then the document loads, and the contract text, has their name throughout it's body.

What Im looking to do is create a list on the bottom of the page that says

"other people who have signed the contract:"

and then list the names of the people who have signed it, not create entries like in a guestbook.




_________________
I like to Laugh at my own jokes.


neutura

Location: just below your waist

Post Fri Aug 05, 2005 6:45 pm   Reply with quote         


javascript is a hairy business...yikes




sage

Location: Hudson, Canada

Post Fri Aug 05, 2005 6:54 pm   Reply with quote         


Do you want the algorithm or the actual coding? I don't know the language, but I might be able to come up with some sort of algorithm. I f you know the language, you can adapt it.




_________________
"Life is what happens to you while you are busy making other plans." John Lennon

Post Fri Aug 05, 2005 7:10 pm   Reply with quote         


Don't bother with java script.
have a cup of java coffee instead.




wolf_man

Location: Framingham/Boston, MA

Post Fri Aug 05, 2005 8:50 pm   Reply with quote         


sage,

mind showing me the algorithum you come up with, I can work with the code.

I just need an idea of how to do things




_________________
I like to Laugh at my own jokes.


sage

Location: Hudson, Canada

Post Fri Aug 05, 2005 8:58 pm   Reply with quote         


Shit, I was just bluffing. Confused

OK, give me a couple of days, I'll PM it to you.




_________________
"Life is what happens to you while you are busy making other plans." John Lennon

Patre

Location: Glendale, Az.

Post Fri Aug 05, 2005 9:28 pm   Reply with quote         


See below




Patre

Location: Glendale, Az.

Post Fri Aug 05, 2005 9:30 pm   Reply with quote         


My son who is a computer programmer says:
Use JSP or ASP or whatever language you choose to read from and write to a database that stores the names of the guests who have signed the book. The database can be anything-for example, it can be a flat file, CSV, or RDBMS(such as Oracle, Mysql etc..
Hope this helps..
Smile




wolf_man

Location: Framingham/Boston, MA

Post Fri Aug 05, 2005 9:31 pm   Reply with quote         


thanks for the input from your son Patre

I know very very little of server coding (ASP, PHP, Coldfusion, ect)

so I have alot of reeading and research to do. lol.




_________________
I like to Laugh at my own jokes.


Photoshop Contest Forum Index - General Discussion - Help with Javascript - Reply to topic

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Navigate PSC
Contests open  completed  winners  prizes  events  rules  rss 
Galleries votes  authentic  skillful  funny  creative  theme  winners 
Interact register  log in/out  forum  chat  user lookup  contact 
Stats monthly leaders  hall of fame  record holders 
PSC advantage  news (rss)  faq  about  links  contact  home 
Help faq  search  new users  tutorials  contact  password 

Adobe, the Adobe logo, Adobe Photoshop, Creative Suite and Illustrator are registered trademarks of Adobe Systems Incorporated.
Text and images copyright © 2000-2006 Photoshop Contest. All rights reserved.
A venture of ExpertRating.com