- Skill level:
Other People Are Reading
Write the HTML code. You must wrap your element inside of a parent element. The parent element must be assigned a unique identification. This sample code places an image of a menu option inside of a parent division. The division is assigned the ID "imageWrapper."
Select the container div. Use the mouse to drag your cursor over the parent element (e.g., the image Wrapper div from the previous example).
Open the behaviours panel by selecting the "Window" menu option from the option bar at the top of the screen and the "Behaviors" submenu. The Behavior window should appear on the right side of your screen.
Tap the "+" button at the top of the Behaviors panel. This creates a new behaviour.
Select the "Slide" effect option from the new Behaviors menu.
Assign properties to the new slide effect. You can cause the element to slide up or down and allow the effect to be reversed. You may also determine how high or low the element slides when clicked by the site's visitors.
Tips and warnings
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for