I have a c# windows form project using watin.
I would love to attach to the web-browser control on a form, is this possible? Is there any sample code on how to attach to the embedded web-browser control.
//Looks like this only works for actual IExplorer instances.
window = WatiN.Core.Browser.AttachTo<WatiN.Core.IE>(WatiN.Core.Find.ByTi...
Hello,
The title is self explanatory I guess.
How can I develop a C# application to open a page in a web browser, given the URL, and refresh it continuously (always the same URL).
Thanks!
...
Is there a framework which can be used in your application, to make it expose internal objects on some port for inspection.
for.e.g. after i start my application in this case a GUI Application, and then say launch http://localhost:9100 then it should show me the statistics of the app.
I played a bit with HttpListener accepting connec...
How can I get several GridViews on a single page to share the same Column widths?
I have four GridViews with (essentially) the same columns in each. They have unique headers and represent data from different queries. I want to maximize readability by allowing the columns to be dynamically sized based on the data but I don't want each ...
My site displays just like in need in IE and Opera, but in Firefox I can't get (via CSS) to have font sizes smaller than Firefox' default minimum-font-size. Of course I can go to Tools>Options and remove this value, but other users will see some of the elements displaced.
I have tried using !important, but it doesn't work. And I can't s...
The HTML5 spec defines some very interesting validation components, including pattern (for validating against a Regexp) and required (for marking a field as required). As best I can tell, however, no browser yet actually does any validation based on these attributes.
I found a comparison of HTML5 support across engines, but there is no ...
I doubt this is possible, and I'm certain to do it in a production environment would be an impressively bad idea. This is just one of those hypothetical "I-wonder-if-I-could..." things.
I was wondering if it is possible to modify or extend how the browser JavaScript engine parses the code at run-time. For example: if I tried to use...
I am calling a jsp based on 2 parameters which is passed from jsp 1 in this way.Below i pass 2 parameters into 2.jsp and based on these 2 parameters data is displayed in 2.jsp.I have a loop in which i have a number of hrefs like the one i have described below.Each of these href passes a different set of value to 2.jsp.
out.println("<a h...
searchVersion: function (dataString) {
var index = dataString.indexOf(this.versionSearchString);
if (index == - 1) return;
return parseFloat(dataString.substring(index + this.versionSearchString.length + 1));
}
... returns browser version, in my case, its "3.6". Since I'm going to use this as a class name, I want to remove ...
var os = $.client.os; // mac
var browser = $.client.browser; // firefox
var browserversion = $.client.browserversion; // 3
$('#root').addClass( os + browser + browserversion );
.. results in <div id="root" class="macfirefox3">. How do I add spaces between them?
...
I've just gotten into web development seriously, and I'm trying to make a page that appears the same physical size ( in inches ) across all browsers and platforms
I believe a combination of percentage values and inch values can make a consistent UI.
my own system is a 15.4 inch screen with 1920x1200 pixels i.e. 144 DPI.
Here is the mo...
Are there any browsers that implement the DOM3 EventListenerList interface?
http://www.w3.org/TR/2001/WD-DOM-Level-3-Events-20010823/events.html#Events-EventListenerList
...
Is it possible to derive the preferred language from a httpsession object (javax.servlet.http.HttpSession) ?
It is possible to get it from the servletrequest but I dont have that.
Thanks for any ideas.
Sven
...
Hi all:
There is a web application for me to build, and rather than image map, I would like to try something more elegant.
The story is, there gonna be a global map where different continents are denoted by different colors.
Say Australia is red and Asia is green.
Will there be a way that when my mouse is hovering on the shape of Au...
This is about a web app that serves images. Since the same request will always return the same image, I want the accessing browsers to cache the images as aggressively as possible. I pretty much want to tell the browser
Here's your image. Go ahead and keep it; it's really not going to change for the next couple of days. No need to co...
Hi, I am using jQuery along with a large number of other jQuery plugins. I have an issue where if I have two instances of Firefox or IE open (in Vista), then when my page loads it automatically switches to the other browers instance (either other FF or other IE). If there isn't a second browser instance then nothing happens.
I have adde...
My task is to create a simple web browser in Java.
So far it can only read HTML pages.
I'm using standard JEditorPane component to display webpages.
Now I was wondering is there any way you could explain me how can I manage to display at least some simple pages that contain CSS/Javascript.
If you could point me to some useful links or...
I generate output with php. I've been reading about caching HTML elements (e.g. images, text) in the browser so that these don't have to be reloaded.
However, I haven't found the right directions on how to get it done. It's like "simply cache the elements you want and you're done!" - great, but how do I cache something like this:
<div ...
So I want to create an Android app so it would be registered somewhere in android OS (or just would start on system start) and when phone user clicks on special button on a web page inside a web browser a la:
<a href="myapp://mysettings">Foo</a>
my app would pop up and run using the params sent in that URL.
So how do I do such thin...
Debugging a PHP program, is there any add-on/plug-in for browser which I can view sessions variables (those PHP $_SESSION["foobar"] )?
Best if I can change the value in the variables.
...