Create a JavaScript snippet that calls the YOP poll plugin to display polls

进行中 已发布的 Jun 28, 2014 货到付款
进行中 货到付款

I'm currently using the YOP polling plugin and want to be able to embed my polls on other (external) sites. The spaces the polls occupy will vary, so the script will have to be responsive (more than a typical iframe).

The functionality should be modeled after third party polling tool OpinionStage, example JS here:

{\rtf1\ansi\ansicpg1252

{\fonttbl\f0\fnil\fcharset0 .HelveticaNeueInterface-Regular;}

{\colortbl;\red255\green255\blue255;\red47\green44\blue36;\red255\green255\blue255;}

\deftab720

\pard\pardeftab720\partightenfactor0

\f0\fs24 \cf2 \cb3 \expnd0\expndtw0\kerning0

\outl0\strokewidth0 \strokec2 <div id="debate_1_2202497"></div>\

<script>\

(function () \{\

var opst = [login to view URL]('script');\

var os_host = [login to view URL] == "https:" ? "https:" : "http:";\

[login to view URL] = 'text/javascript';\

[login to view URL] = true;\

[login to view URL] = os_host + '//' + '[login to view URL]';\

([login to view URL]('head')[0] ||\

[login to view URL]('body')[0]).appendChild(opst);\

\}());\

</script>\

}

OpinionStage has done a great job of making the polls they offer responsive, but don't have the same login functionality we want, so we need to replicate their embeddable functionality with our YOP poll plugin. Info on YOP polls here:

[login to view URL]

The expected finished product is JavaScript code that can be edited to call a specific poll ID (this is the only variable that changes) and be embedded in external sites, responding to the width of the area it is placed.

Looking to have this completed in 2 days.

HTML JavaScript WordPress

项目ID: #6126124

关于项目

4个方案 远程项目 活跃的Jun 29, 2014

有4名威客正在参与此工作的竞标,均价$163/小时

Meagan26

Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer with a diploma in the field of web development. I have been working in the field of web 更多

$210 USD 在3天内
(226条评论)
7.3
VnBestSolutions

Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! 更多

$178 USD 在3天内
(175条评论)
6.9