#Weebly button text html full#
Users can drag elements into an accordion paneĮach content field requires a unique name and you can provide a default value.Menus Icon Bar Menu Icon Accordion Tabs Vertical Tabs Tab Headers Full Page Tabs Hover Tabs Top Navigation Responsive Topnav Navbar with Icons Search Menu Search Bar Fixed Sidebar Side Navigation Responsive Sidebar Fullscreen Navigation Off-Canvas Menu Hover Sidenav Buttons Sidebar with Icons Horizontal Scroll Menu Vertical Menu Bottom Navigation Responsive Bottom Nav Bottom Border Nav Links Right Aligned Menu Links Centered Menu Link Equal Width Menu Links Fixed Menu Slide Down Bar on Scroll Hide Navbar on Scroll Shrink Navbar on Scroll Sticky Navbar Navbar on Image Hover Dropdowns Click Dropdowns Cascading Dropdown Dropdown in Topnav Dropdown in Sidenav Resp Navbar Dropdown Subnavigation Menu Dropup Mega Menu Mobile Menu Curtain Menu Collapsed Sidebar Collapsed Sidepanel Pagination Breadcrumbs Button Group Vertical Button Group Sticky Social Bar Pill Navigation Responsive Header The Weebly Accordion element is an example of one that uses content fields. content: Content fields allows the user to drag elements into your element.button: You can include buttons in the template to initiate an action.The Weebly Team Card element allows the user to upload images of people. image: Your template can include images.The text in the Price Chart element uses text fields. Weebly supports four types of content fields: They make use of existing Weebly components, providing a consistent UI between your element and the Weebly ecosystem.
Content fields are small sections of your element that are directly editable by the user. This may be necessary when your element requires major interactivity with the user on a published site, as the element placeholder in the editor can handle only basic interaction, such as direct editing. This allows you to specify a different UI (or an augmented UI) within the editor. However, you can also provide an editor_element.tpl file to be used only within the editor.
By default, this is the same as your element on a published site, and so uses the same template. Your element is displayed in the editor using an element placeholder. You need to create at least one template named element.tpl, which will be used for both the placeholder in the editor and the published site. tpl files) are located in an html folder in the root of your element. Data: Your template can include the values for the element, user, and site IDs, as well as the path to the element assets.