mozilla

Multiline tooltip via ASP.NET in Mozilla Firefox - is it possible?

Is there a way to have ToolTip on web control (ImageButton to be specific) that looks like this in Mozilla Firefox browser: John Smith Age 24 Gender: male ... Tried Environment.NewLine, \n, \r\n, @""(with "" string literal spanning over several lines of code). All these things work perfectly in Internet Explorer 7, but in Mozilla all N...

Writing Efficient CSS

Sorry if this is waaayyy to basic of a question to be asked here. But here goes... Ok so in another question something was being discussed, and this link was mentioned: https://developer.mozilla.org/en/Writing_Efficient_CSS In that article, they say some things I didn't know, but before I ask about them, I should ask this... Does that...

how to create an nsIFile object using URIs

I'm making extension for firefox, and I want to my extension open a file like "file:///home/blahblah/foo.txt" and then put content of this file in text area. Its easy with files "http://", but i cant do this with "file://" ...

Flexible canvas in XUL

Hi all, I have a XULRunner application that I want to have display 2d graphics in a HTML element. I would like to be able to repaint those graphics when the window resizes. The layout looks something like this: <box flex="1" id="canvas-box"> <html:canvas id="canvas" flex="1"> </html:canvas> </box> First of all the "width" and "heigh...

google doesn't want to be innerred (XPCOM)

Hi, I'm trying to make an firefox extension. Why when I want to use document.body.innerHTML = data; in new opened tab, it doesn't work. Here is my code: function change() { //Open google in new Tab and select it tab=gBrowser.addTab("http://www.google.com"); gBrowser.selectedTab=tab; //Create nslFile object var path="/home/foo/notify...

var doesn't exist in other functions (javascript & firefox extension)

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...

Mozila Firefox Tool Tip Text

to any component in html when i add tool tip text by alt="my tool tip text". it works in other browsers but not in fire fox. why. is there a way to enable it in firefox ...

Why doesn't GetMenu work on Mozilla menus?

I want to get the Mozilla menu handle but GetMenu returns zero. On Notepad it is true. Why? ...

How obsolete is "Creating Applications with Mozilla"? (the book)

I have the book "Creating Applications with Mozilla", though I haven't read it yet. According to the book's web site at http://books.mozdev.org/, It is "very out of date." How out of date is it? Is it a decent reference, but doesn't cover new APIs, or is the stuff it covers things you shouldn't be using anymore? Is it decent as a XUL/XB...

java browser using mozilla webclient

Hi, I have downloaded the xulrunner.zip and webclient_2_0_a9_rc3.zip . Can some one explain me through a simple code of JAVA so that mozilla webclient will call any web page. I want to call a we page in a jframe.A simple demo that implement calling of web page in jframe using mozilla web client. Please help.I just need to know how to i...

HTML Parsing Error

I can't find out what the problem is, and why I keep receiving this error in Internet Explorer 8, as it's the only error that I am receiving. Any thoughts as to what it means, or a simple solution? I haven't noticed any problems with my code though, it's just the message that bugs me. Webpage error details. User Agent: Mozilla/4.0 (...

Serialize JavaScript data structures for SQLite

My goal is to serialize JavaScript native datatypes for storage into an SQLite database. I'm doing this within a Firefox extension, and so I have access to the Mozilla platform XPCOM api. Initially I was thinking that the easiest thing to do would be to just store JSON strings. However, if there is a way to serialize native datatypes w...

Is the vertical bar (|) valid CSS or Firefox specific?

I noticed this rule in Firebug: *|*:link { color:#0000EE; } I'm not sure that I've ever seen the vertical bar (|) before. It's in the about:PreferenceStyleSheet so it may be Firefox specific. What does it mean? Any link to a reference? I thought possibly that the vertical bar was an "OR", but that's the comma in CSS. ...

Programmatically Install Certificate into Mozilla

Howdy all, Is there a way to programmatically install a certificate into mozilla? We're trying to script everything to eliminate deviations in environment so installing it by hand through mozilla preferences does not work for our needs. I assume theres a way to do it with certutil, but I am not sure of Mozilla's internals, etc. ...

ssl_error_rx_record_too_long

I've googled this error but came up with no solution, this happened when I installed oracle database 11g, I tried to reach https://localhost:1158/em and this error pops up in firefox Secure Connection Failed An error occurred during a connection to localhost:1158. SSL received a record that exceeded the maximum permissible length. (...

mozilla link does not get updated

I am unable to see the updated CF fiel on mozilla , where as it works fine on Windows. Working on a coldfuison 'MX. In the folder kings.com/ ,the page "testGuide.cfm" exists.In it the values have been defined as <cfset TestGuide = "#appDirMisc#testGuide.html"> <cfset TestexZip = "#appDirMisc#TestGuide.zip"> <cfset TestGuideEx = "#...

issue with asp.net listview paging in mozilla

I have code like this: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { // Do something } } When I click on paging in datapager, first the IsPostBack condition is skipped since it is a postback and then control moves to listItems_PagePropertiesChanging() event. After executing this event...

Servlet on Tomcat is not accessible from my browser

Hi, I've installed Tomcat 5.5 in windows Xp, but when I try to run my servlet by typing for instance localhost:8081\Servlet\Servlet1 in Mozilla browser, I'm getting blank page . I already uninstalled, and then reinstalled it, but it didn't work. I've to keep refresh the page, to make my servlet run. What's the reason of not running Tomc...

User Interface Markup Language pros and cons...

I learnt about some declarative UI languages such as XUL for Mozilla/Gecko and HTA for Microsoft at Wikipedia. What would be the advantages/disadvantages of these markup languages? Why don't common OSes and Applications use these techniques? Do these languages impart flexibility to the system? Are there any OSes that use markup lan...

Mozilla Parser for screen scraping

I'm writing an app that takes in HTML code of a page and extracts certain elements (such as tables) of the page and returns the html code for those elements. I'm attempting to do this in java using the Mozilla parser to simplify the navigation through the page, but I'm having trouble extracting the html code needed. Maybe my whole appr...