FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Need help for css (using firebug)





mustaq
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
Quote:
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.xinfo.us/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.xinfo.us/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.xinfo.us/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").innerHTML = 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]).innerHTML = update[1];
52 }
53 }
54}
55
56function askYahooForKeywords() {
57 var http = createRequestObject();
58
59 try {
60 http.open('POST','http://www.xinfo.us/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").innerHTML = 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.xinfo.us/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").innerHTML = http.responseText;
80 }
81 };
82 http.send(escape(document.getElementById('content').value));
83 } catch (ex) {
84 alert("Something done went wrong:" + ex);
85 }
86}
[/code]
Karrde
Why are you using Firebug? If you don't know what you're doing when it comes to debugging why are you using a debugging program?

The code you pasted is Javascript, and it looks to be just a listing of the javascript that's used in your site.

Frankly, I don't see any reason for you to use Firebug at all. Is the site running fine? If so, you don't need to debug it. And if it wasn't, Firebug's output is likely to just confuse you even more than actually solving any problems.
fadirocks
yep that's just old buddy JS so for CSS look into other topics there are some sites you can check or to play with CSS Very Happy
Related topics
Handling Css using Javascript
Help needed using Linux
Need Help AJAX using WYSWYG Script.
Photoshop Help Please
Xhtml errors help...
Help! Anybody using the Disqus plugin?
Cpanel Code Editor Not Working
Web Technologies
Changing PHPBB STyles
What's the best way to design a site?
Sidebar color on browsers?
Free phone calls with Sipdiscount
i'm new..
"We Hate Aliens" Campaign [ENDED]
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.