browser

IE toolbars - getting tabbing to work correctly

hey all, I've implemented an IE toolbar, hooking up the TranslateAcceleratorIO, HasFocusIO and UIActivateIO methods of the IInputObject interface. Tabbing between my toolbar and the rest of the IE interface works great... but only after you've tabbed in to the toolbar for the first time? What I've noticed is that the expected calls to ...

Preventing webform resubmission on browser refresh without losing viewstate

Duplicate: http://stackoverflow.com/questions/305684/how-can-i-prevent-database-being-written-to-again-when-the-browser-does-a-reload Is there a nice elegant way to stop an .aspx page from resubmitting form data if the user requests a refresh from their browser? Ideally without losing the viewstate. EDIT: The most elegant solution f...

Is WebKit among those browsers implementing the upcoming x-domain XMLHttpRequest features?

Many of the upcoming generation of browsers (FF 3.1, IE8) are going to support cross-domain XMLHttpRequests in one fashion or other (with security concerns, as long as the server opts in, etc). Is the same bit of functionality going to be in WebKit? FF: https://developer.mozilla.org/en/Cross-Site_XMLHttpRequest IE: http://blogs.msdn...

Is there a limit to the number of Javascript objects you can have on the go at any one time?

I'm looking into converting a flash app I have into Javascript but was told that it probably wouldn't be possible due to the number of objects I would have to have on the go. Can anyone tell me if this is true and, if it is, what the limits are? TIA, Urf ...

When to stop caring about a browser

The question is simple really, when is it time to finally pull the plug on a browser version and just not care about supporting it any more? As can probably be expected this is in regards to IE6 specifically right now. A site I'm working on right now has a mostly-finished design that needs to be integrated but most of the back-end functi...

Jquery toggle on window minimize.

I have a div that toggles in and out of display when you click on another div. How could I modify my code so that when the user minimizes the whole browser window it automatically toggles, hiding the div from view so when the user un-minimizes window the div is no longer visible. ...

How can I make my jquery draggable / droppable code faster?

Hi, I've used JQuery to make the elements in a table draggable. (I've never used JQuery before this). It works fine, but is very slow. For example, from the moment I click and hold on an item, to the moment the cursor changes is about 2 seconds. This is on Firefox 3.0.6. Once the item is being dragged, there's a shorter, but still notic...

How to record voice in a browser?

I need users to record their voice on a browser and then automatically upload the resulting mp3 to a webserver. I am thinking the user presses a big fat start record/stop record button to do this. This would then save a file on the users hard disk. Then it would be efficiently compressed and automatically ftp'd up to a website. Is it ...

how to debug swf browser crashes

My swf is occasionally crashing the browser (or just crashing the plugin as chrome tells me). How do I diagnose the bug? I am developing for flash player 9 using flex. Things I have tried: Turned on log files so I can see trace("...") output. However, my log files, and my swf, are ending at inconsistent termination points. Insta...

How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is fired, it is queued until one of the other 6 finish. What are the numbers for the other major browsers? ==== Update: ==== Here's the list so far -- please help complete it! Number of concurrent requests of any type (including...

Is there anyway to trap the closing of a web browser?

Two years ago I had a need to trap the closing of a web browser as a javascript event for a web app. At the time I found there was no way doing this that worked for all browsers. IE had an event that I could used, but it was IE specific. I looked into other work arounds, like a heart beat sort of ping to the server, but I didn't like ...

Cache Expire Control with Last Modification

In the Apache's mod_expires module, there is the Expires directive with two base time periods: access, and modification ExpiresByType text/html "access plus 30 days" understandably means, the cache will request for fresh content after 30 days. However, ExpiresByType text/html "modification plus 2 hours" doesn't make intuitive sense. ...

How Is My Password Transferred from My Browser to the Web Server Securely?

How is the password I enter in, say a Gmail login form, transferred to the web server securely? What does the browser or any client application do? What does the web server do? ...

Identifying Between Refresh And Close Browser Actions

When we refresh the page (F5, or icon in browser), it will first trigger ONUNLOAD event. When we close the browser (X on right top icon),It will trigger ONUNLOAD event. Now when ONUNLOAD event is triggered, there is no way to distinguish between refresh the page or close the browser. If you have any solution then give me. ...

Applet is empty with absolute layout

Hi there, I want to create a hangman game as an applet, so I have some labels and buttons that will be initialized by the generated code of the gui designer but I also have some labels I create on my own, after knowing how long my word is. Therefore I use absolute layout for my applet. In netbeans my applet works finde when I run it bu...

Where do you need scripting in browsers?

Browsers, like Elinks, support scripting. Where do you need it? [Clarification] I meant where users need to do their own scripts. It must do something with data manipulation and extraction. Can scripts help me to become faster? ...

Running IE6, IE7, and IE8 on the same machine

Like everyone else ;), I need to test my code on IE6 and IE7. Now IE8 has some great tools for developer, which I'd like to use. I'd also like to start testing my code with IE8, as it will soon be released. The question is: how to run IE6, IE7, and IE8 on the same machine. So far with IE6 and IE7 I've been using Multiple IE. But people ...

Jan 2009 Microsoft update breaks mp3 sound objects in IE7

There are a couple of web sites I maintain that use HTML audio/mp3 objects within a page. They use to work but then something broke. The pages rely on Windows Media Player if the client browser is IE. A month or so ago, the object would appear as a WMP control. It should look like this But now what appears resembles a mail slot a ti...

Detecting IE6 using jQuery.support

Anyone have any ideas on how to test for something specific for IE6 (and not IE7) using jquery.support? My problem is that IE6 supports :hover psuedo-class only for anchor elements and IE7 does support it for all elements (as FF, Chrome, etc). So I want to do something special in case the browser does not support :hover for all elements...

Listen for multiple messages from the server using AJAX: JQuery

Hi I make an AJAX call to a PHP script like so: function convertNow(validURL){ $.ajax({ type: "GET", url: "main.php", data: 'url=' + validURL, success: function(msg){ alert(msg); }//function });//ajax }//function convertNow From the above all it does is receive a lot of text f...