Hi
I want to code a JS file that enables me to give a code to my users to place on their site so that I'll display ads on their site. the code they will place on their site is like this:
Code:
<script type="text/javascript">
partnerid = "3832";
keyword="host";
backgroundcolor="FFFFFF";
width="336";
height="280";
scriptid="4ebb512"
<script id="4ebb512" type="text/javascript" src="http://domain.com/WebFiles/display_ad.js">
But how that display_ad.js file (hosted on my server) will collect the data in the code (like height, width, partnerid,etc) to decide what to desplay?
I really need it. any help or refering to a tutorial is highly appreciated
thanks in advance