Shoutbox

HTML Poll? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: HTML Poll? (/showthread.php?tid=82401)

HTML Poll? by Phenic Raider on 03-16-2008 at 04:26 PM

Hey all, just a question, not about scripts, skins, or even msn for that matter.

My question is about HTML, if anyone can code and it an expert or more advance can you answer.

I'm wondering if it's possible to make a poll only simple from HTML alone, something simple and easy to edit, so that people can vote but only once and you can see the results. Can it be done?


RE: HTML Poll? by ShawnZ on 03-16-2008 at 04:34 PM

no.


RE: HTML Poll? by Phenic Raider on 03-16-2008 at 04:36 PM

What would be needed to make a poll then?


RE: HTML Poll? by andrewdodd13 on 03-16-2008 at 05:09 PM

Some sort of server-side processing - PHP for example, and a way of storing the results server-side: either a database or flat files.


RE: HTML Poll? by Phenic Raider on 03-16-2008 at 05:17 PM

So an idiot like me wont be able to do. -.- Never mind. But thanks dude.
= ]


RE: HTML Poll? by Chris4 on 03-16-2008 at 05:58 PM

Just use a website like this one or many others? :happy:


RE: HTML Poll? by Phenic Raider on 03-16-2008 at 06:12 PM

=o Thanks dude. = D

Here's where I want to use it.

http://www.myspace.com/phenicraider


RE: HTML Poll? by Chris4 on 03-16-2008 at 06:21 PM

Yeah, looks fine :)

I had a similar one on my myspace at one point (Y)


RE: HTML Poll? by Phenic Raider on 03-16-2008 at 07:12 PM

Then maybe you could help out. As you could see the poll is on.

But when I have it as a black background some font doesn't show, when it's white different font doesn't show, and yes the codes the same and it's in the opposite colour as the background.

I would like it back with the white writing, but you can't see "Vote". Any idea's?


RE: HTML Poll? by Quantum on 03-16-2008 at 07:51 PM

HTML + JS is all you need.


RE: HTML Poll? by Chris4 on 03-16-2008 at 07:57 PM

quote:
Originally posted by Phenic Raider
I would like it back with the white writing, but you can't see "Vote". Any idea's?
I also had a similar problem. That's because your profile layout CSS is forcing the buttons to have black writing. You can change it by going to Edit Profile, do CTRL+F and search for "input" (without quotes). You'll then see the the CSS which is styling the buttons, like this:

code:
div#input
{
stuff here
}

You can either delete it, or change the font color to white... if that makes sense? :P
RE: HTML Poll? by Spunky on 03-16-2008 at 07:58 PM

quote:
Originally posted by john-t
HTML + JS is all you need.

So how do you save the results?
RE: HTML Poll? by Phenic Raider on 03-16-2008 at 08:02 PM

All the codes say it should work. But it doesn't. I'll paste the code if you want.


RE: HTML Poll? by Quantum on 03-16-2008 at 08:03 PM

quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by john-t
HTML + JS is all you need.

So how do you save the results?

Txt files... | but he did say only html :S

Or store them in html files.. get JS to edit the html code. (if thats possible?)
RE: HTML Poll? by Spunky on 03-16-2008 at 08:35 PM

Erm, JavaScript would need to edit server side files... I'm not to sure on how good it is at uploading files (and it would be insecure as you'd need tos ave login details into the script)


RE: HTML Poll? by Baggins on 03-16-2008 at 09:36 PM

Use HTML and JS (ASP :P)


RE: HTML Poll? by Chris4 on 03-16-2008 at 10:42 PM

Helped him on MSN ;)


RE: HTML Poll? by Volv on 03-17-2008 at 11:52 AM

lol I misread it and thought it was asking if I liked "MySpace" (not "my MySpace") and I selected "No, it's crap" :P


RE: HTML Poll? by Svip on 03-18-2008 at 03:51 PM

quote:
Originally posted by john-t
quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by john-t
HTML + JS is all you need.

So how do you save the results?

Txt files... | but he did say only html :S

Or store them in html files.. get JS to edit the html code. (if thats possible?)
Erm no.  It is not.  In order to access server sided files, you would need some sort of server-sided script.   I'd suggest Python for this task, anything else is simply too big.

Of course, you could use AJAX to update the poll at times or send the results.  But unless you want to store the results in a cookie or some shizzle, you'll have to have something server sided.

That is all.
RE: HTML Poll? by surftake on 03-23-2008 at 07:01 AM

less thinking: http://polldaddy.com

more thinking: it will create the flash or js code you need, and you'll only need to paste

even more thinking:  http://google.com/search?q=dhtml+poll

much more thinking still: http://www.oreilly.com/catalog/jvdhtmlckbk/