Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Пример страницы с виджетом</title>
	<button onclick="'hide_btn')">Скрыть виджет</button>
	<button onclick="'show_btn')">Показать виджет</button>
	<button onclick="'open')">Открыть виджет</button>
	<button onclick="'close')">Закрыть виджет</button>
	<button onclick="'open_widget')">Открыть форму запроса</button>
  <button onclick="'identify',{
          user_full_name: 'Василий Пукин', //системное поле
					user_email: '', //системное поле
					user_phone: '+78001000000', //системное поле
					company_name: 'Мосгорстрой', //системное поле
					company_position: 'директор по маркетингу', //системное поле
					user_note: 'Подумывает над оплатой пакета PRO', //системное поле
					subject: 'Персональнация демонстрация по Скайпу', //системное поле
					priority: 2, //системное поле (1 - низкий, 2 - средний, 3 - высокий, 4 - критический)
					cf_39: 'web', //кастомное поле (id можно получить через API)
					cf_34: true,  //кастомное поле (id можно получить через API)
					purchases: 12, //прочая информация, которая попадает в заметку
					'Partner URL': '' //прочая информация, которая попадает в заметку
> Заполнить поля формы обращения по почте</button>
  <button onclick="'reset')">Очистить поля формы</button>

	<!-- Start of Omnidesk Widget script {literal}-->
!function(e,o){!window.omni?window.omni=[]:'';window.omni.push(o);o.g_config={widget_id:"14302-hr8ar8jv"}; o.email_widget=o.email_widget||{};var w=o.email_widget;w.readyQueue=[];o.config=function(e){ this.g_config.user=e};w.ready=function(e){this.readyQueue.push(e)};var r=e.getElementsByTagName("script")[0];c=e.createElement("script");c.type="text/javascript",c.async=!0;c.src="";r.parentNode.insertBefore(c,r)}(document,[]);
<!-- End of Omnidesk Widget script {/literal}-->