473,569 Members | 2,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Application Help with writing text file

18 New Member
I wanna know how its possible to clone this website. www.writesomething.net

I just want the actual programming code and files. I'm going to ceate a fully interactive website for users to input text and it appears directly on to the page without refreshing.


I can't seem to find the txt file.

[HTML]<html>
<head>
<title>WriteSom ething v2</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/css/screen_en_US.cs s" rel="stylesheet " type="text/css">
<script type="text/javascript" src="/js/frontend.js"></script>
<script type="text/javascript" src="/js/browser.js"></script>
<script type="text/javascript" src="/js/floating.js"></script>
</head>
<body onload="initFlo aters(); document.form1. tekst.focus(); window.scrollBy (0, window.innerHei ght);" onpaste="return false;">
<a id="top">&nbsp; </a>
<div id="floater1Div ">
<div class="home">&n bsp;<a href="/">home</a></div>
<div class="about">& nbsp;<a href="/about">about</a></div>
<div class="about">& nbsp;<a href="/press">press</a></div>
<div class="hrvatski ">&nbsp;<a href="/lang.php?lang=h r_HR">hrvatski</a></div>
<div class="hrvatski ">&nbsp;<a target="_blank" href="http://www.skarabej.co m/english/">by skarabej</a></div>
</div><form method="post" action="" name="form1">
<div class="text">
</span>
I wish he'd call... or that I had the balls to call him
<span class='siva'>
i'm such a noob.
</span>
Test
<span class='siva'>
<a id="end">&nbsp; </a><br />
<textarea name="tekst" onpaste="onPast eHandler()" oncontextmenu=" setContextMenuS election()" oninput="onPast eInputHandler(e vent)" onchange="texta rea_size()" onkeypress="onP asteKeyPressHan dler(event); textarea_size() ;" rows="5" id="tekst" onkeydown="txta rea_clear()" onclick="txtare a_clear()" class="area">wr ite what ever you want, quick and without thinking.</textarea>
<table width="100%">
<tr>
<td align="left" width="33%"><a style="border: none;" href="#top"><im g border="0" src="/images/gototop.jpg" width="50" height="76"></a></td>
<td align="center" width="33%">&nb sp;</td>
<td align="right" width="33%"><in put type="image" src="/images/publish.gif" id="submit" name="submit" width="89" height="30"></td>
</script>
</body>
</html>[/HTML]
Jul 10 '07 #1
17 2075
NYXX
18 New Member
Can anyone help me with this?
Jul 10 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
I can't seem to find the txt file.
What text file are you looking for?
Jul 11 '07 #3
NYXX
18 New Member
The flatfile database.

I uploaded this code along with the css and js codes but i still can't seem to publish the text instantly
Jul 11 '07 #4
NYXX
18 New Member
how would i go about cloning this what am i missing
Jul 12 '07 #5
acoder
16,027 Recognized Expert Moderator MVP
You could use Ajax for this purpose. It takes the input and sends the request to the server-side script which updates the database. The callback function can update the page once it has been added.
Jul 12 '07 #6
NYXX
18 New Member
Where can I find that information?
Jul 12 '07 #7
acoder
16,027 Recognized Expert Moderator MVP
See the Ajax tutorial links in the Offsite Links thread.
Jul 13 '07 #8
NYXX
18 New Member
So How would i go about clioning this website www.writesometh ing.net

I have the exact code he is using.

I have these files

The Javascript
Css
images which I will be changing

Now I'm missing the html file and the external file where all the text is being written to
Jul 13 '07 #9
acoder
16,027 Recognized Expert Moderator MVP
Have you checked the tutorials? It is not that difficult. You will need a server-side language and preferably a database, though you could use a text file if you want.

Which server-side language (e.g. PHP, ASP, JSP, Perl, Coldfusion) do you know?
Jul 14 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

53
5672
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
7
1969
by: Trvl Orm | last post by:
I am working with 2 frames, Left and Right and the main code is in the left frame, which has been attached. Can someone please help me with this code. I am new to JavaScript and can't figure it out. What needs to happen is this: On the left frame you should have a series of buttons, which when pushed makes things happen on the right...
2
6896
by: Bernhard Georg Enders | last post by:
After issuing the command (apache httpd.conf file) AddType application/x-httpd-php .php .htm .html any attempt to include javascript code <script src="file.js" type="text/javascript"></script> into htm (or html) file fails. How can I successfully config Apache2 to work with embedded PHP and javascript at same time? TIA,
15
4196
by: binnyva | last post by:
Hello Everyone, I have just compleated a JavaScript tutorial and publishing the draft(or the beta version, as I like to call it) for review. This is not open to public yet. The Tutorial is avaliable at... http://www.geocities.com/binnyva/code/javascript/advanced_tutorial/ If any of you could spare the time, please have a look at my...
136
9251
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to...
2
2831
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added to it to view additional details about the selected result (a second database query is triggered). I want this second query to pop up in a new...
4
4016
by: André Wagner | last post by:
Hello, I'm writing a HTML/javascript application who will run locally. I want to save to a local file. If I were using IE, I would do this way: var fso = new ActiveXObject("Scripting.FileSystemObject"); var file = fso.OpenTextFile(filePath,2,-1,0); file.Write(content);
9
8398
by: Erwin Moller | last post by:
Hi, Can anybody comment on this? In comp.lang.php I advised somebody to skip using: <script language="javascript"> and use: <script type="text/javascript"> And mr. Dunlop gave this response:
22
2872
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created using Perl on the backend, with Javascript providing limited frontend functionality. As an example, an expanding tree would be fully populated on the...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.