Apollon HOMENFX Main Page
Apollon News!
SC Tutorial
NetObjects

ScriptCaller Tutorial.

 

“Calling All Components...”

A quick-and-easy guide to “calling” a Script-Component.

By Peter Pasho
June 01, 1999
 

Before the availability of the Apollon ScriptCaller Component, “calling” a Script-Component was a rather complicated and messy procedure for many NOF users. The process involved the manual insertion of specific Javascript-parameters, which can be a little bit confusing >>> (Refer to “How to CALL Script-Components” to see what I mean).

Now...there’s a much easier way to “call” Script-Components! The following tutorial will help you get acquainted with the ScriptCaller Component. But before we start, mouse-over the ”Mouse Here” button to see what we’re going to do in just a few simple steps:

 

NOTE:
ScriptCaller has a Wizard to help you set-up your component! However, you’ll still need to become familiar with the ScriptCaller “Properties”, so I suggest that you go through the tutorial first. By doing so, you’ll know what to input in the Wizard dialog window.  Click the ScriptCaller icon below to see what the Wizard looks like:

 

ScriptCaller Tutorial:

Step 1:  Choosing a Script-Component.

We get started by deciding which Script-Component we want to “call” (for a list of available Apollon Script-Components, go to the Components Page). In this tutorial, we decided to “call” the BrowserPopup-Component. We simply select and place the BrowserPopup Component somewhere on the page, and then we enter the parameters as noted by the “AFTER” image below (Click here if you need more help with setting up the BrowserPopup Component).

The “BEFORE” image is what you’ll initially see once you’ve placed the BrowserPopup on your page. The “AFTER” image shows you the parameters I entered into the BrowserPopup dialog-window:

BEFORE

AFTER

As noted in the “AFTER” image above, “Popup1” was entered as the Function-Name. This is the Function-Name that will later be detected by the ScriptCaller Component (in Step 2). The URL selected is the “Lesson1” page (browser-popup window) that I created earlier, with a 400 x 250 window size. Of course, you can point to “any” URL you wish.

 

Step 2:  Setting up the ScriptCaller Component.

Click the dialog window below to view the ScriptCaller Properties!

Choose the ScriptCaller Component and place it on the page. Since the BrowserPopup is already on the page (with it’s Function-Name titled “Popup1”), the ScriptCaller will detect this Function-Name and allow you to select it from the “Function-List” drop-down. *If a Function-Name is NOT in the list, simply enter one in the text-field. This will allow you to call functions that are NOT inserted by script-components!

Here, we are using an “Image” to call the function (“Insert Element” option). Select  “Mouse-Over” from the “Call On” property field. We’re not using Frames, so we don’t need to define a frame in the “Def. in Frame” property field. (Click the image on your left to view the property definitions). That’s it! Now publish locally to test it out...

 

That’s all there is to creating a BrowserPopup using ScriptCaller. Of course, you can apply ScriptCaller to any Script-Component, and there are many other options to choose from within the BrowserPopup and ScriptCaller dialog-window. For answers to questions posted by others, go to the ScriptCaller FAQ Page. To download it, just go to the ScriptCaller Main Page. Otherwise, enjoy the FREE Apollon Components!

 

 

©1999, The Apollon Project. All rights reserved.
Please contact
info@apollon-project.de with any comments or questions regarding this site.

Site concept and design by:

The Web Cartel