All Calculators
Nothing found
Add calculators to favourites and they will appear here.
This javascript widget can be embedded to your website for free. Also there is paid version with some advantages.
| Free | S
Suits for
majority of websites |
M | L | |
| No ads | ||||
| CSS | ||||
| Technical support | ||||
| 7calc.net label absence | ||||
| Usage on private pages | ||||
| Websites count | 1 | 1 | 1 | 1 |
| Limit of shows | 1000 | 250 | 1500 | ∞ |
| Price | Free | |||
| Get code |
Widget code consists of two parts:
1. Library import. Put this code between <head> and </head> tags.
<script src="https://7calc.net/dist/widget.js"></script>
2. Initialization. Put this code into any place in your template where you want widget to appear.
<div id="calcus-container"></div>
<script>
const options = {
}
CalcusWidget.show('Fuel', options)
</script>
3. Объект options может содержать следующие настройки:
| Параметр | Тип | Значение по умолчанию | Описание |
|---|---|---|---|
| token | string | Токен для платной версии. | |
| currency | string | RUB | Трехсимвольный код валюты (если используется в калькуляторе). |
| defaults | object | {} | Значения полей по умолчению. В качестве ключей объекта используются имена полей. |
| dropdownValues | object | {} |
Установить доступные значения в выпадающих полях формы. Ключи объекта - имена select полей, значения - массив доступных значений. Неперечисленные значения будут скрыты. |
| hideFields | array | [] | Скрыть определенные поля из калькулятора. |
| hideResults | array | [] | Скрыть определенные результаты расчета. |
| instance | integer |
Используется для установки двух и более калькуляторов на одну страницу. Значение этого параметра должно дублироваться в id контейнера, напр. <div id="calcus-container-2"></div> |
Since widget is being stored into html directly (without iframe), CSS styles also can be applied directly to widget elements. All user-defined css properties should include !important.
По вопросам установки и настройки виджета: letter@calcus.ru
Installing widget on your website you agree that 7calc.net website as widget provider is not responsible for incorrect widget display, for information in widget, for possible errors in calculations.
We also keep the right to modify widget HTML code, what may cause applied styles no longer work correctly.
| Saved calculations |
/ 5
|