Highlighted
Scholar

Embed Code

[ Edited ]

I have embeded some html code in my website. which has css and js applied on it in the code editor. how do i allow drag and drop. making it possible to apply css and js to any elements i like?

 

I mean to say how to embed the {area-name:content} thing [Weebly Docs] into custom html?

 

OR SIMPLY

 

I want to embed an HTML code in my website with a <div class>

css and js will be applied on it in the code editor.

 

just that instead of me coding the text and images, i want to drag and drop it. is this possible? how?

1 REPLY
Community Manager Community Manager

Re: Embed Code

You have to add that tag to a page template while editing a theme - it wouldn't be possible to add that using the Embed Code element.

 

You could add JS and CSS to your theme while editing it, then add <div class=""></div> to an Embed Code element. You might not see the JS and CSS applied in the editor, though it'll work on the live site if you have everything coded properly.

- Adam
Community Manager