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.

JavaScript Forum


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



Closed Thread
Javascript Rating System
Old 01-08-2007, 10:56 PM Javascript Rating System
Average Talker

Posts: 26
Trades: 0
I did some research and I think what I am looking for can be accomplished with Javascript, which I am pretty foreign to - so any help would be greatly appreciated.

Pretty simple I just want to create a little form in which users will be able to "rate" articles on my site 1-10 (options 1-10 would be in a drop down box). User choses what they rate the article as, click submit. Just below it I am hoping to have it be something like "Average 8.9 out of 55 votes" for example.

Can someone help?
daholl is offline
View Public Profile
 
 
Register now for full access!
Old 01-09-2007, 02:03 AM Re: Javascript Rating System
vn5ltr's Avatar
Skilled Talker

Posts: 93
Location: Melbourne, Australia
Trades: 0
You ARE using a database right...?
vn5ltr is offline
View Public Profile
 
Old 01-09-2007, 03:10 PM Re: Javascript Rating System
Oneway's Avatar
Skilled Talker

Posts: 71
Trades: 0
Dahol, you can't use javascript alone to accomplish this task, because javascript doesn't have any means of storing collected data (the votes) at a central point.

PHP would be a better choice, as this runs server side where you CAN store all the votes.

You can use javascript in combination with PHP to let users submit their votes without having to reload the page. This technology is called AJAX and a google search will give you plenty of tutorials and documentation.
Oneway is offline
View Public Profile
 
Old 02-13-2007, 12:24 AM Re: Javascript Rating System
Junior Talker

Posts: 2
Trades: 0
you might want to take a look at http://fameter.zoopin.com. It is a javascript based rating system that allows visitors to rate webpages. You have some control over how the rating scale is displayed.
utopiafornow is offline
View Public Profile
 
Old 02-17-2007, 06:56 PM Re: Javascript Rating System
Novice Talker

Posts: 11
Name: Matthew Bagley
Trades: 0
To achieve what you are asking for it is best to use a Database to store the ratings, so by using the power of Javascript, PHP and MySQL you can easily achieve what you are looking for.

Javascript would be used to check the form for errors before posting
PHP would handle the form and insert the information into the database
MySQL is the database engine used to store the information
__________________
Matthew Bagley
Paramiliar Design Studios

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
neomaximus2h is offline
View Public Profile Visit neomaximus2h's homepage!
 
Closed Thread     « Reply to Javascript Rating System
 

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.14800 seconds with 12 queries