Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 06-24-2005, 00:00   #1 (permalink)
herc777@hotmail.com
Civilians

 
Default using iframe for chat

I just made a 'chat server' chat.php and you tell it things and it just
adds them to a file chat.txt and echoes the file.

http://www.ch3ss.com/chat.php?say=hifromaww
please no hacking!

This is the chat client so far.

<html>
<head>
<title>chat</title>
<script language="javascript">
function talk() {
document.getElementById("if1").src =
"http://www.ch3ss.com/chat.php?say=" + document.chat.say.value
document.chat.say.value = ""
}
</script>
</head>

<body>
<iframe id="if1">
</iframe>

<form name="chat" method="get">
<input type="text" name="say">
<font onclick="talk()"><b>SAY</b></font>
</form>

</body>
</html>


you could just manage to chat to someone as it is, paste it into a HTML
file and you can run it from your computer.

How can I get javascript to read the *response* in the iframe? If I
can do that I can grab the latest conversation instead of the whole
screen, and format the text, even interactive games.

Herc

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 06-25-2005, 00:00   #2 (permalink)
herc777@hotmail.com
Civilians

 
Default Re: using iframe for chat

http://www.ch3ss.com/chat.php?*say=hifromaww

you could have said HI! no matter I've taken the server down, don't
want people echoing escape characters on my server and getting up to no
good.

Herc

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
iFrame Problem Jamie Web Design 0 05-20-2005 00:00
iframe and bgsound anuke@bk.ru Web Design 1 03-22-2005 08:00
iframe in div Anita Meyer Web Design 0 11-18-2004 15:35
Newbie Question with iframe... AL Raq Web Design 16 11-11-2004 04:00
iframe automatic resize Snake Web Design 1 06-15-2004 11:18


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 19:26.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.63908 seconds with 19 queries