spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript

For Your Site
Yehuda Shiran


Columns

Columns 111-120
Columns 101-110
Columns 91-100
Columns 81-90
Columns 71-80
Columns 61-70
Columns 51-60
Columns 41-50
Columns 31-40
Columns 21-30
Columns 11-20
Columns 1-10

Tutorials

Windows

Cool Tools

Menu Builder
Rollover Builder
Bookmarklet Builder
Rotation Builder
Window Builder

Tip Archive

Latest Random Tips
Personalized Tips
Channels

Hot Spots

Top 10 | 20 Tips
Top 10 | 20 Columns
Top 10 | 20 Pages

Reference

Forum
Links
Bookstore
For Your Site
Contact Us
About Us

Free Newsletters

JavaScript.com
Webreference




Add Doc JavaScript's Tip of the Day to your personal My Netscape page

Did you learn something? Do you like the site? Please link to us!

docjs.com

If you enjoy our content, we would appreciate a link to our site. This page presents several unique linking methods:

JavaScript Random Tip of the Day

Doc JavaScript now provides randomly selected JavaScript tips from our Tip Archive for your own site. Keep reading to find out how you can display our daily random selection.

Put the following HTML tag in the HEAD portion of your document:

<SCRIPT SRC="http://www.webreference.com/js/tip.js">
</SCRIPT>

This script doesn't actually affect your page. It only defines three JavaScript variables that you can use anywhere on your page:

  • docFile - the name of the current tip's file
  • docTitle - the title of the current tip
  • docDescription - the description of the current tip
Now you can take advantage of these variables in your scripts. For example, the following script generates a link to today's tip:

<SCRIPT LANGUAGE="JavaScript">
<!--

document.write('<A HREF="' + docFile +
'">' + docTitle + '</A>');

// -->
</SCRIPT>

JavaScript Tip Categories

Doc JavaScript's daily tips are organized in a bunch of categories. You can add our drop-down category list to your site by copying the following code:


[ select ]
Here's the result of the above HTML code:

Note that the style of the menu (font, color, etc.) can be changed via the attached style sheet.

JavaScript Tip Channels

If you've got full access to your server, you're ready to go one step further by adding our RSS channels to your site.

A Simple Link

If you like this site, please link to it. The following HTML code creates a link to our site:

<A HREF="http://www.docjs.com/">Doc JavaScript</A>

Description: Biweekly JavaScript columns and a new JavaScript tip every day of the week, including weekends. Also features various tools and other JavaScript resources.

Developer News
Sir Tim Talks Up Linked Open Data Movement
From L.A. to Vegas With 100GbE
Salesforce Rolls Out Big Summer '08 Update

Produced by Yehuda Shiran and Tomer Shiran.


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Book Review: Head First JavaScript · Web Hosting Control Panels · Use Your Blog for Fast Search Engine Rankings
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
NetApp's Virtual Storage Strategy Crystallizes · F/MC Watch: A Cisco-Centric Approach · Olympic Time Trials Use Wi-Fi Mesh