browser

Browser timing out Javascript recursive function, how to solve ?

Hi, I had to develop a newsletter manager with JS + PHP + MYSQL and I would like to know a few things on browser timing out the JS functions. If I'm running a recursive function that delays a call to itself (while PHP returns a list of email), how can I be sure that the browser wont timeout this JS function ? I'm asking this, because ...

save and load browse window / tab layouts

I have a large web application where the user will setup many browser tabs and browser window layouts. For example, having 2 windows open vertically next to each other. I need a way to save it and then load it later. So from analysis i need to: 1. Detect what bwoers tabs are using a certain URL. 2. Detect their position. 3. then save i...

How to resize a browser in flex

I would like to open a new windows when a user clicks on a button so I would like to resize the browser (for example let's say I get the screen size (width) is 1000, I want to resize it to 700px and then launch a window next to the browser that is 300px in width and 100% in height. How do I resize the browser window using flex (and how d...

How to position a pop up to be in the top right part of the screen

What I want to do is to change the size of a window and create a window next to it so they are exactly next to each other. In that sense, I need to position to the new window to the top right part of the screen, the way I am doing it is not working (code is below), I need help :) function () { var viewportwidth = document.documentEl...

Make changes to a browser window once another window is closed

So, I have a browser window that if you click on a specific button on it, it opens another window next to it, resizes the first window and then puts the new window next to it. This is great, however, I want the first window (the original one) to go to full size when the 2nd one is closed. (Whenever the user closes the 2nd window he/she o...

I have javascript code that splits the screen, however, how do I run it from a flex application?

So, this code splits the screen into two frames: Javascript:A14nH=location.href;L3f7="http://www.google.com";R1Gh7="http://www.google.com";if(L3f7&&R1Gh7){Fr4Q='<frameset%20cols=\'*,*\'>\n<frame%20src=\''+L3f7+'\'/>';Fr4Q+='<frame%20src=\''+R1Gh7+'\'/>\n';Fr4Q+='</frameset>';with(document){write(Fr4Q);voi...

What is the best way to check whether javascript is enabled in client browser?

I am developing an application that uses javascript to perform some arithmetical calculations in forms. I would like to check if javascript is enabled in user's browser. If it is disabled redirect the user to warning page asking to enable javascript. I am aware of <noscript> tag. It is not enough just to display the message for me. I do ...

What is the difference between "Source" and "Generated Source"?

What is the difference between "Source" and "Generated Source"? Please explain with example. Edit: 3 July Which source "Search engine" uses, Generated or before generated? ...

How to detect IE7 with jQuery?

How to detect IE7 with jQuery possibly using jQuery.browser? ...

How to redirect browser from POST request to GET a new location? servlet

I'm using GAE with Java servlets. I have a form POST request, and I have to redirect the browser to a new location with GET method. How can I do this? ...

How will Google Native Client change the way we use Browsers?

I just came across Google Native Client Now, it looks really interesting that they ported Quake to run on a Browser and you can run C++ code on a browser to process things more quickly, but I am trying to understand, what is the practical usage of NaCl? What is the vision behind this by Google? To run software as a service on their "c...

How to detect .NET framework installed in a web page (pure HTML or PHP)

I need to display additional information on a web page (PHP) if one of the following criteria is met: .NET Framework Installed on the client machine in lower than 3.5 Impossible to determine if .NET Framework 3.5 is installed or not on the client machine I know that some browser (if not only one, IE) is sending that information in hi...

Jquery IE only error !

Hello, I have this script to copy multiple value of textbox1 [which are separated by ENTER] to textbox2. It works perfect in all browser except IE. In IE all multiple values [which are separated by ENTER] are copied in single line *[without ENTER]* like a single value, Which in turn affecting my form submission. my code is something ...

What are my options for indexable local storage in the browser?

So I'm really digging using localStorage for web apps and it works great... if you need a key-value store. However, I also find that my storage needs include something that looks like database tables with primary key - foreign key relationships. I had hoped IndexedDB would shape up sooner, but I'm disheartened by the less-than-ideal so...

Automatic JRE installation

Good day, Is it possible to have a web page automatically install the JRE? The reason for the concern is that I want to use Java for multimedia content on a web page, and not have to have the user manually download and install the JRE if they don't have it already. . ...

How to substitute a content of certain javascript reference with local script for debugging?

I need to debug jasvascript loaded by page. Loaded page are not locally placed. Loaded js is packed. I want to substitute it with unpacked version. Is there any tricks or browser options to make it? ...

Why browser is trying to download my php script file?

Hi there everyone. Just a quick one - I wrote a php script recently that dynamically creates XML file using API DOM. So I'm using this at the beginning: $dom = new DOMDocument('1.0', 'UTF-8'); And at the end it looks like this: $server = $_SERVER['DOCUMENT_ROOT']; $path_to_xml = "$server/project/file.xml"; file_put_contents($path_to...

Image Loads and then disappears

I'm having this weird problem one of my pages. The page is XHTML valid, loads perfectly fine on Safari, Firefox but on Chrome the images load fine and then disappear instantly leaving that small icon that appears when the image is not found. I tried disabling all the javascript on the page, but still no luck. I can post a video of the be...

Client Side CAPI Access

How can I access Microsoft's Crypto API from a client side Web application? More specifically, access user's Windows-MY certificates through a web browser and use them to encrypt data. I've looked at CAPICOM but it is no longer supported by Microsoft. I've also looked into Java's Cryptographic Excention and MSCAPI provider but it does no...

Get HTML Tags before the document.ready(), before DOM rendering

I am looking for such a method which allows me to add, remove DOM objects of a page before the DOM has even rendered, I mean the first JS that i include in the head tag of my page can come up, look for a specific tag say and remove it from the HTML even before it is rendered, I know that the javascript call is blocking so as the browser...