Find Jobs
Hire Freelancers

sceditor add button with 3 fields

€2-3 EUR / hour

クローズ
投稿日: 4年以上前

€2-3 EUR / hour

Add to sceditor new button with this function [hide cost="25" title="super secret content"]Pay to view this content.[/hide] This is foundation [hide cost="25"]Pay to view this content.[/hide] $.[login to view URL]('hidep', { tooltip: 'Add unlock content for gems!', _dropDown: function (editor, caller) { var $content; $content = $( '<div>' + '<div>' + '<label for="hidep">' + editor._('Ammount of gems') + '</label> ' + '<input type="text" id="hidep" />' + '</div>' + '<div>' + '<label for="des">' + editor._('Your hidden content') + '</label> ' + '<input type="text" id="des" />' + '</div>' + '<div><input type="button" class="button" value="' + editor._('Insert') + '" /></div>' + '</div>' ); $[login to view URL]('.button').on('click', function (e) { var val = $[login to view URL]('#hidep').val(), description = $[login to view URL]('#des').val(); if (val) { // needed for IE to reset the last range $(editor).trigger('focus'); if (![login to view URL]().selectedHtml() || description) { if (!description) description = val; [login to view URL]('[hide cost="' + val + '"]' + description + '[/hide]'); } else [login to view URL]('createlink', 'mailto:' + val); } [login to view URL](true); [login to view URL](); }); [login to view URL](caller, 'inserthidep', $[login to view URL](0)); }, exec: function (caller) { $.[login to view URL]('hidep')._dropDown(this, caller); } });
プロジェクト ID: 23480212

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 4年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です

クライアントについて

ESTONIAのフラグ
Tõrva, Estonia
5.0
3
お支払い方法確認済み
メンバー登録日:12月 10, 2018

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。