Make Screen Capture In Script?
Aug 5, 2010Is it possible to make screen capture in java script ? I want to have button in my webpage when i click the webpage the current page will store in client machine .
View 1 RepliesIs it possible to make screen capture in java script ? I want to have button in my webpage when i click the webpage the current page will store in client machine .
View 1 RepliesI am attempting to develop a completely web-based set of tools that can
match the functionality of a set of Tcl/Tk programs that are used in
our control system environment. I believe that I can do everything that
the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen
(which defines a rectangle) and then automatically grabs that potion of
the screen as an image and embeds it into the Tcl/Tk app as an object
which is then uploaded to a database when the user has submitted the
Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads
(this I can do), but I would like the page to include an embedded Java
applet (presumably) that allows the web-client to capture a portion of
the screen and automatically attach it to the html form which can then
be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the
user to install anything prior to visiting the web-page. The applet (or
whatever) can be installed but not a separate program. I really want
this entire function to be provided from the web-page. I can provide
more information if necessary, but I though that a broad statement of
the problem would allow more people to chime-in with their thoughts. I
am eager to find out how this might be possible.
I am attempting to develop a completely web-based set of tools that can
match the functionality of a set of Tcl/Tk programs that are used in
our control system environment. I believe that I can do everything that
the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen
(which defines a rectangle) and then automatically grabs that potion of
the screen as an image and embeds it into the Tcl/Tk app as an object
which is then uploaded to a database when the user has submitted the
Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads
(this I can do), but I would like the page to include an embedded Java
applet (presumably) that allows the web-client to capture a portion of
the screen and automatically attach it to the html form which can then
be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the
user to install anything prior to visiting the web-page. The applet (or
whatever) can be installed but not a separate program. I really want
this entire function to be provided from the web-page. I can provide
more information if necessary, but I though that a broad statement of
the problem would allow more people to chime-in with their thoughts. I
am eager to find out how this might be possible.
We have a webpage that has a form available on the intranet.
A user will have a window open that runs a different application open.
When the user accesses the webpage and clicks a button we should
capture the data from the application window and populate the form.
Is it possible to access text inside another opened window on the client
pc, using javascript?
Any ideas on how to do this?
I want to know how to make a simple splash screen, appear when the web page start loading and disappear when everything in page have finished loading?
View 1 Replies View Relatedim using this script to make some simple animation (Fade in).my question is: How can i make animation so the div will appear from the right side of the screen (with or without fade in)?
<script type="text/javascript">
$(document).ready(function () {
$('#page_effect').fadeIn(1000);
});
</script>
Is it possible to make the mouse be at a given position on the screen using javascript for example i am writing a element resize script and i would like to have it so when u click on the resize button the cursor moves to the bottom right corner of the element for the starting position
View 3 Replies View RelatedI'm trying to make a load of words that will appear and start floating randomly around the screen when the pointer is moved over a link, and stop moving when the link is clicked. The following is all I have so far - the ?s indicate that I have no idea what to put in that place!
View 5 Replies View RelatedI want to make an image map (or maps) with links in certain areas of the picture (or pictures). This of course will be done in HTML. However, I want these links to be clickable only if they are in the center of the screen, like maybe in a "box" with customizable dimensions. The user will scroll around the page to navigate through the whole picture(s). If the user wants to go to a certain page, he/she will scroll the page to put the link in the center of the page and click on the link.
View 6 Replies View RelatedI have an image that I set to have a width of 100%. I want its height to be no greater than the visible height of the browser web-page area. This could distort the image, but thats OK. To makes things difficult, the image is in a div, and I want the div to be higher than the visible area. So I can't just set the div to height of 100%, and then within that set the image to a height of 100%. I know there is a javascript way of getting the height of the entire screen (screen.height) but that includes the extra areas of the browser such as toolbars etc. I know there is a 'offsetHeight' attribute, but I think I would have to use that on the BODY tag, and the BODY of the page could be several screens in height. So is there a solution to this? If there isn't then can I detect the aspect ratio of the screen?
View 3 Replies View RelatedI would like to make the image of the kangaroo appears to hop up and down across the screen.
<html>
Here is my contact form:my contact formhen you click the GMAIL logo, a contact form pops out. When you click submit, I would like the box to change shape to fit the 'thank you' message I have made. An example is the video below (except it is done with a log in form).Video example:DropShots.comActual webpage:SoundCloud - Your Sound, At The Heart
View 3 Replies View RelatedI installed a template on the following site and did not actually write the javascript dropdown menu seen at the top of [url]
The problem is that if parent list items Ministries and Parish Leadership have enough children, they expand out right off of the screen of low resolution setups.
I am totally new to javascipt programming so excuse my ignorance when I ask how to make the children items to expand out left instead of right if it's detected that the menu has hit the right side of the browser window.
Same thing for the height parameter; for to set in the centre some popup with images what is better? what are the difference?
View 6 Replies View RelatedI have 2 monitors from a different size. It is important in my application that I get the screen size of the monitor where the webbrowser is located. When I try to get the screen size (window.screen.height + window.screen.width) only IE gives me always the screen size of the main monitor where my taskbar (windows7) is located, instead of the screen size of the secondary screen where the webbrowser is located.
View 6 Replies View RelatedI have a div that has a negative top margin and a negative right margin. The right margin is because I want to have the div slide onto the page from the right. The top margin is because without it my page height is the height of the visible elements plus the height of the off-screen div.On a button click, I move the div down and then animate it onto the screen from the right. On button click again, I animate the div to the right, off the screen, and then move it up. I also toggle its width & padding so it will appear to grow/shrink as it moves on/off screen. At least that's what I am trying to do. The animation onto the screen looks good, but going off the screen, it appears to happen intantaneously, instead of animatedDoes anyone know how I can fix this?
$(".addPanels").live("click", function(){//now and in the future, show the add panels menu
var thisAddPanelsMenu = $(this).parent().prev(".addPanelsMenu");//get the addPanelsMenu
if(thisAddPanelsMenu.length) {//if the addPanelsMenu exists
[code]....
I have written the following code to capture tab key...
function check(n,e)
{
if(e.keyCode==9)
{
alert("Captured here");
}
}
<input type="text" name="tt" value="" onKeyPress="check(this,event)">
It works only in Mozilla but not in IE!!!!
I've got an internet site and 2 domain adress.
The first adress go on my Home page and I would like the second one to go to
a specific page of my site.
I want to know how to capture the URL which has been tape by the user to
reorient the user to the good page.
Usually a change in the querystring causes a page reload and procedural code can can then run with the loading of a page. What I need to do is run code when links cause the browser to focus on an anchor.
For instance, I want to fire a script that prints to the screen every time the querystring changes via the following links: Code:
Does anybody of you have a good algorithm to capture when a value in a
textbox is changed? I'm using the keypress/keydown events but they seems to
be a bit inconsistent (IE and Mozilla). Basically what I want is to set is a
"isDirty" flag when a user has changed any value in the textbox (or in a
dropdown) and then if he/she tries to leave the record without saving I want
to give a save warning. Since I don't want set the isdirty flag if you for
example klick tab, certain F-buttons, arrows (up/down/left/right) etc I
tried to capture the keypress/keydown event and ignore specific keycodes.
Since there are several keycodes that should be ignored I was hoping there
is a better solution.
I have table with 'n' number of rows. I want to highlight the row when ever i click on a particular row of the table. Can anyone please help me in this. Iam not using any Id's
for the row.
How do I capture the current URL to a string? What I want to do is
press a "submit" button that takes me to whatever URL is present in the
address bar of the browser.
Is there a way to capture the events fired in a PrintDialog? I
would like to capture when the user presses "Print" so I can do some
cleanup.
The asp.net (IE6) application I'm working on has 6 pages, each of
which has a link to a "print view" page. That "print view" page has a
"print" button which calls a javascript function "printThis":
function printThis() {
alert('printThis')
window.print();
/*window.onafterprint fires when page
is loaded into print dialog, not
when page is actually printed;
need to capture when user actually hits
the 'print' button on the printDialog
and call donePrinting
*/
}
function donePrinting() {
alert('donePrinting')
document.all.hdnFldPrinted.value = true;
document.forms[0].submit();
/*code for clean-up and redirection
to one of 6 pages is in code-behind */
}
Does anyone know how I can capture when the user presses the "print"
button in the PrintDialog that's opened by window.print()?
I used jQuery because is a very powerful tool, but I'm currently stuck with the iframes.The problem is simple, I try to capture the value of a class, or to create an event that is in an iframe.
html source code:
<iframe>
<p class='classiniframe'>15</p>
</iframe>
I already tried this, but without results:
$(".classiniframe").live("click", function(){ alert('event ok');});
var montest = $(".classiniframe").text();
alert(montest);
[code]....
I'm working on an application which will allow users to add urls to a list.
The url will be an rss feed, but that is by the by, it is a url.
I had thought of spawning a new window for the user to browse around and find their target url.
Can the parent window access where that new window has navigated to?
I don't think that is allowed?
It might mean using Frames in the popup window I guess, which I'd prefer to avoid.
Else, can you think of a means where I could at once allow users to browse to a destination and also capture that url?
var divs = document.getElementsByTagName("div");
for (var i = 0, l = divs.length; i < l; i++) {
d1.write (divs[i].attributes.length+"-attribute length<BR>");
[code]...
I am hitting other objects, and I am not sure how to write the code to dive into those objects.