Extract Information Which Is Located In A Predefined Area On The Screen From A Java Platform?

May 21, 2010

Is it possible to extract information which is located in a predefined area on the screen from a java platform?

For example, there is java based platform which I can see on my screen.

This platform contains numbers/letters.

The location of these numbers/letters does not change, i.e. the script would not need to be adjusted if the field, which contains the info, would move.

Lets assume the screen would look like that:

The info between the fields would be clearly separated.

Now I would like to extract the infos from all the fields and paste the info for example in EXCEL so that I can see "Valerie12345" in .xls field A1 / 12.20 in A2 / Love in B1 etc...if that is possible to extract?

View 1 Replies


ADVERTISEMENT

Retrieve The User Browser And Platform Information - Pass Values To The Html Hidden Form Element?

Jul 16, 2010

i am developing a web application in which i have to retrieve the user browser and platform information. i am using javascript to get this information and tryin to pass these values to the html hidden form element. pasting a brief code from my application.

<body>
<script>
document.mldsform.screen_width.value=screen.width;
document.mldsform.screen_height.value = screen.height;
</script>
<form id="mldsform" action="/QoEMLDS/qoe" method="post">
[Code]...

View 1 Replies View Related

Can DIV Located In The MasterPage Be Resized Depending On The Screen Resolution??

Aug 19, 2010

Can DIV located in the MasterPage be resized depending on the screen resolution?

<tr style="vertical-align: top;"><td>
<div id="mainArea">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server" />
</div></td></tr>

I've tried unsuccessfully -

var height = screen.height;
var area1 = document.getElementById('ctl00_mainArea');
if (height == 1024) {[code].....

View 6 Replies View Related

How To Extract Column Information

May 8, 2009

I have a large table with too many columns, I have a column show / hide script. Just to reduce the script size, I want to do some modification. On the First ROW of the Table, there are columns heading, and each have an ID. i.e. <image id="col1"...> Now, I want to have a function where if I pass the ID, it determine the column index it self, OR if I pass the column Index, it will return the column ID.

View 2 Replies View Related

Way To Insert Predefined Text Into Active Text Area

Feb 13, 2010

im clueless when it comes to javascript, but this is what im trying to find: i have a page that has multiple text areas, i also have 4 links that when clicked i want to add some predefined text into the active text area the one with the text cursor in?

The Hyperlinks:

<a href="#sc">Shift Changed</a> | <a href="#ol">On Leave</a> | <a href="#ot">OverTime</a> | <a href="#ss">ShiftSwap</a>
The textareas:
<td><textarea name=details$i rows=4 align=absmiddle cols=16 value="$details[$i]">$details[$i]a href=

View 3 Replies View Related

Insert Predefined Text Into Active Text Area?

Feb 13, 2010

i have a page that has multiple text areas, i also have 4 links that when clicked i want to add some predefined text into the active text area the one with the text cursor in?

The Hyperlinks:

Code:

<a href="#sc">Shift Changed</a> | <a href="#ol">On Leave</a> | <a href="#ot">OverTime</a> | <a href="#ss">ShiftSwap</a>
The textareas:

PHP Code:

<td><textarea name=details$i rows=4 align=absmiddle cols=16 value="$details[$i]">$details[$i]

View 2 Replies View Related

Java Script For Minimum Of 100 Charcter In A Text Area

Dec 11, 2006

java script for minimum of 100 charcter in a text area...

View 1 Replies View Related

Api - Embed A YouTube Video Into A Page And Then Extract Key Information About That Video

Jul 18, 2011

I am currently writing a CMS and I need a few minor variable values from the YouTube Api. I wish to embed a YouTube video into a page and then extract key information about that video such as:

1. The Title
2. The duration
3. The number of hits

View 2 Replies View Related

Make The Only Clickable Area The Center Of The Screen

Mar 16, 2006

I 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 Related

Get The Screen Resolution Or Browser Visible Area?

Jul 6, 2011

I have a web application with an asp:panel, users can add images, the program automatically make the thumbnail. when user click on thumbnail they can see a pop up modal page.Images are in different sizes, so what I need to achieve is to get the screen resolution or browser visible area and re-size the image according to this resolution. (users could have different type of computer screen with different resolution), I need a JavaScript or jquery code.

View 1 Replies View Related

I Need A Platform Check!

Jun 12, 2003

I need to make my site viewable for both PC and Macintosh. For PC the "HV Menu" works very good but it screws up on a Mac. So I've configured "Top Navigational Bar 3 v3.4.1.1b" to work on a Mac.

Both of the menus use SCRIPT REL/SRC-links to external js-files implemented in the HTML-code of the site (that's 1standard I guess). So what I need is a platform-check in the HTML-code that decides wich menu that will show!

Down below I attach the scripts from each menu.

View 13 Replies View Related

When A User Enters Information In Those Two Textboxes And Click On Submit, The Information Is Sent To A Function?

Oct 29, 2010

I have a HTML form containing two text box controls in it and a submit button. When a user enters information in those two textboxes and click on submit, the information is sent to a function in Javascript. In the javascript, the information from those textboxes is stored in a javascript variable. The problem is as follows:When I am inputting string text in the html text boxes and in the javascript when I am trying to print those values, it is giving me out an error saying NaN. However when i input integer values in the text boxes it is printing those numbers. Is there a conversion that I have to do for the string to be printed. I am new to Javascript and need your help. This is a basic code of Javascript. Below is the code that I have.

<html>
<script type = "text/javascript">
function square(form)

[code]....

View 2 Replies View Related

I Found A Cross Platform Pop Up Script That Centers

Jul 9, 2005

OK, I think I found the perfect cross platform solution for centered popup windows. I found it on the site of Panic.com, I hope Cabel won't mind ;-)

The trick for all problems is to have a JavaScript that distinguishes between different platforms.

Here's the sample page which will bring up - upon click on a link - a pop up of 500 by 300 pixels. I used as link www.apple.com -- just an example.

To have scroll bars, resizability, etc work, simply change the digit "0" to "1" in all 3 ocurrences.

<html>
<head>

<script type="text/javascript" language="JavaScript">
<!--

// POPUP

var isNav4, isIE4, isMac;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? true : false
isNav6 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) == 5) ? true : false
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? true : false
isMac = (navigator.platform.indexOf("Mac") != -1) ? true : false
}


function popup(url, winWidth, winHeight) {
if (isNav4 || isIE4) {
var screenPosX,screenPosY;
screenPosX = (screen.availWidth - winWidth) / 2;
screenPosY = (screen.availHeight - winHeight) / 2;

if (isNav4 || isNav6) {
window.open(url, 'subwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, copyhistory=0,width='+winWidth+',height='+winHeight+',screenX='+screenPosX+',screenY='+screenPosY+'' );
}

if (isIE4) {
newwin = window.open(url, 'subwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, copyhistory=0,width='+winWidth+',height='+winHeight+',left='+screenPosX+',top='+screenPosY+'');
}
}

else {
window.open(url, 'subwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, copyhistory=0,width='+winWidth+',height='+winHeight+'');
}
}


//-->
</script>
<a href="http://www.apple.com/" onClick="popup('http://www.apple.com/',ò“',âÆ'); return false;">Click here for pop-up</a>
</body>
</html>

View 1 Replies View Related

Upload/read An Xml From A Local Drive Of Any Platform?

Jan 11, 2010

I need to upload/read an xml from a local drive of any platform (linux, windows, mac) and synchronize it with my web server, which will then update my DB. Local xml file path is predefined and stored in my DB. This is part 1.Part 2, I will have to update the sync(ed) xml and replace the file on my local drive.Part 1 and part 2 will execute in sequence when the user click on a "Sync" button after logged in.Here is what I plan to use, PHP, MySQL, Javascript.What I know so far.1. Due to security reasons we cannot dynamically update the value of the input file type. So setting the known file location is not possible.I will like to know if there is anyway we can upload/read & overwrite a xml file without any middleware like adobe air that needs to be pre-installed to any of the platform to achieve what I plan to do?

View 5 Replies View Related

Image Isn't Being Located / Why Is So?

Aug 5, 2010

I trying to use a jquery file that I was able to download for free from the internet. Everything is working accept that I can't get the arrow image to appear in my browser. The instructions said to input the url of the image, but I tried and it's not working. What am I doing wrong? (The code below is the original. Where is says 'arrow-down.gif' I used code...

View 4 Replies View Related

Add Predefined Text To Many Inputs

Jan 13, 2011

I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text.

View 4 Replies View Related

JQuery :: Auto-complete With Predefined Value

May 16, 2010

I'm looking for a solution to take an element value to an autocomplete event: (something like this, but it's not working)[code]the autocomlete works but I can't reach the "pid" element's value by this way in the getList.php

View 3 Replies View Related

JQuery :: Delegate() Be Used With A Predefined Function?

Nov 10, 2010

Here is what I have at [URL]...Basically I setup a function for message selection that will call an AJAX request. Once content is loaded via .html() in my #messages div, I could not click links from within and have to use .delegate().

The code works fine when I copy and paste code from my message_click function, but if I access the function from within .delegate(), it does not work. Is it possible to use a predefined function with .delegate() or will I have to continue to reuse code?

View 3 Replies View Related

Executing Predefined Function Via OnClick

Aug 3, 2011

I'm an experienced programmer (c, perl , python, bash) but absolutely newcomer with Javascript. The code I'm experimenting with is shown below. What I'm trying to do at this point is define a function in a script section in the head of my html page, then call that function in the onclick action of a form button. Sounds trivially simple, but for some reason it isn't doing what I expect. The eventual result will be that the Javascript will launch a Silverlight video player using the values supplied by the end user, but for now I just want to get the basic buttons to work.

<code>
<html>
<head>
<title>Silverlight player</title>
<script type="text/javascript">
var vProto;
var vServer;
var vStream;

function showMe() {
alert("In the function");
vProto = document.getElementById('proto').value;
vServer = document.getElementById('server').value;
vStream = document.getElementById('stream').value;
return false;
}

function alertMe() {
alert(document.getElementById('server').value);
return false;
} .....

View 1 Replies View Related

JQuery :: .stop() - Located Before The .animate() Command

Sep 22, 2011

In this code...

Why does the .stop() need to be in there and why is it located before the .animate() command, it has nothing in regards to the .stop() in the .animate() documentation...Im just a few days into jQuery and want to make sure I understand everything.

View 2 Replies View Related

MySQL Query At Predefined Intervals Without Refresh?

Dec 6, 2005

I work primarily with php, and haven't had much experience with JavaScript. I was wondering if JavaScript is suitable for automatically updating a database with the contents of a text area, at intervals of 3 minutes... without refreshing the page? It doesn't have to change the content of the text area, just take a snapshot of it. I am trying to develop an 'autosave' feature.

View 3 Replies View Related

Using AddEventListener Or Predefined Events (OnClick / OnLoad)

May 12, 2010

I have been reading and practicing Javascript for the last month and so far I'm happy with it. I noticed that you can add Event Listeners and trigger a function based on that event but I also noticed that you could add an event directly to any element as an attribute, something like:

Code:
<p onclick="doSomething()">Click Me</p>
function doSomething(){
//do something
}

So my question is why would someone add and event listener instead of adding that event directly in the element (as the sample above)? The reason I'm asking is because adding event listeners involves more code:
Code:
var elementName= document.getElementById('elemenstsID');
elementName.addEventListener("click", doSomething, false);

I guess what I don't know understand is why would someone choose to add an event listener instead, I know it is more OOP but doesn't the "onclick","onload" etc., do the same thing?

View 4 Replies View Related

How To Open An New Window And Fill A Form With Predefined Values?

Jul 23, 2005

I want to open a new browser-window with javascript and fill some
input-fields in this window with predefined values. So the User does
not have to edit the input-fields manually but only has to submit the
form.

....
var childWindow = window.open("http://anyForm.html");
childWindow.document.getElementsByName('anyinputfi eld')[0].value='hello'
....

Unfortunately this does not work... Mozilla throws an error:

"Error: uncaught exception: Permission denied to get property
Window.PropertyIterator"

Is there any workaround?

View 1 Replies View Related

Fancy Drop Down Menu - Located In The Top Right Section On The Site ?

Dec 19, 2010

I've made a basic website template, which I'm still working on, but I'd like to make it compatible with IE before I go any further.

I'm having trouble with the drop down menu that is located in the top right section on the site...in the banner.

It seems to work fine in FireFox (which is what I've built it for), Safari, and Chrome, but it will not work in Internet Explorer. Problem is....it doesn't hide the links, or "il" section. I was able to get it to do so, but then it would not let you select any of them...they would disappear as soon as you moved your mouse off of the top section, or "ul" i believe it's called.

Here is the website link [url]

And here is the CSS sheet for the menu [url]

I'm sure I'm probably missing some things as well as having things I don't need. I'm lost.

Here is the code for the menu:

And here is the CSS:

View 2 Replies View Related

Call A Js Function From A Test.js Located In A HTML File

Jul 28, 2011

I'm trying to call a Js function from a test.js located in a HTML file.

I'm getting error message "Object has no method..." in Chrome. But no issues are seen in Firefox.

<html>
<head>
<div>

[Code]...

View 3 Replies View Related

JQuery :: # Of Pixels From The Side Of Element That Mouse Cursor Is Located

Jun 6, 2009

1). Get the number of pixels from the left side of the hovered-element that the mouse cursor is located, and

2). Set *part* of a CSS attribute to this value

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved