Step 1. Make your buttons
* For each button, you will need two images: one representing when the mouse/cursor is ON the image, and the second representing when the mouse/cursor is OFF the image.
Step 2. Store your buttons
* Create a container page in your Trellix file by right clicking in the MAP area, then selecting 'Insert Container Page'.
* Click on the drop down box, and click on 'Captured Resource'. A new window will open up.
* Click on Insert -> From Disk, and load your image into the container page. Repeat until all images are loaded.
* After you have inserted all your images, you are required to identify one image as default. Simply click on Edit -> Set Default
* Click on File -> Save & Exit. The Container Page Properties window appears. Be sure to record the assigned Resource number! In the example below, the resource number is: Resource:270
Step 3. Place your buttons
Please notice: generally to insert an image on your page, you simply click on the 'Add Image' icon. But in this case, we will be inserting a 'Build Your Own Web Gem' (BYOWG) for each button. So, if you are going to have 5 buttons on your page, you will be creating 5 BYOWG's!
* Simply cut and paste the provided Javascript code into the BYOWG, and modify the identified lines for your specific images.
* Repeat for as many buttons as you plan to use
* Publish and test it out!
|