Title: CIW Insider
CramSession StudyGuides InfoCenter Discussions SkillDrill Newsletters
3,000 Subscribers Worldwide March 26, 2002 ~ Issue #16
 Feature
A Bonehead's Guide to JavaScript, Part 1

 Kewl Stuph
Featured Tool: SiteStats.com
Featured Site: Happy Tree Friends (Hey, it's Easter, right?)
Featured Script: Background Slideshow Script
e-Potpourri: Web Tutorials... from my old University?!??

 Newz Flashes
CIW books from Bookpool.com
JavaScript in Macromedia Dreamweaver
Free Mastering TCP/IP Course, from Free-ed.net


PALMS SWEATY OVER YOUR NETWORK SECURITY? FREE WEBCAST!


Security is a major concern for businesses and governments worldwide. IT managers responsible for security need to have confidence that their systems are in place, up to date, and working. View this webcast to gain a better understanding of the security issues people just like you are facing, and learn about the best security solutions for your business.

Click Here To Learn More!

For information on how to advertise in this newsletter
please contact our Ad Sales team or visit our advertising page.

 Feature
A Bonehead's Guide to JavaScript, Part 1

Our divine ;De dives into scripting this week...

JavaScript is a great skill to have in your arsenal of web tools. JavaScript can make your web pages dazzle or irritate, be more dynamic or less functional, look professional or amateurish. JavaScript is like dust: it’s everywhere; you just don’t notice it unless there is a ton of it lying in one place. So, sometimes, less is more. Like anything on the web, too much is annoying, ugly and distracts from the real purpose of the page. It’s a careful balance to keep in mind. So, don’t get too carried away with too many scripts all at once.

One good thing about JavaScript is that many, many scripts are freely available on the web, and you can easily “borrow” the script for your site. The problem is that doesn’t make you a JavaScript guru anytime soon. You’ve all probably seen JavaScript code and have at least a vague sense of what it looks like and can do, but when it comes to coding it yourself, you may be shy and standoffish--at least until you really understand what you are doing.

The only real way to get a sense of what JavaScript does and can do is to start typing. Start typing out simple scripts to understand how they really work. You need a solid, working knowledge of HTML before you dive into JavaScript.

Let me start with 3 quick helpful suggestions to remember:

  1. JavaScript is case-sensitive. Very important to know.
  2. Almost all JavaScript errors are caused by typos. So, type carefully, and check your scripts over.
  3. JavaScript does NOT act the same in different browsers, so you need to test it in multiple browsers...Internet Explorer and Netscape being the minimum to test your code out first.

Okay, let’s learn JavaScript!...


Read the rest...

This week's feature by
Cherina Sparks
debaucherry


Comments or questions? Check out the CIW Insider Forum
Where the wild things are
....


 Kewl Stuph
Kewl Tool - SiteStats.com

Site Stats gives you all this information, with:

- Reliable web traffic reporting, live on the web
- Real-time traffic monitoring, 24 hours a day
- Reporting weekly and monthly traffic, by email

Site Stats is a hosted web activity tracking solution. Here's what this means:

- Hosted - the service is provided by our computers and databases
-
Web activity - people around the world reading your web site
- Tracking - we capture activity data in our stats databases
- Solution - we deliver real-time and weekly web traffic reports to
   you

Kewl Site - Happy Tree Friends (Hey, it's Easter, right?)

First let me say, you really have to have a great sense of humour to enjoy this. Second let me say, that having a really twisted and totally messed up sense of humour is even better to really enjoy this.... twisted piece of Easter animation. (Let's just say that ByteBackNews giggled for half a day. Nuff said. This is twisted.)

Don't say I didn't warn ya.... (headphones on, beverages to the side, look around for the boss, and click)

Happy Easter...

This is a funky JavaScript from CodeLifter.com. What they say about it: " This runs an image slideshow in the background of the page, underneath the page content. Used with the accompanying style script, images are discretely positionable in the page space, just like a regular slideshow. Leave out the style script, and the slideshow runs with full page-space presentation. IE 4.0+ or NS 6.0 (degrades gracefully in others)."

Pretty cool, actually. Here's just Step 1 of 3:

<script language="JavaScript">
<!--

// (C) 2001 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header

// =======================================
// set the following variables
// =======================================

// Set speed (milliseconds)
var speed = 1000

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'slideshow1_1.jpg'
Pic[1] = 'slideshow1_2.jpg'
Pic[2] = 'slideshow1_3.jpg'
Pic[3] = 'slideshow1_4.jpg'
Pic[4] = 'slideshow1_5.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = "Pic[i] }

function runBGSlideShow(){
if (document.body){
document.body.background = "Pic[j]; j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runBGSlideShow()', speed)
}
}

//-->
</script>


Click the link below to see Steps 2 and 3. Personally, I'd get rid of most of the comments if I were using this on my site. This looks slick, and there's a demo there, too.

;De'lightful script this week...

Every so often I see something on the web that makes me say something like "holy cow" or "what the?!" but with words that I really can't publish here in this newsletter. Discovering this link was one of those occasions.

This link is a stack of free web tutorials and web sites, but it's from my old university. I was shocked that they were so..... organised and with it. So, I'm giving them some air time in my newsletter. My perogative. There is a TON of useful stuff here that you can fave and save. Check it out...

Wecome to the University of Alberta...

 Newz Flashes
Discounted CIW books from Bookpool.com

Looking for CIW books to help you study? Shocked by the outrageous prices for them? Then check out Bookpool.com, or favourite web site for discounted technical and certification books.

Using JavaScript in Macromedia Dreamweaver

"Macromedia's Dreamweaver is one of the most popular visual HTML editing tools. And for good reason -- it's powerful, accessible, and it generates pretty good code. During Dreamweaver's evolution, Macromedia has added some interesting new features -- most notable for our purposes is the enhanced JavaScript functionality.

Not only the application is scriptable, it (almost) supports the DOM Level 1 spec and defines its own JavaScript-API with more than 400 different functions. It's also possible to customize the menus and incorporate new commands into it.

In this column I'm going to show you how to get inside of Dreamweaver and manipulate the functions defined by the JavaScript-API. As an example of the mischief you can create once using Dreamweaver commands, I'll give you step by step instructions for adding word count capability to the application..."

OOoooooh Dreamy ...

Free Mastering TCP/IP Course, from Free-ed.net

Free-ed.net has many free online courses, actually...

This is a complete introductory course in TCP/IP technology. Typical completion time for the course is about 6 weeks.

How to Take This Course

You may have to sign in and fill out a brief questionnaire when you begin the first lesson. This is required of our content provider. However, this is a one-time event, and you will not be asked to sign in for any lessons in the future...

CIW Insider is written by Cherina Sparks, an aficionado of
neato, kewl stuph on the web, who definitely spends
too much time in front of her computer ;De




Your subscribed e-mail address is:[EMAIL PROTECTED]
To unsubscribe, simply click here and hit "send" in your e-mail reader,
or visit the CramSession Unsubscribe Page .


© 2002 BrainBuzz.com, Inc. All rights reserved. Click here for Terms and Conditions of use.

 

Reply via email to