Fly Fishing Forum - Reply to Topic
Worldwide Flyfishing Discussion Talk flyfishing with members around the world!

Thread: random text Reply to Thread
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Register Now

In order to be able to post messages on the Fly Fishing Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in

Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Additional Options
Miscellaneous Options
Rate Thread
If you like, you can add a score for this thread.

Topic Review (Newest First)
01-26-2000 10:39 PM
isoh
RE:random text

\<!--no-->n will generate a new line, but not an HTML line break - that's a JS constant. document.write("this
is
three lines") will load with the browser only if it is placed outside a function defintion:

&lt;SCRIPT language="JavaScript"&gt;
function write_it() {
document.open()
document.write("This is three&lt;BR&gt; lines
in the&lt;BR&gt; browser \<!--no-->n \(two when viewing source\)")
document.close()
}
&lt;/SCRIPT&gt;

This will not execute until the function write_it() is called. An example of how you would call it might be:

&lt;A HREF="" onclick="write_it();return false"&gt;How many lines?&lt;/A&gt;


Yes. I'm *psyched* for Florida. Just learned how to tie Tabory's snake fly. Show me the snook! Spinning deer hair can be a messy, messy endeavor....

Terry, I'm close to getting my scanner set up. Just have to install Win 98 since there are no USB drivers for NT I'm struggling with partition space. At this rate I'll be ready to show off my work just as tying season ends and sore arm season opens

al
01-26-2000 12:57 AM
juro
RE:random text

Awesome! Does it take newlines as slash-n? I guess I'll find out, and that would be a standard javascript constant question. Also, does the function document.write load with the browser? Are there centering or font parameters?

Glad to see you had insomnia! Looking forward to your Florida trip I'll bet.
01-25-2000 11:49 PM
isoh
random text

Sorry I've been absent for so long. New job is exciting with plenty to do. Juro had mentioned the need for a random quotation generator. Here'sa simple little JavaScript that can be used on any page:

http://adeluca.ne.mediaone.net/js_random.html

I've escaped the script tags to make it easy to copy and paste from the browser screen into any HTML file.

Anglers of a different sort....

Posting Rules
You may post new threads
You may 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


All times are GMT -5. The time now is 11:42 AM.



Copyright Flyfishingforum.com (All Rights Reserved)