Results 1 to 10 of 10
  1. #1
    New Lounger
    Join Date
    Jan 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Typing Text (Frontpage XP)

    Hey guys. I was looking for something to put on my website.

    I wanted to see if anyone knew anything about having a graphic or something so that
    it looks like someone is typing as soon as you get on the site.. something like this:

    "Accessing Databank... Please wait.."

    And, it would type that out on the page, and someone could watch it, just like a computer log or something.

    Thanks for your time, and your help!

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    Something like the scroller here?
    Plenty more scroll-type effects to be found at The JavaScript Source - but watch out for the ones that are IE only.

  3. #3
    New Lounger
    Join Date
    Jan 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    No.. I mean, not a scroller or anything.

    It sorta appears when you open the page.

    You know it looks when you type on MSDOS?

    Well, I want it to look like the person is typing when they come in, only...

    They're not.

  4. #4
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Typing Text (Frontpage XP)

    You could do it in Flash.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  5. #5
    New Lounger
    Join Date
    Jan 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    I don't exactly know Flash..

    but, I could figure it out if someone would try and help me..

    My AoL name is SadisticWonder.

    Someone can IM me sometime and teach me.

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Typing Text (Frontpage XP)

    The fastest cheapest way that will give accurately misshapen type is to find a good font and create an animated gif. If you visit the Pix Place board here in the Lounge you can get some recommendations for software to put the animation together. Flash is great, but I think it's way more than you could learn even in a marathon IM session. Also, it's something like a 25MB download for the 30-day trial of Flash MX... AOL would probably crap out on you.

  7. #7
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    Here ya go. This .asp code will do what you are asking. The page is refreshing, just have a function that writes the actual remainder of the page and replace a call to that function for this line: 'Response.write "I will now show you the page:"' In the following code:

    (Note: Replace the value for MaxHundredths with the maximum number of hundredths of a second that you wish to wait between characters)

    <html>
    <head>
    <%
    dim intCurrent
    dim strTextToDisplay
    dim intRandom
    Const MaxTenths = 10
    strTextToDisplay="Accessing Databank... Please wait..."
    intCurrent=request.querystring("XYZ")
    If len(intCurrent)<1 then
    intCurrent=1
    Else
    intCurrent=cint(intCurrent)+1
    End if
    If intCurrent>Len(strTextToDisplay) Then
    response.write "<title>Test Text Build</title>" & vbcrlf
    response.write "</head>" & vbcrlf
    response.write "<body>" & vbcrlf
    Response.write "I will now show you the page:"
    else
    Randomize
    intRandom=Int((MaxTenths - 1 + 1) * Rnd + 1)
    intRandom=cint(intRandom)*.1
    response.write "<META HTTP-EQUIV=""refresh"" CONTENT=""" & intRandom & "; URL=testtextbuild.asp?XYZ=" & intCurrent & """>" & vbcrlf
    response.write "<title>Test Text Build</title>" & vbcrlf
    response.write "</head>" & vbcrlf
    response.write "<body>" & vbcrlf
    response.write "<h3>" & left(strTextToDisplay,intCurrent) & "</h3>"
    end if
    %>
    </body>

    </html>

  8. #8
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    Ooops, the MetaTag refresh apparently has a low setting of 1 second. Anything smaller is an automatic refresh. The effect still works. You could code within the asp to make a quicker random refresh.

  9. #9
    New Lounger
    Join Date
    Jan 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    I appreciate that and all, but...

    It doesn't quite work.

  10. #10
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Typing Text (Frontpage XP)

    What is it doing wrong? If you are getting a 'big' delay, that is because I thought the MetaTag refesh worked for values under 1 second. It doesn't, it's either a full second, or an instant. So just set the MaxHundredths to something under 100, and it will just 'type' as fast as your system refreshes.

    Another option would be to use client side scripting, and I am VERY leary of using that on internet web pages. (I use it all the time on Intranet pages, because we have a controlled environment, where everyone is using a relatively current version of IE).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •