firebug

firebug saying not a function

<script type = "text/javascript"> var First_Array = new Array(); function reset_Form2() {document.extraInfo.reset();} function showList1() {document.getElementById("favSports").style.visibility="visible";} function showList2() {document.getElementById("favSubjects").style.visibility="visible";} fun...

JavaScript function works fine in Opera but doesn't work at all in Firefox. Why?

This is my JavaScript function: function switch_div(firstID,secondID) { if((document.getElementById(firstID).style.display == 'inline') && (document.getElementById(secondID).style.display == 'inline')) { document.getElementById(firstID).style.display = 'none'; } else if(document.getElementById(firstID).style.dis...

Text not aligning in HTML using CSS

Here is my markup <div class="code php"> <div class="container"> <div class="line-numbers">1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 </div> <code> <?php $people = array('henry', 'foo', array('jeff', 'bar'), 'tom', 'barry'); foreach($people as $person) { if (is_array(...

Alternative to Firebug for Firefox?

The latest versions of Firebug in Firefox feel like they've been regressing. Performance is abysmal. This is a common complaint amongs everyone on my team, and increasingly among many other web developers online. Are there any alternative extensions for Firefox that gives similar functionality(DOM inspector, Net tab, console)? ...

Firebug memory usage

Hey all, Is Firebug a bit of a memory hog when you run it for a while? Or is it just Firefox? I kinda get to the point where my firefox is using 1 Gb of memory and everything just slows down. Has anyone found a solution for this? EDIT I am running the latest and greatest versions of both. EDIT I suppose there is no real answer to thi...

Trying to minimize the table height (TABLE, TBODY and offset)

I am trying to minimize the height of the table shown below. Firebug tells me that table's height is 29, tbody's 25, and both rows together's 23. The layout tab does not show that there is any padding, margins or border. Though, it tells me that tbody has 2 pixel offset, and the same for tr. Is there a way to prevent that offset? <body...

How can I search inside javascript text with firebug?

The "search" (magnifying glass) on the top-right hand corner of firebug does not search inside javascript blocks, so if I have, for example, this: <script type="text/javascript"> var fooBar = "baz" </script> somewhere in a page, I can't find where "fooBar" is located. Is there any way to do it? ...

Ext is not defined

I'm trying to implement a TinyMCE plugin with ExtJs, with a demo as example, found here: link. This fails because I receive an "Ext is not defined" error in Firebug. I basically copied the example, I only used a newer version of Ext. First of all the css and scripts are included: <link href="scripts/extjs/resources/css/ext-all.css" rel...

Unreadable var_dump in Firebug when xdebug is enabled.

Xdebug displays "var_dump" in its own way with more useful information, but in Firebug is unreadable. I was wondering if there was a way to display the var_dump in Firebug to make it readable without disabling xdebug and also keeping the display of the var_dump made by xdebug in PHP. Examples of var_dump displayed in Firebug: $test = ...

IE equivalent to the PixelPerfect plugin for FireBug

I use the PixelPerfect plugin for FireBug to tweak my XHTML/CSS-page to match a given design template. I wondered if there is a similar way to do this in IE6+? ...

Why is document.getelementbyId not working in Firefox?

I can't figure out why document.getElementById is not working in Firefox: document.getElementById("main").style.width = "100"; When I check in Firebug it says: TypeError: document.getElementById("main") is null Does anybody know why this is happening? EDIT: Unfortunately, the "body" element was a bad example. I changed it to anothe...

break-on-modify in firebug?

I'm having trouble tracking down a bug which is causing a button to get disabled. Is there a way to have firebug break if the button state is touched in javascript? ...

Margin not acting properly in Firefox

I'm having a very weird problem that for the life of me I can solve. Basically, in Safari my top navigation has no top margin and is flush with the very top of the page. In firefox, it is applying the bottom margin to the top as well, for a reason I cannot figure out. When I remove margin in firebug, the fake top margin is also removed. ...

firebug net monitor options

I have an issue where I executing an AJAX request. Instead of seeing the normal POST or GET preceeding the action page url, I see OPTIONS. The data is successfully posted, but there is no response from the action page. What does OPTIONS indicate? ...

Output Flash Trace to Firebug Console

Hello, I am trying to output my Flash application's trace to the firebug console. After some Goggling I have found that other are doing something like this: public static function debug(text: Dynamic):Void { trace(text); ExternalInterface.call("console.log", text.toString()); } My Firebug console never out...

How can the page know I'm analyzing it with firebug

Look Wow! How can the webpage know I'm using firebug? BTW I couldn't find out how to show the translucent add banner. ...

Silverlight clientaccesspolicy.xml crossdomain.xml

I am one of 2 developers on a silverlight project that is hosted online. The problem is that i seem to randomly have problems with our webservices not working (This never happens to my colleague). Using firebug, i had a look at any problems that it was reporting and i found this: GET clientaccesspolicy.xml 404 not found GET crossdomai...

Help, I lost the JSON tab in Firebug console

Hello all. From some time (a week before installing the last 1.4.3 update for Firebug) the tab with the JSON contents has disappeared from my Firebug console. I used to open the GET reply from AJAX in the console, then three tabs appear, which are labelled "URL Parameters", "Headers" and "Reply". When I clicked on "Reply" another heade...

firefox or firebug : How to include log.js all the time

I use firebug a lot. However I do not like typing console.log all the time. I would rather type just log. So at the top of my console window I add this line all the time. function log(){try{console.log.apply(console,arguments);}catch(e){}} log(2 + 2); I don't like to type that log statement every single time. Is there a way I can tel...

Should I learn Firebug or IE8 Developer Tools?

I need to learn either Firebug or IE Developer Tools in a hurry, and I could use some advice about which one is better. I'll be using either one to debug some JavaScript, primarily with repsect to an XHR mystery. Any tips about which one to choose would likely save me lots of time and would be most appreciated. EDIT: I already use Fid...