In our silverlight app I'm trying to determine what browser the user is running in. The silverlight runtime already helps me a bit here:
string browserName = HtmlPage.BrowserInformation.Name;
However, the browserName is 'Netscape' both under Chrome and Firefox and the same goes for the BrowserVersion property (probably because Chrome ...
I have a problem in FireFox (3, 3.5...) browser with using AJAX Update Panel. There are DropDownList with some values and Button in the UpdatePanel. Update Panel works good in FireFox. So, after you click on Button, DropDownList stick, it’s impossible to change value in DropDownList.
if change focus to another window and then back to ...
I have a set of HTML files using JavaScript to generate navigation tools, indexing, TOC, etc. These files are only meant to be opened locally (e.g., file://) and not served on a web server. Since Firefox 3.x, we run into the following error when clicking a nav button that would generate a new frame for the TOC:
Error: Permission denied ...
I've got a page with multiple embeds of Flash objects, including dynamically created graphs.
I'm including them all with SWF Object JS declared in the header. It works fine in the fact that all are loaded. But, for some reason when you move down on the page (so they're out of view) and back, or click on another object it no longer has f...
On my site, I'm using the JavaScript Tabifier to create tabs
In Firefox, the tabs have a top border (as desired).
In IE 6/7, the tabs do not have a top border, even though I have border-top defined for the appropriate CSS property (ul.tabbernav li a).
Any CSS ideas as to why Firefox has the top border but IE does not?
UPDATE
Per com...
Firefox displays correctly that the red "Search Listing" button is inline with the text input field.
But, IE 6/7 is misaligned.
Any ideas why IE is displaying the red button lower on the page than other browsers?
Screenshot of IE 8 (correct)
api.browsershots.org/png/original/54/546946b7cfd67ce2c59de0b608c3323.png
Screenshot of IE 7 (...
IE 6+ is displaying the cursor as a text icon and not a mini-hand (pointer) as it should.
My Live Example show how if you hover over a tab (All/Fore Sale/...), in IE - it displays a text-cursor but Firefox/etc it displays correctly as a "pointer".
This is applied to the ul.tabbernav li a:hover CSS property.
Any idea why IE is not disp...
Why does IE not change the background color on my site for tabs a:hover but does so in Firefox/Chrome/Safari correctly?
What can I do to make it work in IE 6+?
HTML
<ul class="tabbernav">
<li class="tabberactive"><a title="All" href="javascript:void(null);">All</a></li>
<li class=""><a>Tab1<span class="tabTotal"> (0)</span></a></li>
<...
Hi,
Is there such a thing as conditional comments for Chrome?
I have a page that renders differently in chrome compared to firefox.
Thanks
...
This should subscribe function "handler" on scroll events from every iframe on the page
var iframes = document.getElementsByTagName("iframe");
for (i = 0; i < iframes.length; i++) {
var current = getRealObject(iframes[i])
current.contentDocument.addEventListener('DOMMouseScroll', handler, false)
}
function getRealObject(objec...
I've written a httphandler to process downloading of files. Regardless of the mime-type, all files try default to notepad when using Firefox. My Code snippet is below.
//let's assume that the item object has these values.
item.Filename = "testfile.pdf";
item.MimeType = "application/pdf";
context.Response.Buffer = true;
context.Respon...
I have written a Firefox extension that catches when a particular URL is entered and does some stuff. My main app launches Firefox with this URL. The URL contains sensitive information so I don't want it being stored in the history.
I'm concerned about the case where the extension is not installed. If its not installed and Firefox ...
I have the following code which works perfect in IE for a textarea element.
(ed: wrapped for readability)
<textarea name="mem_message" cols="25" rows="5"
onkeypress="return taLimit(this)"
onkeyup="return taCount(this,'myCounter')">
<? echo $_SESSION['mem_message']; ?>
</textarea>
It calls a validation function:
<script lang...
What options do I have preventing the user from just closing the browser or navigating to another site? (of course I can't prevent him pulling the plug on the computer, etc.: I just want to show him a warning)
...
I have to develop for Firefox using the Adobe SVG Plugin 6. When using Firefox's native SVG viewing capabilities, I can simply look at document.documentElement, which will give me the root svg element and from there I can navigate the DOM to where I want.
With the ASV in Firefox, it appears to make a skeleton HTML file with an embed in ...
My firefox extension have to:
Save an address of current page,
Open new page
Put this address into content of the new page, if a button will be pressed.
Problem is, how to save to var this address, becouse if I will do it from first function, the function that is from button doesnt have this var. Should i use a global function, or so...
In System.Net.Sockets.AddressFamily there are a number of obvious entries like InterNetwork, AppleTalk and Ipx. There's also one for "FireFox". I assume this has nothing to do with the "Firefox" browser since a. it's cased differently and b. why would the Firefox browser have its own network address type. So what the heck is this for...
Can I use python in firefox extensions? Does it work?
...
Hi. I have a code (see it below). It works perfectly in Firefox: it saves submitted information after clicking __JL_SAVE button and keeps user on same page.
But in Internet Explorer & Opera it only redirects to index page (index.php) and doesn't save submitted information.
What can I do for solving this problem? Thanks.
Here is my code...
Are there any tools for testing XUL? I'm using yui test for testing XPCOM. But I can't find any for XUL
...