d001129101
May 17th, 2006, 03:02 AM
Hello gurus:
We are looking for MFC (or C++) developer with the knowledge of HTML and JavaScript. Here's the deal. We will pay for development of
the MFC (or C++) code that performs the following:
On the input it takes HTML script containing JavaScript objects (or pure JavaScript code) and produces an array of type:
struct ELEMENT
{
int nPosBegin;
int ncbLen;
}
where each element of this array contains position and length of names of variables and methods in the JavaScript code (and HTML part
relative to it).
Here's an example:
INPUT:
++++++++++++++++++++++++++++++++++++++++
<html><body onload="var myVal=1;"><SCRIPT type=text/javascript>
<!--
var myS = "Value myVal = " + myVal;
-->
</SCRIPT></body></html>
OUTPUT:
++++++++++++++++++++++++++++++++++++++++
Position of 'myVal' and 'myStr' variable names in code snippet above:
Number of elements: 3
Elements:
{24, 5}
{75, 3}
{100, 5}
For more extensive example download the MFC sample attached here, then start a sample app in the Release folder, click "Open Sample"
button and then "Produce Output". The resultant info will be highlighted in the window at the bottom.
IMPORTANT: Please note that developer must observe all aspects of JavaScript language syntax during parsing, as well as all nuances
of HTML langauge.
We will pay in US Dollars via PayPal, or any other Credit Card processor, or via check, if in US or Canada. To bid your offer one can
alter the MFC sample attached to this message and present it to us.
Please contact me via Private Message regarding your offers.
Thank you for your time.
We are looking for MFC (or C++) developer with the knowledge of HTML and JavaScript. Here's the deal. We will pay for development of
the MFC (or C++) code that performs the following:
On the input it takes HTML script containing JavaScript objects (or pure JavaScript code) and produces an array of type:
struct ELEMENT
{
int nPosBegin;
int ncbLen;
}
where each element of this array contains position and length of names of variables and methods in the JavaScript code (and HTML part
relative to it).
Here's an example:
INPUT:
++++++++++++++++++++++++++++++++++++++++
<html><body onload="var myVal=1;"><SCRIPT type=text/javascript>
<!--
var myS = "Value myVal = " + myVal;
-->
</SCRIPT></body></html>
OUTPUT:
++++++++++++++++++++++++++++++++++++++++
Position of 'myVal' and 'myStr' variable names in code snippet above:
Number of elements: 3
Elements:
{24, 5}
{75, 3}
{100, 5}
For more extensive example download the MFC sample attached here, then start a sample app in the Release folder, click "Open Sample"
button and then "Produce Output". The resultant info will be highlighted in the window at the bottom.
IMPORTANT: Please note that developer must observe all aspects of JavaScript language syntax during parsing, as well as all nuances
of HTML langauge.
We will pay in US Dollars via PayPal, or any other Credit Card processor, or via check, if in US or Canada. To bid your offer one can
alter the MFC sample attached to this message and present it to us.
Please contact me via Private Message regarding your offers.
Thank you for your time.