browser

Javascript implementation of XML differences

I need to know. Is there some javascript implementation exist to handle deltas between XML data ? So main point is to detect difference existence, it doesn't matter what was changed: attribute or node value. Requirements are following: each node will have unique id (it's one of simplifications made to find more candidates-libraries) ...

How to clear/expire browser cache on log off?

In my ASP.net MVC application, I've got several views that I'd like to set to save in the browser's cache. I've got the methods built to do it, but here's my issue. The menu in my site is different between logged in and logged off visitors. If the logged in page is cached, then even when the user logs off the menu remains in the logged ...

HTA's; use other browser to host?

If Microsoft's method for using IE as a local host for HTA's then, can I use any other browser instead? ...

IE7 question: under what condition the ActiveX warning appears?

I have two html files, but contains javascript. But wired enough, when I open one of them the ie7 displays it w/o any warning but the 2nd one always shows the warning message saying this file contains ActiveX/javascript bla, bla. I compare those two files, no difference. Anybody gets any clue? Thanks in advance! ...

Prevent IE from refreshing when keypress is handled

How can I prevent IE from refreshing when Ctrl-R is handled in the page by script? This also goes for things like opening the browser history, etc. The solution does not need to work in Non-IE browsers, but it must work in both IE 6 and IE 7. Is this even possible? ...

CSS Performance Question

I was wondering what the experts do when it comes to writing CSS code. Is it bad to use the tagname.className style? Does inheritance cause a noticeable performance loss? Does it only affect the browser when loading a page or also after? eg: user scrolls down further the page, would poor CSS be a culprit to sluggish scrolling when viewin...

what is better redirecting user from restricted area and not informing him what happend or telling him that its restricted??

For example : user "is trying" to enter restricted area ( i.e. admin area on webpage ) , what is better kick him out from there without a single word or inform him that this is admin area and he is forbiden to enter. ...

Is it possible to embed an http link in a vbscript message box?

I would like to direct the user to an appropriate download link per case. Can I embed a clickable link in a vbs message box? Or, is there a cleaner way to solve this problem? select case FSO.GetFileVersion(strCorLib) Case "2.0.50727.42" strNETVersion = strNETVersion & " SP0 (not so good!)" Case "2.0.50727.1...

Auto detect mobile browser (via user-agent?)

How can I detect if a user is viewing my web site from a mobile web browser so that I can then auto detect and display the appropriate version of my web site? ...

E-mail in a pop up window

Hi! I would like to have a new e-mail window to pop up when I change value on an attribute. Does anyone have any suggestion how to fix that? ...

Problems with a web based browser

Hi everyone! I want to develop an asp.net website which gets an address as an input and fetches all contents of the website and changes links and js path and css paths which causes the content to be displayed correctly, and then Response.Write all of this content to my website. My question is that what's problems with this work, I mean...

Using NetConnection and URLStream to send/recieve data at high frequency

I'm writing a Comet-like app using Flex on the client and my own hand-written server. I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends). I also need the server to push short bursts of data at a similarly high frequency. I'm using NetConnection.call() to s...

Preloader Not Appearing Iin Chrome and FF (Flash AS2)

Hi, Recently I create a photography website which has a gallery showcasing different albums. I have done up the albums as separate swfs to be loaded into the main swf when selected with a preloader to indicate progess (and masking of the unfinished content till 100%). The preloader is a usual getTotalByte one, however when viewing this...

Getting jQuery to work with Netscape 7 and 8

Netscape fails to read a lot of jQuery written. What steps do you take to overcome these, and how much of the market do netscape users take up? ...

Embedding PDF from server in Browser

I have an ASP.NET web application.I have some PDF files in my server .I want to show those to the user via browser in a new window.how to embed PDF in a browser ? i want the save option to be available for the user to save the PDF .How to go ahead ...

How can I close the child window if the parent window is closed?

I have a web application that pops up another window. If the person closes the main browser window, I need to close the child window as well. Is this possible? If so, how? ...

Keyboard code mapping in Adobe Flash/Flex for the browser

N.B. Keep in mind the difference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes. I'm programm...

On blackberry and android : calling native application from a web browser ?

Hi, I'd like to know if it's possible to associate a protocol (for example: 'myapp') to a native application installed on a Blackberry (or Android) so that if a user types in 'myapp://xxx' in a web browser it calls the native application. In this case, how is it possible to achieve it ? As far as I understood, it's possible to do it wi...

How to detect timeout on an AJAX (XmlHttpRequest) call in the browser?

Hi everyone, I'm looking on the web, but documentation is hard to come by. We all know the basic AJAX call using the browser's built-in XMLHttpRequest object (assume a modern browser here): var xmlHttp = new XMLHttpRequest(); // Assumes native object xmlHttp.open("GET", "http://www.example.com", false); xmlHttp.send("");...

What is a Good Response to "Best Viewed in x"?

Is there a good response to the statement "Best viewed in x"? Specifically, I was trying to access a site and the site was horribly broken on Webkit browsers. I sent an email to the webmaster including screenshots. The webmaster responded to me that the site "is best viewed in Internet Explorer." Now there are some other issues with th...