Guys, my CMS is Wordpess.. I need to enter the following java script code onto page: <script type="text/javascript"> function getQueryStringVariable(variable) { var query = window.location.search.substring(1); var vars = query.split('&'); for (var i=0;i<vars.length;i++) { var pair = vars[i].split('='); if (pair[0] == variable) { return pair[1];}}} ni_ad_client = "my id"; ni_res_id = 2; ni_alt_url = "https://www.shmktpl.com/search.asp"; ni_zc = getQueryStringVariable('zipcode'); ni_str_state_code = getQueryStringVariable('statecode'); ni_var1 = ""; ni_display_width = 500; ni_display_height = 1000; ni_color_border = ""; ni_color_bg = ""; ni_color_link = ""; ni_color_url = ""; ni_color_text = ""; </script> <script type="text/javascript" src="https://www.shmktpl.com/retrieve_listings.asp"></script> <noscript><a href="https://www.shmktpl.com/search.asp?src=my ID&res=2"><img src="https://www.shmktpl.com/images/nojs/image.asp?src=my ID&res=2" border="0"></a></noscript> Code (markup): how to do this? I'm not so good with programming, how can I get this java script code onto Wordpess page?
Search & install a JavaScript Plugin that allows you to add javascript to a post / page in the Plugins Admin area of you blog. Normally you will then have to place the code in the post / page (in HTML view) between some sort of tags ... e.g. [jscript] [/jscript] or simlar.
no, it didn't.. basically what I did was to upload the .html page into my server through ftp manually with java script in it...