使用ActiveX Timer控件创建Slide Show

翻译|其它|编辑:郝浩|2004-02-06 16:13:00.000|阅读 1706 次

概述:

# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>

Robert Coleridge

July 23, 1996

Contents

Introduction
Controlling the Timer with VBScript
Defining the Timer Object in HTML
Timer Events, Methods, and Properties

Abstract

This article explains the coding required to create a "slide show" Web page using the ActiveX???? Timer control and Microsoft? Visual Basic? Scripting Edition (VBScript) that displays images at regular intervals within a picture frame.

Introduction

To complete this example, you will need ActiveX controls—in particular, the ActiveX Timer control (which can be found in the Microsoft ActiveX Software Development Kit (SDK), available on the MSDN Development Platform)—and a scripting language such as Visual Basic Scripting Edition or JavaScript????. In this example, I will be using Visual Basic Scripting Edition as the scripting language. I will discuss the coding for the slide show in two sections: The first section describes the scripting code used to control the Timer object, and the second section describes the HTML tags for including the Timer object on the Web page. I've also included a reference section listing the events, methods, and properties associated with the Timer control.

Controlling the Timer with VBScript

We first need to create a script and place it in our HTML page using the

扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP