Tutorials

Setup

Setup for Movable Windows can be done in three steps:

1. Add Movable Windows:

Open your editor and add Movable Windows. The window’s appearance when expanded is always visible in the editor.

2. Add Content:

Fill your window with the content you desire. Use the Window Content section in the editor for this step.

3. Adjust Settings:

Click on Movable Windows in the editor and open the settings panel. It has three sections, and we’ll start with the “Window Settings.”

  • Title: Define the text in the Titlebar, visible when expanded or minimized.
  • Width: Set the expanded window width; height adjusts automatically.
  • Padding: Control space around the window content.
  • Start: Choose between “Minimized” or “Expanded” on the first page load.
  • Expand when entering viewport: Available if “Start” is set to “Minimized.” Auto-opens the minimized window when it is scrolled into view.
  • Resizable: Allow resizing with defined minimum and maximum dimensions.
  • Maintain aspect ratio: Only available if resizable. Scales height and width proportionally.
  • Style: Choose from “Light,” “Dark,” or “Custom” to change the appearance of the window. “Custom” allows you to set your own color for each of the window elements as well as adjust the corner rounding. Refer to the following graphics to see what each of the available color options apply to.

Now, let’s look at the “Minimized Settings” section:

  • Position: There are three options to choose from.
    • Inline – The minimized window will display in the exact location inside your page content that it is placed. If this option is selected a setting is provided to allow you to adjust the horizontal alignment.
    • Fixed – The minimized window will display at a defined location fixed to the browser viewport. The minimized window will always be visible as the page is scrolled. If this option is selected position and offset settings are provided for you to define the location where the window will display when minimized. You can refer to the following image to see an example of what the different provided settings do.
    • Movable – The minimized window will display at the location the open window was minimized. The minimized window will always be visible as the page is scrolled and page visitors can drag the window to any location in the browser viewport.
  • Hide title when minimized: Remove title from the titlebar when minimized.
  • Change toggle icon: Enable to optionally change the minimized window icon. When enabled, an icon element will appear in the editor. Opening the settings panel of that element will allow you to choose an icon from three provided icon libraries.

Finally, tweak the “Expanded Settings” section:

  • Initial Position: Define the starting location of the expanded window in the browser viewport
  • Offset: Adjust the space around the expanded window from the edges of the browser viewport.
  • Z-index: Adjust the vertical stacking order of the window when expanded in relation to other non window elements on the page. You can modify the z-index value to control which elements appear in front of or behind the window. Higher values appear in front.

Custom minimize toggle button

You can configure a button or link inside your window content to minimize the window when clicked. The first way to do this is to add the class “movable-windows-toggle” to the element.

The second way to do this is to add a new attribute to a link. The attribute title should be “movable-windows-toggle” and the value should be “1”.

RapidWeaver Stack Tutorials

RapidWeaver Theme Tutorials

RapidWeaver Project Documentation

Tutorials and documentation for all 1LD Project files can be found at the link below.

See Documentation

Get the power of a framework, for the price of a theme, in the convenience of a prebuilt RapidWeaver project file

Blog

Movable Windows

Move beyond the confines of static content layouts! Movable Windows allows your page visitors to effortlessly drag and reposition custom content windows anywhere in the browser viewport. Windows can be minimized to free up space and stay fixed to the browser viewport so they are always accessible.

Resize & Minimize

Windows can be resized to take up more or less space, or maximized to fill the entire screen. But that’s not all – these windows are like handy sidekicks, always ready to assist. Need quick reference? No problem! Windows can be minimized when not in use, saving precious screen space for what really matters – your page content.

Inline

Open windows stay fixed on screen so they are always accessible. Minimized windows have three modes to choose from. “Inline” keeps it in line with other content, “Fixed” is always on screen, and “Draggable” lets you move it around while minimized.

Customizable

It’s not just about functionality; it’s about style too. Customize your windows by size, position, and color. Add in text, images, forms, links – you name it! Want a little more flair? Allow window resizing, choose whether they start minimized or open, change the toggle icon, or hide the window title when minimized.

Check it out!

 

 

© 2011 One Little Designer, 1 Little Designer (1LD)

RapidWeaver is a trademark of Realmac Software