Download Multimedia Web Design and Development Using Languages to Build Dynamic Web Pages 1st Edition Theodor Richardson ebook All Chapters PDF
Download Multimedia Web Design and Development Using Languages to Build Dynamic Web Pages 1st Edition Theodor Richardson ebook All Chapters PDF
https://ebookfinal.com/download/web-development-with-javaserver-
pages-2nd-edition-duane-k-fields/
ebookfinal.com
https://ebookfinal.com/download/advanced-dom-scripting-dynamic-web-
design-techniques-1st-edition-jeffrey-sambells/
ebookfinal.com
https://ebookfinal.com/download/smil-adding-multimedia-to-the-web-1st-
edition-mary-slowinski/
ebookfinal.com
Creating Database Backed Library Web Pages Using Open
Source Tools 1st Edition Stephen R. Westman
https://ebookfinal.com/download/creating-database-backed-library-web-
pages-using-open-source-tools-1st-edition-stephen-r-westman/
ebookfinal.com
https://ebookfinal.com/download/learning-javascript-add-sparkle-and-
life-to-your-web-pages-3rd-edition-ethan-brown/
ebookfinal.com
Build Your Own Database Driven Web Site Using PHP MySQL
4th Edition Kevin Yank
https://ebookfinal.com/download/build-your-own-database-driven-web-
site-using-php-mysql-4th-edition-kevin-yank/
ebookfinal.com
https://ebookfinal.com/download/learn-java-for-web-development-modern-
java-web-development-1st-edition-vishal-layka/
ebookfinal.com
Multimedia Web Design and Development Using
Languages to Build Dynamic Web Pages 1st Edition
Theodor Richardson Digital Instant Download
Author(s): Theodor Richardson; Charles Thies
ISBN(s): 9781937585006, 193758500X
Edition: 1
File Details: PDF, 8.25 MB
Year: 2012
Language: english
MULTIMEDIA WEB DESIGN
AND DEVELOPMENT
LICENSE, DISCLAIMER OF LIABILITY, AND LIMITED WARRANTY
By purchasing or using this book (the “Work”), you agree that this license grants
permission to use the contents contained herein, but does not give you the right
of ownership to any of the textual content in the book or ownership to any of the
information or products contained in it. This license does not permit uploading of the
Work onto the Internet or on a network (of any kind) without the written consent of
the Publisher. Duplication or dissemination of any text, code, simulations, images,
etc. contained herein is limited to and subject to licensing terms for the respective
products, and permission must be obtained from the Publisher or the owner of the
content, etc., in order to reproduce or network any portion of the textual material (in
any media) that is contained in the Work.
MERCURY LEARNING AND INFORMATION (“MLI” or “the Publisher”) and anyone involved
in the creation, writing, or production of the companion disc, accompanying algo-
rithms, code, or computer programs (“the software”), and any accompanying Web
site or software of the Work, cannot and do not warrant the performance or results
that might be obtained by using the contents of the Work. The author, developers,
and the Publisher have used their best efforts to insure the accuracy and functional-
ity of the textual material and/or programs contained in this package; we, however,
make no warranty of any kind, express or implied, regarding the performance of
these contents or programs. The Work is sold “as is” without warranty (except for
defective materials used in manufacturing the book or due to faulty workmanship).
The author, developers, and the publisher of any accompanying content, and anyone
involved in the composition, production, and manufacturing of this work will not be
liable for damages of any kind arising out of the use of (or the inability to use) the
algorithms, source code, computer programs, or textual material contained in this
publication. This includes, but is not limited to, loss of revenue or profit, or other
incidental, physical, or consequential damages arising out of the use of this Work.
The sole remedy in the event of a claim of any kind is expressly limited to replace-
ment of the book, and only at the discretion of the Publisher. The use of “implied
warranty” and certain “exclusions” vary from state to state, and might not apply to
the purchaser of this product.
MULTIMEDIA WEB DESIGN
AND DEVELOPMENT
Using Languages to
Build Dynamic Web Pages
Theodor Richardson
Charles Thies
Theodor Richardson and Charles Thies. Multimedia Web Design and Development.
ISBN: 978-1-936420-38-4
The publisher recognizes and respects all marks used by companies, manu-
facturers, and developers as a means to distinguish their products.
All brand names and product names mentioned in this book are
trademarks or service marks of their respective companies. Any omission
or misuse (of any kind) of service marks or trademarks, etc. is not an
attempt to infringe on the property of others.
131415 321
— Theodor Richardson
—Charles Thies
CONTENTS
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Chapter 1
WEB DESIGN BASICS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Chapter 2
SITE PLANNING AND PRODUCTION . . . . . . . . . . . . . . . . . 35
Contents — vii
2.3Professional HTML Authoring Tools ....................................... 45
2.3.1 Adobe Dreamweaver ..................................................46
2.3.2 Microsoft Expression Web .........................................48
2.3.3 Notepad++ ..................................................................49
Chapter Summary .....................................................................51
Chapter Knowledge Check........................................................51
Chapter Projects ........................................................................53
Chapter Exercises .....................................................................54
Chapter Review Questions........................................................55
Chapter 3
INTRODUCTION TO HTML . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Chapter 4
CSS3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.1 Introduction to Cascading Style Sheets ............................79
4.1.1 Invoking Styles in HTML ..........................................80
4.1.2 CSS Classes and Tags ................................................81
4.1.3 CSS IDs.......................................................................82
4.1.4 Pseudo-classes ............................................................83
4.1.5 Inheritance .................................................................84
4.2 Positioning and Layering ...................................................84
4.2.1 Element Position ........................................................85
4.2.2 Layers .........................................................................89
4.2.3 Height and Width.......................................................91
4.2.4 Margins and Padding.................................................94
4.3 Display Properties...................................................................... 97
4.3.1 Background Images ...................................................97
viii — Contents
Colors ..........................................................................99
4.3.2
Borders ..................................................................... 103
4.3.3
Shadows .................................................................... 104
4.3.4
Content Alignment................................................... 105
4.3.5
Text Modification ..................................................... 106
4.3.6
4.4 Reusing CSS Styles.................................................................. 108
Chapter Summary ................................................................... 110
Chapter Knowledge Check ..................................................... 116
Chapter Projects ..................................................................... 118
Chapter Exercises ................................................................... 118
Chapter Review Questions...................................................... 120
Chapter 5
HTML5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
5.1 Branding a Site ................................................................. 124
5.1.1 Planning for Content ............................................... 124
5.1.2 Creating a Site Map ................................................. 125
5.1.3 Hyperlinks ................................................................ 126
5.1.4 Image Links/Hotspots .............................................. 127
5.1.5 Meta Tags ................................................................. 130
5.1.6 Cloning Pages ........................................................... 131
5.1.7 Adding a Site Icon .................................................... 133
5.2 Adding Content ................................................................. 135
5.2.1 Using Paragraphs and Line Breaks ........................ 135
5.2.2 Ampersand Commands ............................................ 136
5.2.3 Adding Tables........................................................... 137
5.2.4 Adding Forms ........................................................... 141
5.2.5 Audio and Video ....................................................... 145
5.2.6 Embedded Code ........................................................ 146
Chapter Summary ................................................................... 148
Chapter Knowledge Check ..................................................... 148
Chapter Projects ...................................................................... 150
Chapter Exercises ................................................................... 151
Chapter Review Questions...................................................... 152
Chapter 6
JAVASCRIPT AND JQUERY. . . . . . . . . . . . . . . . . . . . . . . . . 155
6.1 JavaScript Basics ........................................................................ 155
6.1.1 Variable Declarations .............................................. 158
6.1.2 Assigning Values ...................................................... 159
6.1.3 Function Calls .......................................................... 161
6.1.4 Defining Functions................................................... 163
6.1.5 Conditional Statements ........................................... 165
Contents — ix
Looping ..................................................................... 168
6.1.6
6.2 Using JavaScript ...................................................................... 170
6.2.1 Using the alert() Function ....................................... 171
6.2.2 String Parsing and Form Validation ...................... 171
6.2.3 Dynamic Content ..................................................... 179
6.2.4 Events ....................................................................... 182
6.2.5 External JavaScript ................................................. 184
6.3 jQuery ........................................................................................ 185
6.3.1 Installing jQuery ...................................................... 186
6.3.2 jQuery Code and Use ............................................... 187
Chapter Summary .................................................................. 190
Chapter Knowledge Check...................................................... 190
Chapter Projects ...................................................................... 192
Chapter Exercises ................................................................... 193
Chapter Review Questions...................................................... 194
Chapter 7
PHP AND PERL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
7.1 Hosting a Web Site .................................................................. 197
7.2 PHP............................................................................................ 201
7.2.1 PHP Basics ............................................................... 202
7.2.2 Form Processing ....................................................... 204
7.2.3 Emailing with PHP .................................................. 208
7.3 Perl .................................................................................... 210
7.3.1 Perl Basics .................................................................. 211
7.3.2 Form Processing ......................................................... 212
7.3.3 Emailing with Perl ..................................................... 216
Chapter Summary ................................................................... 219
Chapter Knowledge Check...................................................... 219
Chapter Projects ...................................................................... 221
Chapter Exercises ................................................................... 222
Chapter Review Questions...................................................... 223
Chapter 8
MYSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
8.1 MySQL ...................................................................................... 227
8.1.1 MySQL Data Types .................................................. 228
8.1.2 Creating a MySQL Database .................................. 230
8.2 Structured Query Language (SQL)........................................ 234
8.2.1 Select Queries........................................................... 234
x — Contents
Update Queries ........................................................ 235
8.2.2
Insert Queries .......................................................... 236
8.2.3
8.3 Using MySQL with PHP ......................................................... 236
8.3.1 Accessing a MySQL Database with PHP................ 237
8.3.2 Storing Data in a MySQL Database ....................... 239
8.3.3 Retrieving Data from a MySQL Database.............. 240
Chapter Summary ................................................................... 243
Chapter Knowledge Check...................................................... 243
Chapter Projects ...................................................................... 245
Chapter Exercises ................................................................... 246
Chapter Review Questions...................................................... 247
Appendix
SELECTED ANSWERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Contents — xi
Introduction
This book is a complete guide to the concepts and practices of Web
design and development. It includes hands-on activities and profes-
sional advice for best practices in learning the procedures and prac-
tices of both design and development, allowing you to practice the
entire life cycle of a Web project. The material herein captures all of
the stages, from initial designs to back-end programming, of creating
complex Web applications. After completing this text, you will have
the ability to create dynamic, engaging Web sites with interactive
components and persistent styles. Each topic provides all of the neces-
sary instruction for getting started in that particular area.
The first five chapters of the book focus on the front-end design of a
Web site. This includes the use of HTML5 and CSS3 to create profes-
sional Web pages. This also includes guidelines for graphic design to
make the most of your pages using color, font, and style. The profes-
sional tools Adobe Dreamweaver and Microsoft Expression Web are
also introduced, with guidelines for their use in creating the case proj-
ect that continues throughout the text.
Chapter 6 focuses on the use of JavaScript for creating dynamic
elements and enabling interactions with the user. This also serves
as an introduction to the common syntax for conditional statements,
variable declarations, looping, and branching. This chapter completes
the front-end development of the Web site and transitions into con-
siderations for back-end Web application development. The jQuery
library of functions for creating complex JavaScript effects across
browsers is also introduced in this chapter, including instructions on
installing the library to a site, linking it to a page, and implementing
its functionality.
Chapter 7 introduces both PHP and Perl for developing back-end
code for Web applications. It gives an overview of both programming
languages, with the goal of focusing on common tasks needed for inter-
activity and processing user input through forms or JavaScript sub-
missions. This chapter includes instructions for emailing from both of
these server-side languages. In order to complete the activities for this
chapter, you will need Web hosting that supports one or both of them.
Ideally, the hosting solution you choose will also support MySQL for
completing the case project in its entirety. GoDaddy.com basic hosting
is recommended for this project, as it meets all of these criteria at a
relatively low cost.
Chapter 8 introduces MySQL, the most commonly used open
source database software, for data management and storage. This
includes an introduction to databases and the SQL database language.
The PHP toolkit is used for accessing, storing, and modifying data for
use in a Web application. The case project is completed in this chapter
with the storage and retrieval of information from the interactive form
developed for the site.
Chapter Structure
Each chapter is structured so as to provide you with an overview
and best practices for one component of creating a complete Web site
from the front-end design to the back-end programming. The chapters
contain hands-on activities both in the text and as standalone chal-
lenges to help you master the material. A case project is given as an
example for you to follow and expand on. Two additional projects are
presented to reinforce the material and allow you to practice it with
different objectives. A knowledge check is provided to allow you to test
your comprehension of the chapter. Answers to select odd-numbered
questions are provided at the back of the book. Additional exercises
and discussion questions are presented to help you further explore the
concepts in each chapter.
Code Notation
Some lines of code are longer than the lines of text in this book.
Whenever you see a symbol in the code, the line immediately follow-
ing it is a continuation that should be on the same line in your actual
code. In HTML this is not important but in formal languages it is
x i v — Introduction
necessary to keep all of the code on the same line. The code snippets
on the companion DVD contain the code in the correct lines for use.
Student Resource DVD
The textbook provides a DVD inside the back cover that includes
resources and sample video tutorials for the student. This DVD
includes all of the files needed to complete the chapter exercises within
the text. You will also find a repository of high-resolution images from
the chapters and companion Excel template documents for using com-
mon functions effectively. There are also student resources with addi-
tional project samples and videos for each chapter, as well as video
tutorials, on the companion Web site for the book(authorcloudware.
com).
Introduction — x v
Acknowledgments
Theodor Richardson:
I am very proud of the book that you now hold in your hands, and
I want to thank you for choosing it over others. Web design has been
a passion of mine and a profession for decades now, and I am pleased
to share what I have learned with you. This book is the result of the
combined creative forces of everyone who has worked to make it pos-
sible, and I want to offer my sincere thanks to them all, whether we
have met or not. I want to thank Katie Kennedy for her continued sup-
port, patience, and understanding as well as for her unprecedented
ability to make café lattes instantly as needed. I also want to thank
my grandparents, Leonard and Sylvia Ullom, and my parents, Dan
and Deborah Richardson, for giving me such a wonderful upbringing
and perpetual support and for helping me to capitalize on the oppor-
tunities that have led to my lifelong dream of seeing a book of my own
creation in print. I would like to thank my publisher, David Pallai,
and my co-author and friend, Charles Thies, for seeing another project
through to completion. Last, and certainly not least, I want to thank
you, dear reader, for your support.
Charles Thies:
I certainly have many people to thank who have made this project
possible. We have been writing now for a couple of years, and I would
like to thank my beautiful wife, Lea, and my sons, Matt and Will, for
their patience and support throughout. I would like to extend a special
thank you to my friend and co-author, Ted, for all of his guidance and
support throughout the project. A very special thank you to all of the
people we know worked to make this textbook possible but we never
met. Finally, a very special thank you to the students and professors
who have adopted this book; you are the reason we are always think-
ing about new ways to present material in the best format so that you
will be prepared in your field of study.
CHAPTER
1
Web Design Basics
I N T HI S CHAP T E R
A Web site is a collection of Web pages, documents, audio, and video that
is stored in a location such as a Web server and can be accessed by a unique
address determined by a Uniform Resource Locator (URL) value. DEFINITION
A Web server is a repository that contains all of the files and folders for
a Web site and provides remote access to them via various protocols such as
HTTP and File Transfer Protocol (FTP), over the Internet.
A Web browser is a software application used to search, navigate, and
retrieve information and data from the Web.
C h a pt e r 1 — We b D e s i g n B a s i c s — 3
1.1.1 Web Pages and Web Browsers
A Web page is a document designed for interpretation in a spe-
cialized application called a Web browser. Modern Web pages have
evolved from the simple concept of linking text documents to each
other via hyperlinks to an interrelated set of scripting and program-
ming languages that operate to provide a complex display capable of
providing rich, media-driven experiences for a user. Web pages use
a base language called Hypertext Markup Language (HTML), which
provides a means of complex media display and delivery along with
simple text inclusion. The file type of a Web page is .htm or .html.
A Web browser is a user application that retrieves Web pages and
interprets them for display on a user’s machine. The Web browser dis-
play is known as a WYSIWYG display, for “What You See Is What
You Get”; each Web browser will interpret the HTML code differently,
so content may not display the same way on different browsers. There
are a variety of Web browsers available for use.
Because of the differences in display, the World Wide Web Consortium (W3C)
has set standards of behavior and display for Web-based languages such as HTML
and Cascading Style Sheets (CSS). You should bookmark www.w3c.org
on your most commonly used Web browser as a reference for usage whenever
you are in doubt about the behavior and application of a Web-based language
NOTE component.
The most common Web browsers in use today are Microsoft Inter-
net Explorer, Mozilla Firefox, Google Chrome, and Apple Safari. The
global statistics on browser use (as determined by statowl.com) can be
seen in Figure 1.1. The use of the different browsers varies by region.
Internet Explorer is the primary browser used in North America,
whereas Google Chrome has the largest use in Asia. Mozilla Firefox
is the most used browser in Europe. Apple Safari has seen increased
usage in recent years because of its integration with the Apple iPad.
C h a pt e r 1 — We b D e s i g n B a s i c s — 5
general use. IE can be downloaded from the Microsoft
homepage at www.microsoft.com.
• Mozilla Firefox: This browser is compatible with the Win-
dows, Mac OS, and Linux operating systems, as well as some
mobile devices (as an app). It can be downloaded from the
homepage www.firefox.com.
• Google Chrome: Chrome is a browser that has recently
gained market share. It is compatible with multiple
operating systems and integrates with Google’s other online
services, such as Google Docs. It can be downloaded from
www.google.com/chrome.
• Apple Safari: Safari is the default browser for Mac OS and is
directly integrated with Apple iOS devices, including the iPad.
A version of Safari is also available for Windows. You can
download Safari from www.apple.com/safari.
One of the browsers you should seriously consider having on your computer for
testing is Mozilla Firefox. It includes a Web Developer tool (accessible directly
from the Firefox main menu), which will assist you in evaluating your HTML
PROFESSIONAL
TIP code, CSS commands, and JavaScript execution. If you are unsure why your
page is not working or displaying properly, opening it in Firefox and using the
Web Developer tools Web Console and Error Console can save you a significant
amount of time debugging your page or application.
C h a pt e r 1 — We b D e s i g n B a s i c s — 7
HTML is case insensitive, so the tag <TiTLE> and the tag <title> will behave
in the same manner. But according to W3C, the HTML tag names should always
be in lowercase letters, so that is the convention you should adopt.
NOTE
C h a pt e r 1 — We b D e s i g n B a s i c s — 9
When there is no filename specified, the server will look for either
index.htm or index.html. For this reason, you should always name the
homepage of your site either index.htm or index.html so the server can
NOTE
find it immediately with a reference to the containing folder. This will be reiter-
ated throughout the project planning, but you should make note of it now.
More complex word processing programs, like Microsoft Word, can create
HTML, but their use is not recommended. You must be careful with how you
save your files on these programs to avoid formatting code in your document
NOTE
in a language other than HTML and extraneous code added by the editor. You
should make sure that the Type field of the Save As dialog box says either
“Text” or “Plain Text” before you complete the save operation.
The head is signified by the <head> tag and closed by the </head>
tag. This section is used for configuration information and non-dis-
playing elements. The only portion of the head that displays in the
browser is the title. This is where you will place your CSS styles and
interlink external resources as you add complexity to your pages.
The body is signified by the <body> tag, which should be placed after
the closing </head> tag. The body is where all of the content should be
placed that you want to display in the browser window. The body must
also be closed with </body> before you close the HTML tag with </html>.
and create a template file for your HTML pages. First, choose a location on your
computer and create a new folder called “WebProjects” (with no spaces in the
name; you should not include spaces in any folder or filenames used for the Web).
You will create new folders inside of this folder for the activities and projects
throughout this text. Housing everything in the same folder structure will help you
when linking documents together and invoking resources within your pages.
Using the page outline given below, open a text editor and type the page struc-
ture into it, from the <html> tag to the </html> tag. You should save this file as
template.html inside the WebProjects folder. This will allow you to
create a new page by opening this file without the need to retype this structure.
You should follow along with the remaining parts of this chapter to expand your
template file to include the additional elements needed.
C h a pt e r 1 — We b D e s i g n B a s i c s — 11
The complete structure for an HTML page with the head and body
elements included is as follows:
<html>
<head>
</head>
<body>
</body>
</html>
You can use this as a guide for placing your content and resources.
There are additional elements that are common to all HTML pages
that you will explore in the next few sections. These include the docu-
ment type (doctype) declaration and page title.
1.2.1 The Doctype Declaration
A Doctype Declaration (DTD) is an instruction to the browser spec-
ifying the type of content the browser will encounter in the page. The
need for a DTD is based on the different versions of HTML that can
be used in a page and the widespread inclusion of XML documents on
the Web. A DTD tells the browser how to interpret what follows in the
page.
Some Web browsers are more forgiving of errors than others. For example, Firefox
allows you to open a page that does not include a DTD, but you should never
depend on this forgiveness, as it can cause compatibility issues in other browsers.
NOTE
There are a variety of DTD values that you may encounter, but
the two DTDs you will likely need to use most often are for HTML 5
and HTML 4.01. Eventually, you should construct all of your pages in
HTML 5. The command for a DTD is <!DOCTYPE>; this is in upper
case because it is a browser instruction, not an HTML tag.
</head>
<body>
</body>
</html>
C h a pt e r 1 — We b D e s i g n B a s i c s — 13
ACTIVITY 1.3 – ADDING DTDS TO THE TEMPLATE PAGE
For this activity, you should open template.html in the text editor of your
ACTIVITY choice and add a DTD declaration before the <html> tag. Be sure to save your
file when you are finished.
</body>
</html>
C h a pt e r 1 — We b D e s i g n B a s i c s — 15
FIGURE 1.4 Linked Text
In Firefox, you can select the Firefox menu, choose New Tab, and then
choose Open File to select an HTML file you want to open on your local
computer.
NOTE
The browser will interpret the page content for display and show
it in the browser window. You can see an example of this in Figure 1.5
for the hello.html page you have created through the activities in this
chapter. You should open this file in your own Web browser of choice
to see how the results of your work are interpreted.
C h a pt e r 1 — We b D e s i g n B a s i c s — 17
FIGURE 1.5 Testing an HTML Page
From the figure, you can see where the different elements of the
page translate in the browser. The title of the page will be located in
the top part of the browser interface. The main browser window is
where the body of the page is displayed. The address bar will display
the URL of the file. In this case, it will begin with file://C:, because
it is using local file access on the C drive of your machine. (A differ-
ent letter may display if you have selected a different default storage
drive.)
According to W3C, the common browser display size is now 1024 pixels by
768 pixels. This means you can plan a site for this size and assume that 98%
of your viewing audience will be able to see the site in a single window without NOTE
scrolling.
C h a pt e r 1 — We b D e s i g n B a s i c s — 19
The other area of secondary real estate is from the bottom left-
hand corner of the browser window up to the primary real estate.
The entire left-hand side is not considered secondary real estate,
because part of it may not be visible without scrolling. When you
plan your site, you want to make sure any left-hand menu content
does not require the user to scroll down on the page, or they will
likely not see those menu items.
Users will not scroll a page unless they are vested in it by interest in something
it contains. There is almost no possibility of their finding content hidden past
the standard browser size of the page unless it is related directly to content
PROFESSIONAL
TIP presented on the visible part of the page that prompts them to explore further.
You always want to make sure your menu and branding information fit within the
standard browser size, so you do not have to rely on user scrolling and explora-
tion for them to be able to navigate through your site.
C h a pt e r 1 — We b D e s i g n B a s i c s — 21
According to a study by CBS News (cbsnews.com), users spend an average
of 33 seconds on a single Web page. They also form an opinion of the page within
approximately 8 seconds. That means you have approximately 8 seconds to entice
PROFESSIONAL
TIP
them to stay and 33 seconds to interest them in your content. Your design should
be what gives them a favorable impression within the first 8 seconds, and your
content should be what retains them past 33 seconds.
The Mexican who had the temerity to attempt lassooing the Steam
Man had little idea of the enormity of his task.
The lariat, thrown with great precision, settled down accurately
over the Man’s head.
It reached his shoulders and there tightened.
At the moment, the Steam Man was going a thirty miles per hour
gait. The effect was thrilling.
The greaser fancied that he could bring the Steam Man’s career to
an end, even as he would that of a wild steer.
But he had reckoned without his host this time.
The Steam Man kept straight on. The Mexican threw his horse
upon its haunches, and the next moment expected to see the Steam
Man topple over.
But an astonished cowboy was the order of the hour.
The lariat tightened like a whip-cord. The little mustang’s forefeet
were braced in the soft soil of the prairie.
For ten feet the mustang slid along as if on skates.
Then over on its side it went, the cowboy falling underneath.
The dead weight of the horse was pulled twenty-five feet, when
the lariat snapped like a bit of thread.
The other greasers saw the act and were dismayed.
Not one of them ventured to throw a lariat after that.
Pomp and Barney nearly split their sides with laughter.
“Golly, but dat was jus’ too funny fo’ anyfing!” cried Pomp,
hilariously. “Jes’ fink ob dat fool ob a greaser who ’spected he could
pull de Steam Man over.”
Steam was now got up rapidly and the Man speedily left his
pursuers far behind.
Across the plain at race-horse speed he went.
Soon the greasers were left out of sight in the rear.
It was certainly a narrow escape, and all had very good reasons to
congratulate themselves on it.
The Steam Man kept on for a couple of hours at a fair rate of
speed.
Then some high mountains began to loom up in front.
“I believe those are the Los Pueblos Mountains!” declared Frank,
positively.
“Golly! dat am good!” cried Pomp.
“Bejabers, thin we ought to be nigh the inemies’ camp,” remarked
Barney.
“Yes,” agreed Frank. “It is well for us to be on the lookout.”
The region about them was of the most bare and arid sort.
To the southward there extended a literal desert, seemingly as wild
as the famed Steppes of Tartary.
Every few steps the bones of some dead animal and occasionally
a man were encountered.
It was in fact a plain of death. No living thing adorned it, and it was
probably in time of great drought that many travelers had lost their
lives here.
The Steam Man picked its way across the plain.
Soon broad mesas of some fertility were encountered.
Then a river was encountered, which was fortunately not so deep
but that it could be easily waded.
Once on the other side the Steam Man made its way through a
rocky pass and then a surprise was accorded the travelers.
Down through the pass there came the rumble of wheels and the
heavy cracking of a whip.
Then around a curve shot a heavy mountain stage with six horses
attached.
The driver, a burly fellow, with his belt filled with pistols, pulled up
the horses with a volley of oaths.
“Thunder an’ blazes!” he yelled. “Who in perdition are ye? What
kind of a rig d’yer call that?” The Jehu sat on his box staring at the
Steam Man like one out of his senses.
Upon the box was a miner in red shirt and top boots, and upon the
top of the coach were half a dozen more.
Within the coach were a number of Mexicans, a flashily dressed
sport and a type of the genus gambler.
“A stage line!” exclaimed Frank, in amazement. “And in this out of
the way place. Who’d have dreamed it?” “Bejabers, we must be
comin’ to some koind of a settlemint,” cried Barney.
The pass was barely wide enough at this point to let the coach and
the Steam Man pass.
But the coach did not offer to move, and Frank saw the
passengers pulling their revolvers.
He comprehended the situation at a glance, and cried:
“Hold on, friends! there’s no need of that. We are not road agents!”
“Oh, ye ain’t, eh?” thundered the burly Jehu. “Well, we’re powerful
glad to hear that. But whar in thunder did ye git that bullgine,
anyhow?”
The passengers now all crowded out of the coach.
They were consumed with curiosity to inspect this new wonder.
“Instead of a steam ingine!” cried one of the sports, “ye see,
gentlemen, we now have a Steam Man.”
“A Steam Man!” gasped several. “Well, if that don’t beat me.”
With much wonderment they proceeded to examine the Steam
Man.
Frank politely showed them the workings of the invention, and
then, with some surprise, said:
“But how do we happen to find an American stage and American
miners this side of the line?”
One of the sports gave a knowing wink and said:
“That’s all right—there’s a nice little claim over here that we’ve
been up to see. We are from Saint’s Repose, jest over the line into
the States. In course this is Mexican land, but if ther greasers don’t
get onto us, we’ll git some of that Mexican gold over into the United
States afore many days, you bet!”
Frank was astonished.
“Are we then very near the line?” he asked.
“Not more than fifty miles.”
This was most astounding information to Frank Reade, Jr.
He had already traveled a distance of full five hundred miles from
Laredo.
“Pshaw!” he exclaimed. “If I had known that I would have traveled
all the way on United States territory.”
“Cert, stranger,” was the reply, when Frank informed them of his
course, “but then, for all that, ye came direct enough. The line bends
in here, ye know, and ye’ve come along a north-westerly course.”
“So it seems!” agreed Frank, “but are not these the Los Pueblos
Mountains?”
“Cert.” “Well, how is it that you do not run across Miguel Costello
and his gang?”
“Well, we have heerd tell of that chap a good deal. He hain’t ever
attacked us, though we’ve been lookin’ for a scrimmage with him off
an’ on.”
“Indeed!” exclaimed Frank, in amazement. “I think it very singular
then, for I understand that he is the terror of this region.”
“An’ so he is, stranger. But we ain’t goin’ to be bluffed out of our
claim for a stack of greasers as high as Shasta.”
“That’s good pluck.”
“In course, but now ye’ve axed questions, stranger, s’posin’ we
take our turn. I’m Sam Sharp, or better known as Silver Sam. Who in
thunder are you?”
Frank was not a little amused at being addressed in this bluff
manner, but he quietly responded:
“I am Frank Reade, Jr., and I am from the East.”
The sport turned around and indicated three of the others.
“That’s Bill Guernsey, our driver,” he said, referring to the Jehu;
“this gent hyar,” indicating a bloated gambler-looking man with a
prodigious diamond on his shirt front, “is Mister Jake Bolton; we call
him Diamond Jake fer short. This gent,” indicating a tall, slender
youth with a sleepy air, “is Mister Chris Blume, an’ he’s our civil an’
minin’ engineer. We’re goin’ to drive a shaft up there a mile or more
an’ he’s goin’ to do the biz for us.”
“Gentlemen, I’m all very glad to meet you,” said Frank, politely.
“The same, stranger,” said Diamond Jake, advancing and shaking
Frank’s hand.
The others all advanced and did the same.
Silver Sam, as the sport was called, did not trouble to introduce
the laborers, as the red-shirted men might have been called.
They were a conglomeration of Mexicans, half breeds and toughs.
“Well, friend,” said Silver Sam, after the introduction was over,
“what’s yer biz in these parts, might I ax?”
“Certainly,” replied Frank, “and perhaps you can give me some
information to aid me?”
“Mebbe we can, stranger. We’ll be glad to do it if we can.” “Did you
ever hear of a man about here called Harvey Montaine?”
Sharp exclamations went up and glances were exchanged.
“You can bet we have, stranger, and he’s a white man, too.”
“Harvey is a gentleman,” said Frank.
“You bet he is. He was well liked in Saint’s Repose.” “Where is he
now?”
Silver Sam cleared his throat and came nearer.
“Look here, stranger,” he said, earnestly, “are you lookin’ for
Harvey?”
“I am.”
“Wall, I’m afraid ye’ll never be able to rescue him. He’s in the grip
of that devil Costello.”
“Ah!” said Frank, grimly. “That is what I heard.”
“It’s true enough. You see, Costello pounced down on him when
he was opening up his claim and massacred all his men. They may
have killed Harvey, too, but Costello keeps advertisin’ for a ransom.”
“The scoundrel!” exclaimed Frank.
“I’m thinking he ain’ after that,” said Silver Sam, with conviction,
“no more nor you an’ I are. It’s my ’pinyun he’s got sick of being road
agent and thinks there’s a princely fortune in that mine.”
“Well, is there not?”
“There ain’t any doubt of it.”
“Well,” said Frank, slowly and with great determination, “I don’t
mind telling you, friends, that I am in this region to spoil his game
and to rescue Harvey Montaine. I mean to do it—or die!”
“We glory in your pluck, stranger,” cried Silver Sam, warmly. “We
hope ye’ll succeed an’ we’ll help ye all we can.”
“I thank you.”
“One thing is sure. If Miguel Costello troubles us, we’ll make it
warm for him. We don’t mean to give up our claim. But as he is
twenty miles from here on another spur of the mountain-—-” Silver
Sam did not finish his speech. A thrilling thing happened at that
moment.
There was a wild, blood-curdling laugh far up the gorge, and the
next moment the crack of rifles smote upon the air.
Two of the red-shirted miners upon the top of the coach fell dead.
CHAPTER V.
BEATING A RETREAT.
Down into the defile there came a perfect swarm of armed men.
Rough looking wretches they were, all greasers and armed to the
teeth.
It needed but a glance for any in the party to realize who and what
they were.
“All aboard!” yelled Bill Guernsey, the stage driver. “Run fer yer
lives, lads. There’s no show fer us agin that pack of imps.” There
was no doubt of this.
Costello’s gang, for such they were, fairly swarmed in the defile.
There seemed a legion of them, and the numbers were too great
for the party of miners.
Frank saw this at a glance and he turned the Steam Man about.
Barney and Pomp were instantly at the loopholes and giving the
wretches a shower of bullets.
The party on the coach were firing, and a small sized battle was in
progress.
But all clambered aboard the coach, and just in time Bill Guernsey
cracked his long whip and sent his eight horses flying down the
pass.
The Steam Man was far ahead making rapid time.
But Costello was determined not to be cheated so easily of his
prey.
His murderous gang came thundering in pursuit. The greasers
rode like fiends and kept up a constant fire.
Down through the pass went the Steam Man.
After it came the stage-coach, and the passengers were yelling
and firing with full force.
A short while later the Steam Man shot out upon the mesas.
The coach came after and across the plain the race went.
Of course the fleet ponies of the greasers could out-foot the stage
horses.
The greasers came swarming up around the stage and it was
possible that they would have annihilated the mining party but for an
intervention.
Frank Reade, Jr., saw the danger and at once made action to
prevent it.
He turned the Steam Man making a wide circle.
Then he started out to strike the foe on the flank.
The Man rushed with full force for the party of outlaws.
They did not swerve, and the next moment the Man was among
them. The wheels of the wagon overturned horses, split the party up
and raised havoc.
Men were trampled beneath the Man’s iron feet. Horses were sent
riderless over the plain and confusion ensued.
The Steam Man followed up his advantage closely.
Right and left the outlaws were scattered. Several times Barney
drew a bead on a leader of the gang whom he fancied to be
Costello, but each time missed.
The man seemed to bear a charmed life. The Celt was disgusted.
“Bejabers, I think I’ll have to learn how to shoot,” he muttered,
disconsolately. “It’s three times shure that I thried it an’ each toime
missed me mark.”
The stage-coach meanwhile under Bill Guernsey’s able guidance
had gained a tremendous lead.
It seemed, indeed, well out of the race.
The greasers were completely scattered. The Steam Man went
flying about the prairie picking them off by twos and threes.
Every shot fired from the cage was deadly.
In face of such a withering fire the greasers could not stand their
ground.
They broke in wild confusion for the cover of the hills.
In the open the Steam Man was too much for them.
It could have whipped an army on a plain of good size, for it could
easily keep out of the way while a most deadly fire was kept up.
In short, the Steam Man put to rout the entire party of greasers.
They fled in the wildest confusion to the cover of the hills.
But the Steam Man was all the while pounding at their heels.
In a very short time the plain was cleared.
The stage-coach was a speck upon the horizon line.
It was on its way to Saint’s Repose, which Frank reckoned was a
small mining town, of which there were many in the Rocky
Mountains.
It was now a question as to what it was best to do.
Darkness was coming on and it would be necessary to find a
camp somewhere.
Frank had thought of keeping on to Saint’s Repose with the stage.
There he believed it would not be difficult to pick up a respectable
force of men with which to attack the greasers in the hills.
Of course the Steam Man could whip them in the open.
But the greasers could stick to the hills and no efforts would serve
to dislodge them.
It required no little thought and consideration upon Frank’s part to
decide what to do.
“Bejabers, av it was me,” declared Barney, sententiously, “I’d jist
go an up there mesilf alone and lave the naygur aboard the Steam
Man.”
“Golly! it am jes’ as easy fo’ yo’ to stay dar as fo’ me,” spluttered
Pomp. “You’se a no count I’ishman, anyway.”
“Don’t yez say that to me, naygur, or I’ll spile the face av
yez,“retorted Barney, with mock earnestness.
“Huh! jes’ yo’ try it, I’ish. Yo’ll hab yo’ han’s full in jes’ a minnit.”
“Begorra, I will thry it.”
“Jes’ cum right along.”
Barney began to roll up his sleeves.
It was likely that the two rascals would have indulged in a friendly
rough-and-tumble but for Frank.
“Come, this won’t do,” he said, sharply. “If you want to have any
skylarking, you must wait for a better time.”
Pomp made a grimace to Barney behind Frank’s back, and Barney
shook his fist at the darky.
This ended the discussion.
Frank decided not to go to Saint’s Repose.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com