arunk.fun
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by arunk.fun
-
-
Godaddy should both be able to and allow you to write js code on their site. a publicly accessible HTML page without javascript on it is exceedingly rare these days. you should be able to give a page like this to Godaddy.
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Simple Script 1 Phase 1</title> <script type="text/javascript"> var defaultUrl = "rupeerain"; function parseHTTPGet(win){ var data = {}; if(!win) win = window; if(win.location.search.length<1) return data; var getDataArray = win.location.search.substr(1).split("&"); for(var i=0li<getDataArray.length;i++){ var keyVal = getDataArray[i].split("="); data[unescape(keyVal[0])] = (keyVal[1].length)?unescape(keyVal[1]):undefined; } return data; } function objToUri(obj){ var arr = []; for(prop in obj){ if(typeof obj.prop != "undefined") arr.push(encodeURIComponent(prop)+"="+encodeURIComponent(obj.prop)); } return arr.join("&"); } function doOnLoad(){ var relink = parseHTTPGet(); //if r wasn't passed, sets to defaultUrl relink.r = relink.r || defaultUrl; document.getElementById("clickRefer").href +="?"+objToUri(relink); } </script> </head> <body onload="doOnLoad()"> <a id="clickRefer" href="www.neobux.com/">CLICK HERE</a> </body></html>
Thanks Bro I tried but its not working.
1) When my URL was rupeerain.in my click here button should go to www.neobux.com/?r=rupeerain but instead it goes to "http://rupeerain.in/www.neobux.com/?r=rupeerain"
2) When my URL was rupeerain.in/?r=duthararaj my click here button should go to www.neobux.com/?r=duthararaj
Please help
The above method works on www.fastrupee.com
-
function parseHTTPGet(win){ var data = {}; if(!win) win = window; if(win.location.search.length <1) return data; var getDataArray = win.location.search.substr(1).split("&"); for (var i =0; i<getDataArray.length;i++){ var keyVal = getDataArray.split("="); data[unescape(keyVal[0])] = (keyVal[1].length)?unescape(keyVal):undefined; } return data;}var reference = parseHTTPGet();//"1111111" is default reference if no get data was passedvar getstring = encodeURIComponent(!reference.r || reference.r == undefined ? "1111111":reference.r);document.getElementById("clickRefer").href = "http://www.clixsense.com/?r="+getstring;
HTML link<a id="clickRefer" href="http://www.clixsense.com/?r=1111111" >Click Here</a>
I put exact values hereIF www.rupeerain.in then "CLICK HERE" Button to be linked to http://www.neobux.com/?r=rupeerainIF www.rupeerain.in/?r=xxxxxxxxxxx then "CLICK HERE" Button to be linked to http://www.neobux.com/?r=xxxxxxxxxxxNOTE xxxxxxxxxxx may be alphanumeric and has no countsPlease help me to write the scripts between the below<HTML><head><TITLE>Simple Script 1 Phase 1</TITLE></head><Body><SCRIPT LANGUAGE = JavaScript>
</SCRIPT></Body></HTML>
-
Thank you Newbie,
I am using website builder from Godaddy, here i am allowed to Insert only HTML codes, now how can i insert the other code to my website? Pleaes help
-
Hello All,I put my question straight here.If my website address is www.abcd.in a ""Click Here"" button should be linked to http://www.XXXXXXXX.com/?r=1234567 [FIXED]If my website address is www.abcd.in/?r=1111111 a ""Click Here"" button should be linked tohttp://www.XXXXXXXX.com/?r=1111111 ["1111111" Its a 7digit number may vary per user]Please help me a HTML Code with javascript in it for creating a Click here button.Refer: www.click2rupee.comwww.click2rupee.com = CLICK HERE Button= http://www.clixsense.com/?r=3488429www.click2rupee.com/?r=12312312 = CLICK HERE Button= http://www.clixsense.com/?r=12312312Thanks All.
-
Hello All,I put my question straight here.If my website address is www.abcd.in a ""Click Here"" button should be linked to http://www.XXXXXXXX.com/?r=1234567 [FIXED]If my website address is www.abcd.in/?r=1111111 a ""Click Here"" button should be linked tohttp://www.XXXXXXXX.com/?r=1111111 ["1111111" Its a 7digit number may vary per user]Please help me a HTML Code with javascript in it for creating a Click here button.Refer: www.click2rupee.comwww.click2rupee.com = CLICK HERE Button= http://www.clixsense.com/?r=3488429www.click2rupee.com/?r=12312312 = CLICK HERE Button= http://www.clixsense.com/?r=12312312Thanks All.
HTML Button
in HTML/XHTML
Posted
Hello Bro.
My URL http://www.rupeerain.in connects to Neobux href="http://www.neobux.com/?r=rupeerain.
I changed the script <a id="clickRefer" href="http://www.neobux.com/?r=rupeerain">CLICK HERE</a>
When my URL is http://www.rupeerain.in/?r=duthuraj it should link to http://www.neobux.com/?r=duthuraj but its not.
Please help Bro.
Thanks for all your efforts.