Home > User Guide

How to Empty a Background on Your Webpage when onClick, onMouseOver or onMouseOut?

Below is the result we want to achieve through SliceMaker products:

When your mouse hovers over the background, the background will disappear, or in other words, the background will be empty:

 

                                 [View the demo]                  [Download the demo]

 

You can also view a completed web page created by SliceMaker products to see how this function works for a completed web page.

 

                                                                                [View the Demo]                                    [Download the Demo]

 

The following passage will teach you how to achieve the above result with SliceMaker products.

 

 

 

 

 Step 1: Select the Slice that Contains the Background.

 

 

Note: The slice we select should be set as background attribute (If you doní»t know how to set a slice as background attribute, please view this tutorial).

 

 

 

 Step 2: Choose an Event - onClick, onMouseOver or onMouseOut

Here we will choose onMouseOver event.

 

 

onMouseOver event here will determine when a visitorí»s mouse hovers over the background, the background will disappear or will be empty.

onClick event here will determine when a visitorí»s mouse clicks the background, the background will disappear or will be empty.

onMouseOut event here will determine when a visitorí»s mouse moves away from the background, the background will disappear or will be empty.

 

 

 

 Step 3: Click the Add Button to Choose the Corresponding JavaScript Effect

 

 

 

 

 

 Step 4: Generate the Project

 

After generating the project, you will immediately view the above result through the built-in previewer of SliceMaker products.

 

 

 

 

 Contact Us for Help

If you cannot find a proper solution to your issue through the above methods, our support team is always on standby for whatever problems youí»ve got. We promise to you we will deal with your issues within 24 hours. Contact Our Support Team

 

 

 

 

Whatí»s Next:



Choose a SliceMaker Product to Create a Website on Your Own-30 Day Freetrial
SliceMaker Standard V3.6 - Freeware
The anyone-can-master webpage making software. You can create exceptional webpage/website on your own even if you're unfamiliar with webpage making.
$0
$0
SliceMaker Platinum V3.6 - Freeware
The bestselling webpage making software, helps you create exceptional webpage/website without writing complicated CSS and DIV codes.
$0
$0
SliceMaker Deluxe V3.6 - Freeware
The all-in-one webpage making software, helps you create webpage/website of any style. It's the idea tool to create webpage/website.
$0
$0