Hi everyone,
i have a chat window which has a close button(input type='image') and onclick i want to remove the chat window from the parent node and i use this code
closeBtn.setAttribute("onclick", "return closeContainer(cc" + friendId + ");");
please note that this button is created through javascipt and the cc223423432 (say) will b...
I want to have a default Firefox selectbox, but unfortunately I have a css instruction (which i can not alter or remove) that gives all select elements a background and border. Which makes Firefox transform the nice default control to an ugly squared one. Is there a way to remove/revert those instructions?
select {
background-color:...
I added this code to my web page:
<input id='argh' type='text' onfocus='this.value=7'>
Unless the browser window is active, the focus event does not seem to fire (using the 'focus' command) from Selenium:
# [info] Executing: |waitForElementPresent | argh | |
# [info] Executing: |focus | argh | |
# [info] Executing: |verifyValue | arg...
I am using Selenium Remote Control and I hate when it starts running the tests when the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I make it so it loads full screen?
...
I have a Web site with a message board. The board lets people post messages and include attachments. I had a problem where my site was hiccuping every time someone wrote a post with non-Unicode characters. In an effort to solve it, I changed my HTML form code from
enctype="multipart/form-data"
(as I'm accepting file uploads) to:
enct...
Hi,
I'm creating an extension for the Firefox browser. I would like to read a cookie which was set by an HTML page using JavaScript in the XUL file. Is it possible?
I tried using document.cookie, but it doesn't work:
function readCookie(name) {
var ca = document.cookie.split(';');
var nameEQ = name + "=";
for(var i=0; i < ca.len...
Hi. I made in GWT custom modal message box. It has also bottom layer. This means that I expect restriction of any user action at the page except clicking 'Ok'.
I made something like this (click on the 'show dialog box').
I have made bottom layer that covers all bottom controls. It has style:
.glass {
background-color: #000;
op...
I have 2 aspx pages, in a postback event from page 1, i add data to the current context, then do a server.transfer to page 2. this all works as expected, however due to the server.transfer, the address bar still shows the url for page 1.
the weirdness comes when i click a button on page 2.
in IE (7 or 8) when i click a button on page ...
I'm trying to use an XSL file to transform an XML file into an XHTML file. How can I view the XHTML source that is output after the transformation. I'm currently viewing the results through Firefox, but all I see is the rendered version of the XHTML file. I want to see the source, but when I go to View->Page Source, all I see is the XML....
I'm writing a Firefox add-on and most of the time using
document.addEventListener("scroll", scrollListener, false);
works just fine. However on cuil.com that doesn't work. Basically any site that has a fixed header or footer that doesn't scroll causes a problem with the above code. How do I determine which element to add the event li...
I'm using an XSL file to transform a XML file to a XHTML file. I am trying to create an element li and set the "style" attribute to the value "hello:"
<li><xsl:attribute name="style">hello</xsl:attribute></li>
I get:
<li style=""></li>
But was expecting to get:
<li style="hello"></li>
Anybody have any idea what's going on?
...
I have a simple animation which moves some vertical bars a certain distance and then back. I am using the animate JQuery function and with it modifying the left property of the divs. All is well in Safari and Opera (Mac), but in Firefox (Mac) the vertical bars get distorted -- as if the rendering of the top of the bar is not in sync wi...
Hi guys,
After 3 days digging in this Mozilla NSS and the Firefox source codes (and some extensions and running the SSLsample codes too), I'm clearly lost now.
My intention is just to do simple thing. To divert any https request from Firefox to my very own callback functions. In which, my callbacks here have some information for the NS...
Hi All,
Does anyone know who to find an event occurrence on a toolbar in firefox.
I want to do event logging on toolbar in firefox.
Thanks
...
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...
EDIT I just realized that I must have had a massive brain fart while writing the abbreviated code sample. See, I'm using smarty. Thus, I'm actually already using Kips's solution, because smarty displays after the session is saved
I've been working on implementing a resource manager (for condensing, compressing and minifying CSS & JS) ...
Is it possible to capture the contents of either the Firefox or IE javascript error console? I'm thinking adding a feature where when a user clicks the 'Report A Bug' link on my site, it also sends along the contents of the console, incase there are any useful errors in it. That way I don't have to tell them to manually open it and copy ...
Hi all, i have to automate the firefox application to do a functionality testing,
kindly help me which testing tool i can use
thanks
...
I have a div that holds a Silverlight object tag. From the code on some user action (click on a button) I am expanding the Div to total browser window. I am doing it through Jquery addClass and Remove class. In those classes the difference is position absolute , height width 100% and increased z-index.
It is running well in Ie7 and IE8....
I am getting an error that is only reproducible in Firefox.
In IE, it always works.
I have an ASP.NET application that targets an applet. For most functionality, it works great, but when I run one function (a function that does a lot of different things), the methods on the java applet seems to be unavailable! When I call any functions ...