473,804 Members | 3,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adjusting typewriter scroller script

Below is Typewriter Scroller script. I want adjust is as follows:
remove lower dash "_" out; display text not in form, but inside div,
without any borders (style="visibil ity:hidden"). Also I need control
via css font size, color, family. How to adjust this?

<script language="javas cript" type="text/javascript">

<!-- begin
var max=0;
function textlist()
{
max=textlist.ar guments.length; for (i=0; i<max; i++)
this[i]=textlist.argum ents[i];
}
tl=new textlist
(
"Welcome to my website!"
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickfo rm.tickfield.va lue=tl[x].substring(0,po s)+"_";
if(pos++==l)
{
pos=0;
setTimeout("tex tticker()",1000 );
x++;
if(x==max)
x=0;
l=tl[x].length;
} else
setTimeout("tex tticker()",50);
}

document.write( "<FORM NAME=\"tickform \">");
document.write( "<INPUT TYPE=\"TEXT\" NAME=\"tickfiel d\" SIZE=
\"30\">");
document.write( "</FORM>");
document.tickfo rm.tickfield.st yle.background = '#FFFFCE';
document.tickfo rm.tickfield.st yle.color = 'red';
textticker();
//-->
</script>

Mar 23 '07
14 2634
ASM said the following on 3/23/2007 5:38 PM:
Randy Webb a écrit :
>mistral said the following on 3/23/2007 10:26 AM:
>>No, I meant this: <URL:
http://www.dhtmldev.co m/examples/js/typewriter_effe ct/>
>>plus show text repeatedly (loop)?

When it finishes call the function again.....

Will that empty the div before to fill it again ?
No idea. If it doesn't, you can do that also when you start the function
you simply clear it out first. For a while the one I wrote continuously
looped and when it finished the text it would clear it out and start over.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 23 '07 #11
"mistral" <po*******@soft home.netwrote in message
news:11******** *************@d 57g2000hsg.goog legroups.com...
On 23 ÍÁÒ, 21:24, Randy Webb <HikksNotAtH... @aol.comwrote:
>mistral said the following on 3/23/2007 10:26 AM:
OK, I agree, javascript is not right choice for advanced tasks that
required powerful visualization, etc. Its only suitable for poor and
primitive tasks, and for newbies. The two aboved samples is just
garbage, however, no one will ever use it for web pages. Also, most
of this javscripts from this javascript-related websites and
depositories is pretty useless for any advanced web development
tasks,just collection of various garbage. Most tasks can be done in
php. Javascript is old and ineffective.
Firstly, no one said that JavaScript was not the right choice, so you are not agreeing
with anyone.

Secondly, your entire statement is moronic. It makes no sense, and surely is based on
your opinion only. Basically, everything you just said is the exact opposite.

Nothing against you of course, you are just wrong.

-Lost
Mar 24 '07 #12
mistral wrote:
OK, I agree, javascript is not right choice for advanced tasks that
required powerful visualization, etc. Its only suitable for poor and
primitive tasks, and for newbies. The two aboved samples is just
garbage, however, no one will ever use it for web pages. Also, most
of this javscripts from this javascript-related websites and
depositories is pretty useless for any advanced web development
tasks,just collection of various garbage. Most tasks can be done in
php. Javascript is old and ineffective.
I await Mr Cornford's reply on this matter, he being in a team that is
developing a 'something' that includes 7,000, or is it 70,000, lines of
javascript :-)

Hardly "not the right choice for advanced..."

--
Richard.
Mar 24 '07 #13
"Richard Formby" <rf@invalid.com wrote in message
news:Sq******** ******@news-server.bigpond. net.au...
mistral wrote:
>OK, I agree, javascript is not right choice for advanced tasks that
required powerful visualization, etc. Its only suitable for poor and
primitive tasks, and for newbies. The two aboved samples is just
garbage, however, no one will ever use it for web pages. Also, most
of this javscripts from this javascript-related websites and
depositories is pretty useless for any advanced web development
tasks,just collection of various garbage. Most tasks can be done in
php. Javascript is old and ineffective.

I await Mr Cornford's reply on this matter, he being in a team that is developing a
'something' that includes 7,000, or is it 70,000, lines of javascript :-)

Hardly "not the right choice for advanced..."
70,000. Which, however, is not indicative of how "advanced" it is, only of how involved
it is, or rather its scale.

I would however also imagine that if Cornford is involved it is not something trivial, or
as small-scale as a typewriter script.

-Lost
Mar 24 '07 #14
mistral said the following on 3/23/2007 5:47 PM:

<snip>
OK, I agree, javascript is not right choice for advanced tasks that
required powerful visualization, etc.
Who said anything remotely close to that?
Its only suitable for poor and primitive tasks, and for newbies.
Only in the bowels of *your* mind.
The two aboved samples is just garbage,
Who said that? It wasn't me. I simply pointed out some differences
between the two you posted and the one I posted.
however, no one will ever use it for web pages.
Are you really that big an idiot? Don't answer that, its rhetorical.
Also, most of this javscripts from this javascript-related websites and
depositories is pretty useless for any advanced web development
tasks,just collection of various garbage.
You finally said something that was true.
Most tasks can be done in php.
Oh? Can you show me an example, in php, of client side form validation?
Didn't think so.
Javascript is old and ineffective.
Then why do you keep posting wanting someone to give you copy/paste
scripts that you then whine about?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 25 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6685
by: Dan | last post by:
Hi Does anyone know of a good Javascript typewriter ticker that allows you to insert HTML into the ticker. I have found lots but when HTML is inserted, the ticker pauses at the point it reaches the HTML as well as applying the formatting. I need one whose character timer ignores characters in tags. I need to apply font color and weight styling to different words. Please see www.launchpr.co.uk for how the ticker currently looks in
3
4723
by: Razvan | last post by:
Hello, Can somebody recommend me a Java Script scroller that can scroll an i-frame ? I tried the Tigra scroller (www.softcomplex.com/products/tigra_scroller/) but sometimes it does not appear at all on my web page (www.mihaiu.name). It doesn't seem to be reliable...
5
1590
by: mistral | last post by:
Simple status bar scroller: </head> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin var Message="Welcome To Draac.Com";
1
2692
by: gezerpunta | last post by:
Hi folks :) We use scriptaculous draggables inside a scrollable div. Everything works fine if we turn on the option "Ghosting" (this enables items to be dragged outside the div with a sroller (scroll:auto) properly. Otherwise items could not be dragged outside). When it comes to IE a div with a scroller does not work properly it just have the scroller but the items are not in it.
14
8896
by: Mars | last post by:
I'm looking for a javascipt vertical news scroller that will scroll from the bottom of the page to the top showing many new items. Would really appreciate some help. The scroller I'm using at the moment only shows one news item at a time, can anyone suggest code I could insert to show many news items? Mars
9
1533
by: John | last post by:
I need a scroller (java) or whatever that can read a php file and display it in the script. Does anyone know of any? I have searched the script sites but didn't find anything.
1
1781
by: mirroras | last post by:
Hi all !! I have a difficult issue. I use the Manual Scroller script from dynamicDrive. This script is full working and is cross-browser. The url is for it, is http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm. I am using a simple example. I have two updatepanels. The first has a linkbutton inside so when I click it, I show some text in the second updatepanel. I want the scroller to contain the text of second updatepanel. All the...
0
9711
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10343
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4306
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
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.