Need help for css (using firebug)
Posted: 02 November 2006 04:11 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2005-11-07

Hi

recently i installed new plugin for my firefox http://www.joehewitt.com/software/firebug/

when i when thro my site using firefox and verfied debugger via plugin it says some thing like below like to know what i should do next kind new to css i dont know what is debugger .do i have to paste this code in my theme ? if so where i should

1function createRequestObject() {
2 var ro;
3 var browser = navigator.appName;
4 if(browser == “Microsoft Internet Explorer”){
5 ro = new ActiveXObject(“Microsoft.XMLHTTP”);
6 }else{
7 ro = new XMLHttpRequest();
8 }
9 return ro;
10}
11
12function sndReq(action, tag, post, format) {
13 var http = createRequestObject();
14
15 http.open(‘get’, ‘http://www.domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=’+action+’&tag;=’+tag+’&post;=’+post+’&format;=’+format);
16 http.onreadystatechange = handleResponse;
17 http.send(null);
18}
19
20function sndReqNoResp(action, tag, post) {
21 var http = createRequestObject();
22
23 http.open(‘get’, ‘http://www.domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=’+action+’&tag;=’+tag+’&post;=’+post);
24 http.send(null);
25}
26
27function sndReqGenResp(action, tag, post, format) {
28 var http = createRequestObject();
29
30 http.open(‘get’, ‘http://www.domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=’+action+’&tag;=’+tag+’&post;=’+post+’&format;=’+format);
31 http.onreadystatechange = handleResponseGeneric;
32 http.send(null);
33}
34
35function handleResponseGeneric() {
36 if(http.readyState == 4){
37 var response = http.responseText;
38 var update = new Array();
39
40 document.getElementById(“ajaxResponse”)[removed] = response;
41 }
42}
43
44function handleResponse() {
45 if(http.readyState == 4){
46 var response = http.responseText;
47 var update = new Array();
48
49 if(response.indexOf(’|’ != -1)) {
50 update = response.split(’|’);
51 document.getElementById(“tags-” + update[0])[removed] = update[1];
52 }
53 }
54}
55
56function askYahooForKeywords() {
57 var http = createRequestObject();
58
59 try {
60 http.open(‘POST’,‘http://www.domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=requestKeywords&service=yahoo&content;=’ + document.getElementById(“content”).value);
61 http.onreadystatechange = function () {
62 if(http.readyState == 4){
63 document.getElementById(“yahooSuggestedTags”)[removed] = http.responseText;
64 }
65 };
66 http.send(escape(document.getElementById(‘content’).value));
67 } catch (ex) {
68 alert(“Something done went wrong:” + ex);
69 }
70}
71
72function askTagyuForKeywords() {
73 var http = createRequestObject();
74
75 try {
76 http.open(‘POST’,‘http://www.domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=requestKeywords&service=tagyu&content;=’ + document.getElementById(“content”).value);
77 http.onreadystatechange = function () {
78 if(http.readyState == 4){
79 document.getElementById(“tagyuSuggestedTags”)[removed] = http.responseText;
80 }
81 };
82 http.send(escape(document.getElementById(‘content’).value));
83 } catch (ex) {
84 alert(“Something done went wrong:” + ex);
85 }
86}

Profile