FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 12 users online :: 0 Registered, 0 Hidden and 12 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SOLVED] script does not work

View previous topic View next topic Go down

jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sat 16 Jul 2016, 09:09

I would like to know where to put this script to see it in {} CKEditor on all pages

Code:
<script type="text/javascript" src="http://sd-2.archive-host.com/membres/up/164771344549570006/bottonimoderazionebbcode/bottonimoderazionecode.js"></script>

Reply : Yes

[SOLVED] script does not work Captur11

new topic : No [SOLVED] script does not work 1f33b
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sat 16 Jul 2016, 19:19

Hey, try replacing the code you posted with this :
Code:
document.write('<script type="text/javascript" src="http://sd-2.archive-host.com/membres/up/164771344549570006/bottonimoderazionebbcode/bottonimoderazionecode.js"></script>');

or this :
Code:
$.getScript('http://sd-2.archive-host.com/membres/up/164771344549570006/bottonimoderazionebbcode/bottonimoderazionecode.js');

That should work in JS codes management.

The other code should have been placed in the templates, because it's HTML. Wink
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 17 Jul 2016, 09:41

it does not work properly ...Reply : Yes...new topic : No I did it in any case also posting_body

[SOLVED] script does not work Captur12

I do not understand why it does not work,this is the code

Code:
$(function(){$(function(){
       
          $(' <a class="sceditor-button" unselectable="on" title="New"><div unselectable="on" style="background-image:url(http://icons.iconarchive.com/icons/chrisbanks2/cold-fusion-hd/16/news-alt-icon.png)"></div></a>').insertBefore('.sceditor-button-emoticon').click(function(){
            $('#text_editor_textarea').sceditor("instance").insertText("[table class=notewarningx][tr][td]","[/td][/tr][/table]");
          });
       
        })});$(function(){$(function(){
       
          $(' <a class="sceditor-button" unselectable="on" title="Off topic"><div unselectable="on" style="background-image:url(http://icons.iconarchive.com/icons/fatcow/farm-fresh/16/application-delete-icon.png)">Off topic</div></a>').insertBefore('.sceditor-button-emoticon').click(function(){
            $('#text_editor_textarea').sceditor("instance").insertText("[table class=notewarning][tr][td]","[/td][/tr][/table]");
          });
       
        })});$(function(){$(function(){
       
          $(' <a class="sceditor-button" unselectable="on" title="Info"><div unselectable="on" style="background-image:url(http://icons.iconarchive.com/icons/aha-soft/people/16/user-info-icon.png)">Info</div></a>').insertBefore('.sceditor-button-emoticon').click(function(){
            $('#text_editor_textarea').sceditor("instance").insertText("[table class=noteclassic][tr][td]","[/td][/tr][/table]");
          });
       
        })});$(function(){$(function(){
       
          $(' <a class="sceditor-button" unselectable="on" title="Attenzione"><div unselectable="on" style="background-image:url(http://icons.iconarchive.com/icons/double-j-design/ravenna-3d/16/Alert-icon.png)">Attenzione</div></a>').insertBefore('.sceditor-button-emoticon').click(function(){
            $('#text_editor_textarea').sceditor("instance").insertText("[table class=notetip][tr][td]","[/td][/tr][/table]");
          });
       
        })});$(function(){$(function(){
                  $(' <a class="sceditor-button" unselectable="on" title="Evidenzia"><div unselectable="on" style="background-image:url(http://icons.iconarchive.com/icons/creative-freedom/free-funktional/16/07-Draw-icon.png)">evidenzia</div></a>').insertBefore('.sceditor-button-emoticon').click(function(){
            $('#text_editor_textarea').sceditor("instance").insertText("[ic]","[/ic]");});  })});

thanks in advance For you
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Mon 18 Jul 2016, 13:40

who helps me .Thank you very much
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Mon 18 Jul 2016, 16:19

It was probably ignorant of me not to ask before, but could you explain what you're trying to achieve ? As best you can, take your time.

P.S.
Sorry I didn't answer sooner, I took Sunday off.
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Tue 19 Jul 2016, 13:32

well..I inserted this code in the module javascript -> all pages

code:

quick answer : yes

[SOLVED] script does not work La_ter21

Reply is new topic : not work

[SOLVED] script does not work La_ter22

where am I wrong ?

question ;
if I want to insert a script in the template in which I have to add?

thank you very much for your availability [SOLVED] script does not work 1f60d [SOLVED] script does not work 1f33b





Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 19 Jul 2016, 14:07

AH ! I see the problem ! You're using
Code:
.sceditor-button-emoticon
as a dropping point for your buttons. The emoticon button is not available in the full editor. I'd recommend changing
Code:
.sceditor-button-emoticon
to
Code:
.sceditor-button-date
instead.
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Tue 19 Jul 2016, 15:38

ok works
[SOLVED] script does not work Emoticon_grandi_126

question ;
if I want to insert a script in the template in which I have to add?
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 19 Jul 2016, 20:59

If you're inserting JavaScript into an HTML document, you MUST wrap the code with the <script> tag.
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Wed 20 Jul 2016, 06:33

how to center botton
[SOLVED] script does not work La_ter23
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Wed 20 Jul 2016, 09:48

@jessy use this CSS rule to center the buttons :
Code:
.sceditor-container .sceditor-toolbar {
  text-align:center;
}
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Wed 20 Jul 2016, 10:59

Thank you very much For you
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum