Building An App For Online Communication?

Jul 8, 2009

I am very new to web development. I would like my website to have an application which allows a user to draw images which can be displayed on other users screens in real time.

An example of this is isketch.net Also on this site i would like users to be able to create accounts and join 'rooms' where they can communicate in real time (as opposed a forum message board). I am looking for something similar to isketch.net

Could somebody please tell me the type of development and programming needed. I have been quoted 1000 a month to build these capabilities but have no idea what is involved. (also may require facebook style real-time updating)

View 4 Replies


ADVERTISEMENT

Fixing Communication Between JS And PHP?

Jul 28, 2011

I need to fix the communication between the JS located in this page and the PHP form script. When the form is submitted I want the page to automatically update which is already present in the script, thanking the user for the submission. Since the PHP script was changed that communication is broken and I hope to get it communicating once again.

View 2 Replies View Related

PHP & JavaScript Communication

Feb 24, 2006

Let's say I want Javascript to call PhpScript.php?Somevar=Somevalue and display the info. How do I get the php returned data in a Javascript var.

View 4 Replies View Related

Applet - Javascipt Communication.

Jul 20, 2005

How can I inform a Javascipt, that must submit my Applet's data, that this same Applet has produced the data in question? Or in other words, is there any way to call a JavaScript junction within the Applet? Is it the best way? What do you suggest?

View 1 Replies View Related

How To Do Serial Port Communication

Aug 31, 2010

How to do serial port communication using Javascript?

View 2 Replies View Related

Window Communication With A Popup?

Apr 13, 2010

I am new to Javascript and am trying out window communication with a popup.In the main window it opens up a popup window with a button click. The popup window is trying to grab text from the main window and put it in it's (the popup's) window. I guess it needs a test to see if the window is ready??Here's the code:

<html>
<head>
<title>Main</title>[code].....

View 2 Replies View Related

Server Communication Without Page Reload?

Jul 23, 2005

I'm trying to find a way to have a script communicate with a server
without having to load a new page. The idea is to have the server act
as a simple wrapper for a database, letting the client do that icky UI
stuff.

I tried the obvious, putting a frame somewhere it doesn't insult the
eye, changing its location, then accessing the new content via DOM.
What I get from IE (6) for my pains is just a rude "permission
denied". This even though I entered "localhost" as a trusted site in
IE's security setting. What's amiss?

View 3 Replies View Related

Communication Between Java Applet And Javascript

Jul 20, 2005

let's me explains my long problem:

I'm doing an intranet with a media part. So im must be able to upload files on
a ftp server AND have a record of informations about this file and meta date in
a MySQL database, shown in a php page.

So the first thing i was doing was:

1/ * A HTML Form, with a <input type="file"> which was uploading the file to
the web server. And then, in the next action-php-page, using ftp functions from
php to upload to the ftp server. But this make upload the file 2 times, which
slow, and the user can't do anythig except waiting in front of a blanck loading
page.

=> no way

(BTW, the site admin refuse that the ftp server and the web server to be the
same computer)

So i tried something else:

2/ * A HTML form, the user enter meta data about the media, click next, and
then, a php page which loads a java applet an pass informations to it (by param
tags).
The applet have a browse button, and a go button, which start the transfert
(JDK 1.4.1) trough the URLConnection. The file is uploaded once, and there is a
progress bar, which is wonderful.

But now, i need the src_file information wich is the java applet. So i have two
options:

A/ I make a post to the webserver from the applet. But i'm using session
identification (needed for tracing users actions) and i'm gonna use SSL in less
than one month, so i think it would be complicated.

B/ I export the information from the java applet to javascript, and then to
HTML hidden field, so that the user can submit the full-hidden-filled form. But
i can't make LiveConnect works.

i'm under Mac OS X 10.2 (jaguar) so i need to make work LiveConnect on both
Safari 1.0 (v85.6), mozilla 1.5, and Mac OS IE (5.2).

View 2 Replies View Related

AJAX :: Intermittent Communication Failures

Jan 29, 2011

I have a web app with a game and chat updating with ajax very frequently sending thousands of XHR requests to the server during a user's session. The problem is that most clients experience intermittent connection failures or timeouts. On the server it appears to be fine, all requests are logged to have completed successfully and on time but the client gets either a communication failure or a timeout. This makes the user feel like the game or chat just got stuck.

I use YUI for making the XHR calls but I replaced that with jQuery with exact same results. I make sure that only one query is active at a time, so I am sure that I am not hitting the max 2 connections problem. The failure rate may be 1 in 200 hundred requests or something but it seems that when a client has a failure then it fails at a higher rate, say 1 in 10 until the problem goes away. I have clients send back an error request when such errors happen in order to track the problem. I have tried various things to try to figure out what is wrong but I have not found anything. I don't think that it's the client's connection as it happens to a sizable portion of my users, it doesn't look like it's the server either.

So what I am wondering is whether this failure rate is common or expected when doing heavy ajax staff and I need to find a way to work around it or this must be a problem in my system that I need to figure out. If the latter any pointers where to look at?

View 3 Replies View Related

Cross Frame Javascript Communication

Oct 28, 2003

I have set of frames... one contains a menu and the other a status frame. I am calling a function from the menu which sets the variables however I need some help passing those variables to the status frame. How would I go about doing such a thing?

This is called from the menu in frame 1 but doesn't work:

Code:
function jumpsec(cat, prod) {
parent.statusbar.category=cat;
parent.statusbar.product=prod;
}

// then my status frame bar has:
document.write(parent.statusbar.category);
document.write(parent.statusbar.product);

The 2 variables are blank on statusbar onload but get populated with each click.

View 4 Replies View Related

ClearInterval() : Iframe And Window Communication ?

May 14, 2010

I have given snippet of code in that it is cgi file in which i am using iframe , source of iframe is calling another cgi file. JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)

Code:

View 2 Replies View Related

Communication Between 2 Windows Without Having A Link Parent To Child

Jul 23, 2005

Is-it possible to modify a window from an another window without having a
link Parent To Child?

View 2 Replies View Related

Cross-domain Iframe Communication In Opera?

Feb 11, 2010

I have need to communicate between two iframes of the same domain, which live inside a parent page on a different domain that I have no control over. This is a Facebook app and the basic layout is this

apps.facebook.com/myapp
L iframe1 (src='mysite.com/foo')
L iframe2 (src='mysite.com/bar')

I need frame1 to talk to frame2, but in Opera I can't access window.parent. frames['frame2'] to do the usual cross-domain methods (updating location.hash for example) Is there an alternate way to accomplish this in Opera?

View 5 Replies View Related

Establish Serial Port Communication Using Script For Webpage?

Apr 6, 2009

I am working on a robot project, that is required to create a website to control the robot via serial port.. The website is plainly html, no linking to database is needed...

I have no idea how and what language to use and can JavaScript communicate with serial port? and how?

View 2 Replies View Related

PC Building Form

Dec 22, 2005

I'm trying to build a PC building form using drop-down menus. I want to use the values of each option in the menu and add them together to get the total price, then display the total price somewhere on the page.

View 4 Replies View Related

Building A URL With Javascript

Mar 29, 2006

I'm trying to combine some javascript variables into a URL, so I can pass the screen resolution to PHP to determine how large a popup window should be.

What I want to end up with is something like:
<a href="url.php?w=1024&h=768">Click me</a>

I'm trying this (which ain't workin'):
<a href="url.php?w=<script language=javascript>document.write screen.width;</script>&h=<script language=javascript>document.write screen.height;</script>">Click me</a>

It's just writing the literal script to the URL, not the value of the width or height.

View 2 Replies View Related

Building SVG In HTML Using JS?

May 10, 2011

I'm still working on same task New problem: When I place text in a rectangle, then wish to overwrite it,(that is replace it with new test,) I cannot remove the earlier text. The new overlays the old, an unreadable mess.

Moreover, what I have achieved works only in Opera. FF tells me I have too much recursion (None that I'm aware of). I cannot get any feedback from IE.

[Code]...

View 2 Replies View Related

Dynamic Page Building

Oct 4, 2006

I have a form that has two radio buttons. When the first one is
clicked, I would like the page to refresh (keeping the form data in
tact) and then displaying 2 new fields that need to be filled out. If
the second button is clicked, I need the same thing to happen, only it
will display two different fields needing to be filled out.

Does anyone have code that will do this? Or is this even possible with
JavaScript?

View 10 Replies View Related

Building Javascript 'wrappers'?

Jul 20, 2005

OK, I am looking for advice or tips and suggestions. I have overcome
a lot of the obstructions I had to building the page design my
customer was asking for. I am looking now at ways to deliver content
dynamically within the wonderful framework I created. Whilest I look
into the various methods of delivering content within a container of
one form or another in the existing HTML, I am also exploring the
possibility of using some form of 'wrapper' for existing flat pages
sorta like how geocities does to user pages to add the yahoo pull-down
div layers and such.

While doing some testing, I notice that if I just add a javascript tag
in the beginning, I can't use the document.body.AppendChild option for
the div layers unless I call the function that builds said layers from
a <body onload="">. When I do it from the onload event, the existing
HTML layers can effect the placement of the div layers even when I
have the CSS position set to absolute.

Short of using some form of server side code to insert at least the
DIV content in prior to dropping the file on the user's browsers, I
was wondering if there were any other suggestions on how to do this
with a minimal amount of coding in the HTML document itself. One of
my hopes is to limit the 'modifications' to any standard HTML file to
one or two lines so that anyone else developing pages can do so
easily, and/or I can create reasonably foolproof server-side wrappers
to call the javascript code to paste on the 'look-and-feel' elements
on just about any web page.

I have a feeling I will probably go the server-side route anyway, but
I was just curious what other suggestions there might be out there.

View 1 Replies View Related

Building Get String With Checkbox

Jul 14, 2010

I want to do this with a checkbox and am falling down on it...
Code:
var i=0, elem, qstr='';
while(elem=document.forms['form1']['quantity'+(++i)]){
qstr += (qstr.length ? '&' : '?') + 'quantity' + i + '=' + elem.options[elem.selectedIndex].value;
}

Here is the checkbox
Code:
<input type="checkbox" name="approved[]" onclick="boxchk(this,6)" checked="checked" value="'".$j['id']."'"/>

View 1 Replies View Related

Building New Script Using Arrays?

Jun 1, 2011

I am trying to build my first script. My problem, is I'm trying to build a multi hide/show script, displaying paragraphs of information. If I want multiple variables for the script do I have to use an array? and if so, how can I construct this array?

Here is my script as of now,

<!--
// this tells jquery to run the function below once the DOM is read
$(document).ready(function() {

[code]....

Right now the script doesn't work with the bottom two variables profile_"ect."

View 1 Replies View Related

Building 'smart' Forms With DOM 2

Mar 14, 2003

I'm fooling around with building a form that grows depending on the users input (relatively new to DOM 2 - but fun stuff!) I'm working on getting it to work (rather than being pretty - there are many improvements that could be made).

My question is has anyone seen any similar examples out there? The more I build on this thing, the more I believe there has to be another way... (like rather than creating every pull-down box - yes, I should put that into it's own function! - should I be playing with visibility and positioning?) Code:

View 1 Replies View Related

Building A URL Using A Javascript Variable

Dec 12, 2005

I've got a URL in an include file like this :

<iframe src=http://www.blah.com?query=thevariable>

I want to be able to set 'thevariable' in the shtml page that calls that include and pass it to that string - I'm thinking that because I don't want to use php/asp that Javascript is the best way?

In PHP I'd do it like this :

<iframe src=http://www.blah.com?query=<?echo $thevariable;?>>

So how do I echo/insert the variable in the URL using javascript rather than PHP?

View 3 Replies View Related

Building A Web App Ala Yahoo Autos?

Sep 20, 2011

I'm building a web site ala autos.yahoo.com on servicos.mpl.pt/comparador/css1.php I have a sidebar with filtering options grouped in an accordion. The accordion panels get populated via jquery like:

Code:
//getMarcas
$(function() {
//get tag feed

[Code]...

View 3 Replies View Related

Building A Table With For Loops?

Aug 16, 2010

point out where my logic is flawed in this? Or where my scripting is wrong?I'm trying to build a standard HTML table with 5 columns across and as many rows down as necessary, to fit all of the images in an array (brought into the DOM via PHP).My goal is to have rows of 5 columns that add on to accomodate up to 50 total images (10 rows).Here's my logic (flawed or not):*Look at the number of tems in the array*If the number is greater than 5, build one full row (of 5 <td>s)*Check again - is the number of items in the array greater than 10?*Build another row*If not, build a partial row, and fill in the rest of the <td>s (less than a full row) with blank spaces.The question is whether or not my logic is being represented in the javascript?unctions in <head>calls to function on lines 149-159Don't mind the formatting, I've blown it up so I can see what's going on.

View 4 Replies View Related

MSN Online Status

Feb 2, 2005

I noticed there is an indicator to someone's MSN online status in my hotmail inbox page.

I tried to view the source of the page in order to build my online status script.

All of my attempts were failed.

View 1 Replies View Related







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