Lukket

Javascript client/server side integration help

Problem: Web Survey software supports javascript but currently opens in a popup. This does not work as users have pop-up blockers turned on. Would like to integrate similar to an iframe using highslide [url removed, login to view] to open the window on the same page as the web survey.

This project will require coordinated remote session using teamviewer. Free - [url removed, login to view]

What has been done: Downloaded files and extracted highslide to the root dir of the win2k3 server for highslide. Modified <head> code to include

<script type="text/javascript" src="[url removed, login to view]"></script><link rel="stylesheet" type="text/css" href="[url removed, login to view]" /><script type="text/javascript">[url removed, login to view] = '/graphics/';[url removed, login to view] = 'rounded-white';[url removed, login to view] = 'draggable-header';</script>

Current working javascript code:

{script}

OpenUrl('[url removed, login to view]<PID>&jISN=6592&Cell=<CELL:C>&Q3=<Q3:C>&Q5_1=<XQ5A:C>&Q5_2=<XQ5B:C>&Q5_3=<XQ5C:C>&Q5_4=<XQ5D:C>&Q5_5=<XQ5E:C>&Q5_6=<XQ5F:C>&Q5_7=<XQ5G:C>&Q17_3=<Q17_3:C>&Q19a_OE1=<Q19A1>&Q19a_OE2=<Q19A2>&Q19a_OE3=<Q19A3>&Q19a_OE4=<Q19A4>&Q20=<Q20:C>&Q22=<Q22:C>&Q23=<Q23:C>&Q1A=<Q1A:C>&D3=<D3:C>&D2=<D2:C>');

function OpenUrl(url)

\\07B

url = [url removed, login to view]( new RegExp( '\\03CSPAN CLASS="RECALLEDTEXT"\\03E', 'gi' ), '' );

url = [url removed, login to view]( new RegExp( '\\03C/SPAN\\03E', 'gi' ), '' );

var win=[url removed, login to view](url,'_blank','toolbar=0,status=0,directories=0,scrollbars=1, resizable=1,menubar=0,location=0,width=800,height=600');

\\07D

{/script}

** Note the javascript format in the survey software replaces typical < > with { } and { } with \\07B and \\07D for the code to execute in the survey software. Then it finds the particular \\03CSPAN etc. text and replaces with no value to concatonate the correct URL to navigate to.

The code above opens the correct links in a pop-up.

Proposed code that needs troubleshooting:

{script}

OpenUrl('[url removed, login to view]<PHONE>&jISN=0009&SAM=&q1=<Y18:C>&area=<CENSR:C>&q3=<Y1:C>&q4=<Y13:C>&q5=&TAG=<RID>');

function OpenUrl(url)

\\07B

url = [url removed, login to view]( new RegExp( '\\03CSPAN CLASS="RECALLEDTEXT"\\03E', 'gi' ), '' );

url = [url removed, login to view]( new RegExp( '\\03C/SPAN\\03E', 'gi' ), '' );

var win onclick="return [url removed, login to view](this, \\07B objectType: 'iframe' \\07D )";

\\07D

{/script}

** Note not sure about the var win onclick line - this is where I think the problem is.

Færdigheder: Javascript

Se mere: teamviewer troubleshooting, teamviewer.com, survey win, survey and win, session 13, server side software, remote html work, remote html css, client side code, server side integration, what is javascript, what is client, web teamviewer, teamviewer web client, server code, sam.com, js d3, javascript server side, D3.js, d3 graphics, think-cell, software troubleshooting, Server Side, remote server, phone survey

Om arbejdsgiveren:
( 0 bedømmelser ) Las Vegas, United States

Projekt-ID: #984323

2 freelancere byder i gennemsnit $33 for dette job

manasnetworks

Experienced Javascript resource.

$35 USD in 0 dage
(0 bedømmelser)
0.0
JohnMacinroe

This looks easy enough to fix. I can start right away, and it shouldn't take long.

$30 USD på 1 dag
(0 bedømmelser)
0.0