PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 28th, 2002, 09:28 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
typwriter

is it possible to produce typwriter effect
by using php?

Mustafa

Reply With Quote
  #2  
Old July 28th, 2002, 09:51 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: typwriter

from the manual..

<?php
$f = newSWFFont("_typewriter");
?>

will give you the standard typewriter font, probably the same as what you'd get with <font name="typewriter"> in HTML. although the function is completely experimental at this point and may change.

Reply With Quote
  #3  
Old July 28th, 2002, 09:55 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: typwriter

You can do it with css aswell, cant remeber the code tho....

Reply With Quote
  #4  
Old July 28th, 2002, 09:56 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: typwriter

If you mean the typewriter effect as in when you type something, you hear the clicking and binging when you go to a new line. Sorta like ICQ used to do? Nope...not in PHP. PHP is server side...you could probably do something like that in javascript......

Reply With Quote
  #5  
Old July 28th, 2002, 10:21 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: typwriter

I mean as if in java script, typewriter effect as in when you type something

Mustafa

Reply With Quote
  #6  
Old July 29th, 2002, 12:14 AM
Kohaar Kohaar is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Denmark
Posts: 147 Kohaar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 37 sec
Reputation Power: 2
Send a message via ICQ to Kohaar
RE: typwriter

I dont think so... PHP is a server side language and js is client side. What you can do, is include the javascript in your phpscript... It will give the same effect...

Ofcource im not a 100% sure...

Reply With Quote
  #7  
Old July 29th, 2002, 12:53 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: typwriter

kohaar, that should work, simply save your javascript(with the writing and text) in a 'JScript Script File'(.js).
then include the file on the page where you wnat it simply using:

<?
include"jscript.js";
?>

That should work...or you could just use:

<script type="javascript/text">
Typewriter script
</script>

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > typwriter


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway