misfit
02-16-2003, 04:26 AM
I got a poll script from skinnygeek.com and i'm trying to use it...
it's a poll.pl file, and i don't know what the .pl extension means, but anyway... In the README file, it says
"- if you know JavaScript, you can create a funtion to open poll.pl in a popup window
- to embed your poll into a Web page, create a new *.shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> where you want it to appear (your host must support SSI)"
And i have a couple questions...
1) What javascript could i use to open it up in a popup window? Would someone be nice enough to just type out a little thing for me right here?
2) If i want to embed it (which is what i'm trying to do) what does it mean new .shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> ? Does this mean i just rename the file extension that i'm puting it in to .shtml?
I tried refering to the poll.pl with an iframe, but i ended up with borders around the poll itself, and since i don't know the type of code it's in, i don't know how to set the margins to 0!!
ick. :( Anyone have something useful to say for me?
it's a poll.pl file, and i don't know what the .pl extension means, but anyway... In the README file, it says
"- if you know JavaScript, you can create a funtion to open poll.pl in a popup window
- to embed your poll into a Web page, create a new *.shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> where you want it to appear (your host must support SSI)"
And i have a couple questions...
1) What javascript could i use to open it up in a popup window? Would someone be nice enough to just type out a little thing for me right here?
2) If i want to embed it (which is what i'm trying to do) what does it mean new .shtml file and type <!--#exec cgi="/cgi-bin/poll/poll.pl" --> ? Does this mean i just rename the file extension that i'm puting it in to .shtml?
I tried refering to the poll.pl with an iframe, but i ended up with borders around the poll itself, and since i don't know the type of code it's in, i don't know how to set the margins to 0!!
ick. :( Anyone have something useful to say for me?