Tip Bank

DevX - Software Development Resource

JavaScript Switch Statement

The latest version of JavaScript used by both Netscape Navigator 4.x and Microsoft Internet Explorer 4.x includes a C-like switch statement that closely mirrors the SELECT CASE statement available in

DevX - Software Development Resource

Create Horizontal and Vertical Lines Using DHTML

It’s possible to dynamically create horizontal and vertical lines and rectangles using Internet Explorer 4.0 Dynamic HTML to alter the width and/or height of a single pixel image. Using this

DevX - Software Development Resource

Animating Images with JavaScript

Animating between a number of images is fairly easy to do and works in Netscape Navigator 3.0+ and Internet Explorer 4.0+. Put the URLs of the images you’d like to

DevX - Software Development Resource

Printing from Browser

Question: Is there a way to print an HTML page (perhaps using VBScript or JavaScript) without the user clicking on the print button? Answer: Ah, printing! You would think that,

DevX - Software Development Resource

Setting z-index

Question: I am having problems setting a lower z-index for a layer that contains a combo box. All of the elements in that layer are covered by a higher z-index

DevX - Software Development Resource

Running Out-of-Process Components

To run executables and objects from Word and Excel from Active Server Pages, you need to change the value of an IIS4 Metabase property called AspAllowOutOfProcComponents to True. The easiest

DevX - Software Development Resource

Limit Your Cookie Size

There are a number of important limitations on the use of cookies by Web site developers. This is because cookies are intended to be used only for infrequent storage of

DevX - Software Development Resource

Same Layer Over Different Frames

Question: Is there a way to place and/or move a layer over different frames? I have a menu-frame on the left and a main-frame on the right. Now I’m trying

DevX - Software Development Resource

Switches

Question: I’m attempting to write a command line program which has switch functionality (such as the DOS switches). I’m not sure how to code the program to accept the switches