firefox

Unable to get a jQuery script work in Firefox

I have the following script in my homepage $(function () { // same as $(document).ready(function () { }) // assuming we have the open class set on the H2 when the HTML is delivered $('li.drawer h2:not(.open)').next().hide(); $('h2.drawer-handle').click(function () { // find the open drawer, remove the class, move to the UL fo...

What is the default size for an HTML form field (type=text)?

I have a page that visually has two fields right on top of each other, but are actually in two different forms. In Firefox, they appear to have the same width. In IE (IE6, IE7, IE8) they appear with different widths. Here's a sample, I think the problem is the lack of "size=" <input id="fieldid" type="text" name="fieldname" value="" ...

how do i cache FileContentResult for performance?

Presently i have the following action to return files (images, PDF's, etc) from my DB: // // GET: /FileManager/GetFile/ID [OutputCache(Duration = 600, VaryByParam = "ID")] public ActionResult GetFile(int ID) { FileService svc = new FileService(new SqlFileRepository(base.ConnectionString)); KsisOnline...

Programmatically remove Firefox's license agreement dialog

I am running regression tests with Selenium and am automatically launching instances of Firefox. The problem is my tests get stuck because of Firefox's license agreement dialog: . I can't click with the mouse because I am in an headless environment with a virtual graphical environment. I would like to know what Firefox's file can I e...

How do I access a .xul file using a chrome:// URL ?

I'm learning how to make firefox extensions. I have created a directory called findfile, under which I have the directories content/ skin/ and locale/ . There is a findfile.xul file in the content/ directory. The other two are empty I have placed a findfile.manifest file under /home/akshay/.mozilla/firefox/xxxx.dev/chrome/ The content...

Why is this jQuery code not working to alter background-color in Firefox?

Hi, I'm trying to get the hang of jQuery and I had this simple bit of code that refuses to work. Anyone got an idea of why this might not be working? <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("div").live("click", divclicked); ...

Button inside of anchor link works in Firefox but not in Internet Explorer?

Everything else in my site seems to be compatible with all browsers except for my links. They appear on the page, but they do not work. My code for the links are as follows- <td bgcolor="#ffffff" height="370" valign="top" width="165"> <p><a href="sc3.html"><button style="width:120;height:25">Super Chem #3</button></a> <a href="91hol...

How to test an AJAX application that is pulling data from a live website?

Hello, I'm working on a AJAX application that pull data from a live website, I can't replicate the complete application on my local environment at the moment so in order to test if the Javascript code is working as expected I need to be able to bypass the same domain restriction on the browser (without making changes on the web server) a...

Strict doctype preventing access to DOM variable in FireFox

I don't know if this is a well known 'thing' or something new in whatever version of Firefox it just updated itself too - but in either case I have no idea how to google for this question so I'll have to ask it here. I have a DIV in my DOM that I am trying to directly access by id, in the most simplest form like this: alert(btnTest.id...

Problem with links from HTTP to HTTPS in Firefox

I've found a problem with Firefox where links from HTTP to HTTPS don't work in a specific case. It has to be your very first visit on a site, you can't have any visits to this site in your history. What happens is that links to HTTPS just don't work initially, you have to click the same link 3 or 4 times and it will work. To reproduce t...

how do I programmatically click on an element in firefox?

In IE, I can just call element.click() from javascript - how do I accomplish the same task in Firefox? Ideally I'd like to have some javascript that would work equally well cross-browser, but if necessary I'll have different per-browser javascript for this. ...

Configure Firefox 3.0.x to authenticate with Kerberos and not prompt

I have an Intranet http application running on several machines in our Windows domain; everything works when using IE 7 because I can configure it to use Kerberos authentication and I've figured out how to get one of the intermediate machines to be Trusted for Delegation. I have researched and tried to get Firefox 3.0.10 to use Kerbero...

Javascript development addon for browsers

I need an addon that assists Javascript (client-side) web dev in browsers other than Firefox, for which Firebug suffices. Especially something for IE(7) and Opera(9) with which I'm currently experiencing issues. Info about dev tools like Firebug, are welcome for any browsers. ...

How do I make a file:// hyperlink that works in both IE and Firefox?

In my documentation web pages, I often need to provide links to locations, files and applications (.xbap) stored on the intranet. In IE, this works fine with URLs formatted like this: <a href="file://///company.org/ProjectA/StatsReport">Go to folder</a> <a href="file://///company.org/ProjectA/Readme.txt">Download file</a> <a href="fil...

Need help with my CSS on my DotNetNuke Skin

I have created a skin for DotNetNuke 5.x and I attempted to do as much of the layout using css as I could. My issue is the consistency between IE and FF/Chrome/Safari. With most sites I'm able to overcome this, but in this skin I have tried everything I could think of and spent many many hours trying to get the look consistent between ...

z-index css Pop-up box and ie7

Hi, I have some div boxes which should show a speech box when on hover. With jQuery and CSS it’s nothing too hard. However, the popup speech appears under the neighbor div in IE7 — I can not make it to appear under it (see the shots). I tried to play with z-index at different spots with no success. FF IE7 HTML <div class="boardsh...

firefox extension that adds a script to a html page

Hi, I am asking about using javascript to add a script to a html tab in firefox. I'd like to avoid using greasemonkey. Is there a way to do this? Thank you ...

Problems with Cache in Firefox when i upload my app to web server

Hi there, Can anyone help? I have been designing a site using Javascript but the rest of the html content is static ie. images etc When i load my page in Firefox i have to clear the cache.. I remember a long time ago there was something you could add to the html to force a reload. My question is, is this a good thing? I presume it ca...

How do i remove firebug console from other browsers?

I have developed my site with Firefox and firebug plugin, but when i deploy it to other browsers (IE/Chrome), the console window appears at the bottom of the screen(very annoying). How can i disable this? and why is it appearing? gath ...

How to debug Javascript error?

How to Debug java Script Error Using Firebug? Duplicate How can I set breakpoints in an external JS script in Firebug ...