I am using client-side xslt to transform xml files into xhtml. There have been some hurdles but I have managed to get passed all of them except this.
The problem is that when I have a simple xml file like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="./jsInFf.xsl"?>
<root>hello</root>
and tr...
Main Page:
<iframe src="/files/new" onload="alert('onload');"></iframe>
and inside the iframe, /files/new renders:
<form action="/files/create" method="post" enctype="multipart/form-data" >
<input type="file" name="file1" size="28" />
<input type="submit" value="submit" value="Submit" />
</form>
If I submit a file, iframe's...
Is it possible to modify/edit, already installed firefox addons? Where are the addons stored in the computer... I mean which folder etc...
...
Problem: to show that a Not-SO-page has been discussed in SO when you at the Not-SO-site by a SO indicator at Firefox bottom bar
How should the extension work?
It should show a colorful SO indicator if the not-SO-page has been at SO.
I assume that we cannot use
Google (because the addon is apparently against its TOS)
SO has no simil...
I've written a bookmarklet to look a word up in a Chinese dictionary:
javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('%E8%AF%8D%E8%AF%AD',''))};if(Qr)(function(){window.open('http://nciku.com/search/all/'+Qr);})();
This opens a new tab with search results for your selected word or a word you type in at the prompt. Is the...
I am currently developing a Firefox extension. In Firefox's extension you can display a window by calling window.open and specifying the XUL file for that window. You can make it a dialog and/or modal. But there is no way to make the window frameless (no title bar and window borders) and I understand that. Also, it is not possible to mak...
Hello,
In the code below, $row['site'] is an URL. In Chrome and IE8, it displays fine. In Firefox 3.0.11, it only displays everything up until the second forward slash. So "en.wikipedia.org/wiki/Miami" is only displayed as "en.wikipedia.org/wiki".
I believe this is because of the CSS that I am using, but I can't quite figure out how...
Hello,
I have for the most part successfully embedded firefox/xulrunner into our c# application, but it is not without troubles. Once in a great while a AccessViolationException will be thrown which I believe is caused by the GC moving a managed object in memory and the unmanaged xpcom attempts to use it after it has been moved. For exam...
Hi,
In Firefox, we can customize the default values for HTTP headers, let's say for changing the "Accept-Encoding" header in an HTTP request (type "about:config" in browser and serach for preference "network.http.accept-encoding", you can double click this value and can customize it)
Can this be possible in Internet Explorer?
Recently...
I'm trying to POST a http request using ajax, but getting a response from the apache server using modsec_audit that: "POST request must have a Content-Length header." I do not want to disable this in modsec_audit.
This occurs only in firefox, and not IE. Further, I switched to using a POST rather than a GET to keep IE from caching my re...
If you're using Firebug (Firefox) and you type in javascript in the Console command line and press enter it executes. However, for good reason, when you expand the command line into a multi-line text area to the right then pressing enter does not execute the code. Instead you have to click Run at the lower left of this window.
Is there ...
I have the following code that positions a popup under an element. This works properly only if the Fx window is maximized. What do I add to account for window's position relative to the screen, so it works for a window in Normal mode as well?
var elm = document.getElementById("back-forward-dropmarker");
var x = elm.boxObject.x;
var y = ...
Hi,
In my app i create a PopUpPanel setting a Frame as the content widget. Unfortunately after this popup is clicked the history gets messed up in firefox and History.back() doesn't work. All works fine in IE.
Any workarounds?
...
I've set a ondrop event on my drop area and it receives an event when I drag an image from my desktop to the drop area.
However, according to the Recommended_Drag_Types document:
https://developer.mozilla.org/en/DragDrop/Recommended_Drag_Types
A local file is dragged using the application/x-moz-file type with a data value that is a...
Hello, I am making a Firefox extension and would like to give my users more control over the look and feel of things. In my extension's preference pane, I would like to achieve something close to this:-
CodeProject: Custom Color Dialog Box
I know I can achieve this by making lots of different divs for as many colours as possible and ad...
Hello
I begin to have a solution for my previous question Overlay SVG diagrams on google map.
But I have another (smaller) problem. I am using Firefox 3.5 and Safari 4 (on Mac), and when I am embedding SVG in a XHTML, I do not have at all the same result.
I can use the <object> or the <embedded> elements (but I think the last one is d...
I've read that Firefox 3.5 has a new feature in its parser ?
Improvements to the Gecko layout
engine, including speculative parsing
for faster content rendering.
Could you explain that in simple terms.
...
Guys, I've came across this problem I can't resolve myselg, I'm pretty sure I miss something pretty obvious, but that's usually how it is.
I'm developing my asp.net webapp in VS2008, XP SP3. When I want to debug, the asp.net starts the development server and the default browser associated with the vs2008 opens up and loads the page. In...
I'm trying to build a Firefox addon, but I simply cannot find the documentation for the internal (Firefox/Gecko) classes that addons may access. Or is standard DOM manipulation all that's possible?
Looking through some addons I see a lot of nonstandard Javascript objects created, so I'm sure there's more to extending Firefox than meets ...
When I run the JavaScript code below in Mozilla Firefox, the menu bar does not show:
window.open(location.pathname + "?print=print",
"print-window",
"toolbar=yes,location=no,scrollbars=yes,menubar=yes");
What is going wrong here?
Note that I'm opening the same file (in another w...