SHARE
Facebook X Pinterest WhatsApp

Remote Control Javascript Tutorial: Section Three

Written By
thumbnail
Joe Burns
Joe Burns
Jan 4, 2005

     All righty then…let’s put it all together. First off, you need
to get the script. You can just copy and paste it right off of the Section Two page. Go ahead
and configure it to your heart’s content. If you add more lines, you must again add the

OpenWindow.document.write

     …commands in front of the new lines. Just keep adding, but
keep the same general format again and again.

Placing the Script

     Take the script that you created and paste it within the
head commands. Do not place the script within the body commands.
It won’t run there.

     In order to get it to run, make this your BODY command:

<body bgcolor=”ffffff” onLoad=”openindex()”>

     The onLoad command runs the script and posts the little remote window.


     That should do it. Place the pages you will be calling for in
the same directory as the remote control page. It should run like a top. Or like a web page.
Either or…

 

Enjoy!

 

Recommended for you...

The Revolutionary ES6 Rest and Spread Operators
Rob Gravelle
Aug 23, 2022
Ahead of Time (AOT) Compilation in Angular
Tariq Siddiqui
Aug 16, 2022
Converting a JavaScript Object to a String
Rob Gravelle
Aug 14, 2022
Understanding Primitive Type Coercion in JavaScript
Rob Gravelle
Jul 28, 2022
HTML Goodies Logo

The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.