browser

Recommended website resolution (width and height)?

Hi, Is there any standard on common website resolution? We are targeting newer monitors, perhaps at least 1280px wide, but the height may varies, and each browser may have different toolbar heights too. Is there any sort of standard to this? Thanks in advance! ...

Browser Caching of CSS files

Quick question regarding CSS and the browser. I tried searching SO and found some similar posts, but nothing definitive. I use one or two CSS files in my web projects. These are referenced in the HEAD of my web pages. Once I hit one of my pages, does the CSS get cached so that it's not re-downloaded with each request? I hope so. Do IE, ...

Howto open a link in a pdf-file in a new window?

I have a link in a pdf-document (PDF1), which is embedded in a browser instance. Or let's say the Adobe Reader is embedded in a browser window. In this pdf-document (PDF2) is a link to a servlet, which view opens another pdf-file. Now the new pdf-document is opened in a embedded Adobe Reader in the same browser window. How can this doc...

Launching a web page in a different process

I want to launch the browser in a different process when a particular link is clicked on the page. When I checked the net I found the following tip: http://www.dslreports.com/faq/3849 . But there we have to change the registry. Is there any simple way of doing this without touching the registry? ...

How can I have somehing like the html file button to browser in file in JAVA swing?

I am trying to create my first UI page though Swing. In this page I wish to browse for a file. Can someone please help me achieve this? ...

Lobo Cobra HtmlPanel does not update GUI after JavaScript action

HI, I started implementing a HTML Browser in Swing. I want to use the Lobo Cobra toolkit because this toolkit inclused a renderer and parser for CSS and JavaScript. The pages are looking very nice and it is easy to use (one class implementation to show a html page). I want to show HTML pages in swing which can show javascript generate...

What are the posibilities to make a browser communicte with COM ports?

One of the requests of my project is to make a website take in measurements from a weighing module. This module currently works with a standalone app through a COM port. What would be the possibilities to perform such a thing through a browser? Is it possible at all? ...

What external resources are loaded when window.onload event is fired and what is the loading order of the resources?

Since a single web page may contain lots of external resource: external javascript, external css, images, applets, flash, etc., usually my conventional wisdom tells me that the window.onload event is fired when all the linked resources are finished downloading(though the external resources are usually downloaded in multiple threads or pr...

Good browser plugin to display TIFFs

Hi, I'm trying to develop a web version of an app we have that stores document images. However, a good portion of the images are tiff's, which IE can't natively display. Can anyone recommend a good plugin that will display them properly? ...

How are programmers tackling ie6 bugs these days?

I have been using dean edwards ie7/8 script. Not sure if it's my implementation or not but sometimes I would experience ie6 issues that weren't quite fixed or required special handling which meant I would be back where I started, caring about ie6. So, I was wondering if ie7/8 is still the go or if some other practice/solution was better....

Any way to prevent "deselection" of highlighted text?

Highlight some text on this webpage, then click basically anywhere on the document. Your selection will disappear. Is there a way to prevent this behavior when the user clicks on a specific element, either by CSS or Javascript? E.g.: var element = document.getElementById("foo"); foo.onclick = function(e){ //some magic here that pr...

Audio/video streaming to mobile browsers

I am developing a WAP/mobile website that would allow users to stream audio/video (although the priority is audio) via their mobile browsers.. For music I would be streaming mp3 files, and for video I would be streaming flv and 3gp files (but mostly 3gp). Can anyone recommend solutions (i.e. what to use and/or a point to the right dire...

Possible to flash a Browser window using Javascript?

Like many programs flash their window on the taskbar / dock to alert the user to switch to the program, Is it possible to flash the Browser window using Javascript? (FireFox-only scripts are also welcome) This is useful for web-based Chat / Forum / Community-based software where there is lots of real-time activity. ...

How is "Are you sure you want to navigate away from this page? " generated in browsers?

I have a page where I open a "modal window". It is really just a DIV, with an IFRAME inside, where I load another page. When I want to refresh the page, the browser pops up a window saying "Are you sure you want to navigate away from this page? Reloading this page will cause the modal window to disappear. Press OK to continue, or Cancel ...

Browser Detection in HttpModule

Is there a way to detect what browser the request is made in the HttpModule? Thanks. ...

Firefox 2 - HTML button is just solid grey. All other browsers fine: wtf?

Hello all, I have a site that has a simple HTML button in a form. All browsers show this button correctly. However, in Firefox 2 and Seamonkey it appears just as a solid grey square that cannot be clicked on and that has no text. <input id="getaudiobutton" type="button" value="Get Audio" onclick="convert()" /> For those of you that h...

Flash Player trust file not working with Embedded browser on linux

Hi, I have an application which embeds a browser based on Xulrunner inside it. I have couple of flash swf files I need to load in the browser. The swf files talk with a javascript to change the page title and also to change the URL when I am browsing through the content in the URL. I need the URL change because I need to remember where ...

How to determine latency of a remote server through the browser

I run a couple of game tunnelling servers and would like to have a page where the client can run a ping on all the servers and find out which is the most responsive. As far as I can see there seems to be no proper way to do this in JavaScript, but I was thinking, does anybody know of a way to do this in flash or some other client browser...

How to define if default browser opens the needed page?

I have my program written in C#. It has label link. I need to define programmatically, when I click this link (programmatically too), if default browser opens the needed page. C# ...

Best Way For Back Button To Leave Form Data

I'm creating a web page based on user input from a form. After the user sees the generated page I want to allow them to press the back button and make changes to the form. I would like to display the form as they had filled it out previously. What is the best way to get this behavior (with cross browser support)? ...