Current location: Hot Scripts Forums » Programming Languages » PHP » Looking for free poll script with drop-down menu!


Looking for free poll script with drop-down menu!

Reply
  #1 (permalink)  
Old 07-27-03, 08:20 AM
filson filson is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Looking for free poll script with drop-down menu!

I have now been looking for ages after a poll with drop-down menu. Seems to me, that it should be the easyest one to make.

However the only ones lying around is with buttons, and I won't have my poll taking up so much space on my website.

I now use a free web poll that has drop-down menu, but I would like to have it on my own server. Love being in controll .


Please oh please help me, if you know any poll script's with drop-down menu.

I would like it if it didn't use a database, but txt or anything else simple.

Have you ever found any.......

Thank you

filson
Reply With Quote
  #2 (permalink)  
Old 07-27-03, 09:45 PM
Pineapple Pineapple is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
filson,

Virtually any existing Poll script can be modified to use a drop-down menu. What you will need to look into is creating some simple JavaScript to automatically submit the form when something is selected from the drop-down menu (rather than waiting for the Submit button to be pressed). Check the JavaScript forum here on HotScripts, you should be able to get more information there.
__________________

Pineapple Technologies :: http://www.pineappletechnologies.com

Lore - a powerful knowledge base management system which uses PHP, MySQL, and Smarty templates.

QuizShock - an advanced quiz management system using PHP, MySQL, and Flash.
Reply With Quote
  #3 (permalink)  
Old 07-28-03, 04:19 AM
filson filson is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I know ;)

Well I have found some poll scripts and I have a drop-down menu script in Java. But I have no idea how to put it in a poll script made for PHP

I don't even know what to look for in the poll script, I mean what does those buttons look like in code, that I want to change to drop-down menu ?

see my site www.snowflake.dk

I would like a poll script just like this one, only I would have the script on my site and not as a web service.





Drop-down Menu

<html>
<head>
<title>Select and Go</title>
<script language="JavaScript">
<!--
function openDir(form) {
window.location =(form.dir.options[form.dir.selected Index].value);
}
// -->
</script>
</head>
<body>
<form name="myform">
<div align="center"><p><select name="dir" size="1">
<option value="">Choose a Site</option>
<option value="http://www.yahoo.com/">Yahoo!
<option value="http://www.excite.com/">Excite
</select><input type="button" name="button" value="Go!" onclick="openDir(this.form);"></p>
</div>
</form>
Reply With Quote
  #4 (permalink)  
Old 07-30-03, 08:17 AM
filson filson is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question C'mon!!!

I won't belive that someone out there can't help me

Everywere I look is people using a script just like the one I'm looking for. However I have now searched 4 days now without any luck.

Even the ratings on this site, are rating other peoples poll's, with a pulldown poll, that is excatcly what i need...

Please help me I'm on the verge of insanity......

filson
Reply With Quote
  #5 (permalink)  
Old 07-30-03, 10:17 AM
ChristGuy ChristGuy is offline
Operations Support Develo
 
Join Date: Jun 2003
Location: Rivonia, South Africa
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Greetingz...

For the javascript jumpmenu thing...
PHP Code:

<FORM ACTION="rate.php" METHOD="POST">

  <
SELECT NAME="Rate" OnChange="parent.submit()">
    <
OPTION SELECTED>Please Select A Rating</OPTION>
    <
OPTION VALUE="1">Excelent</OPTION>
    .
    .
    .
    <
OPTION VALUE="5">Sucks Big...</OPTION>
  </
SELECT>
</
FORM
That will submit to the script Rate.php which will then insert the data from the Drop down "Rate" into a txt file...

Hope that helps...

ps.. You're sites not too bad... It's in Danish which I can sorta read.. (My Dad's Danish... )
__________________
Till We Meet Again...
Clifford W. Hansen
Aspivia (Pty) Ltd

"We Have Seen Strange Things Today!" Luke 5:26
Reply With Quote
  #6 (permalink)  
Old 07-30-03, 10:21 AM
filson filson is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Talking thank you so much

Oh and look what I have found finally

http://www.onlinetools.org/tools/eas...php#usagenotes

This could also be usefull

But thanx once again, I can surtanly use that information you gave me...

filson
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a good review management script griz_fan Script Requests 10 07-29-07 05:08 AM
need a cross platform dropdown menu script chris-kf JavaScript 3 02-28-04 02:23 PM
[ DHTML script ] drop down Gordon Freeman Script Requests 2 08-26-03 07:44 AM
putting content in a drop down menu tom PHP 7 07-04-03 02:25 PM


All times are GMT -5. The time now is 05:09 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.