How Do I Use the Raw JavaScript Element in SoCast?
How Do I Use the Raw JavaScript Element in SoCast?
This Article Is For

- All users who have access to pages, blogs, contests, or sidebars
- Applicable to all themes
The Raw JavaScript element lets you add custom JavaScript directly to your pages, blogs, contests, or sidebars. Use this element to enhance your site with interactive features or custom scripts.
Step-by-Step Guide
-
JavaScript Code: Enter your JavaScript code in the provided field.
-
Element ID: Enter a unique, valid element ID. Make sure it follows the W3C specification.
-
Extra Class Name: If you want to style this element differently, add a class name here. You can then reference this class in your custom CSS.

Related Articles
How Do I Add and Use the Polls Element on My SoCast Website?
How Do I Add and Use the Polls Element on My SoCast Website? Who Is This Article For? All users with access to pages, blogs, contests, or sidebars Applies to all themes Why Use Polls? Adding a poll to your website helps you better understand your ...
What Are Elements in SoCast and How Can I Use Them on My Website?
What Are Elements in SoCast and How Can I Use Them on My Website? An Element is a small, functional block you can add to your website to enhance its design and structure. Elements are easy to use and can be dragged and dropped into your pages, ...
What Content Can and Cannot Be Syndicated with RSS Subscription in SoCast?
What Content Can and Cannot Be Syndicated with RSS Subscription in SoCast? Use this guide to see which widgets and page elements are included when you syndicate blog content via RSS. This list will be updated as new features are released. Widgets and ...
How Do I Add a Clickable PDF Link to a Page in SoCast?
How Do I Add a Clickable PDF Link to a Page in SoCast? Who Is This Article For? All users with access to Pages Applicable to all themes Follow these instructions to add a clickable PDF link to a page, blog post, or other content area in SoCast. ...
How Do I Use the Raw HTML Element in SoCast to Add Custom Code to My Pages, Blogs, or Sidebars?
How Do I Use the Raw HTML Element in SoCast to Add Custom Code to My Pages, Blogs, or Sidebars? The Raw HTML element lets you add custom HTML directly to your pages, blogs, or sidebars. This is useful for embedding widgets, forms, iframes, or other ...