Notifications
Clear all

wpForo 1.x.x [Solved] My javascript was blocked by wpforo

8 Posts
2 Users
0 Reactions
3,715 Views
Posts: 17
Topic starter
(@pierreledeveloppeur)
Eminent Member
Joined: 6 years ago

Hi guys I made a code java script that works; here he is to change his style.CSS 🙂 !

<div class="livedemo">
<script type="text/javascript" src="http://www.gopiplus.com/work/my-plugin/demo/anything-popup.js"></script>
<h2>Live Demo 1</h2>
<a href='javascript:AnythingPopup_OpenForm("AnythingPopup_BoxContainer","AnythingPopup_BoxContainerBody","AnythingPopup_BoxContainerFooter","600","600");'><button> Style chooser </button></a>
<h2>Live Demo 2</h2>
<a href='javascript:AnythingPopup_OpenForm("AnythingPopup_BoxContainer","AnythingPopup_BoxContainerBody","AnythingPopup_BoxContainerFooter","700","600");'><img src="http://www.gopiplus.com/work/wp-content/plugins/anything-popup/button.png" alt=""></a>
<div id="AnythingPopup_BoxContainer" style="display: none; top: 942.5px; left: 340px;">
<div id="AnythingPopup_BoxContainerHeader">
<div id="AnythingPopup_BoxTitle"><div class="sty">StyleChooser</div>
<div id="AnythingPopup_BoxTitle"><div class="ALP">
Sélectionnez le style dans lequel ce site doit être affiché</div>
</div>
<div id="AnythingPopup_BoxContainerBody"><script type="text/javascript">
function switchStyle(style){
document.getElementById("mycss").setAttribute("href", style);
}
</script>
<link rel="stylesheet" type="text/css" href="mafeuilledestylepardefaut.css" id="mycss" />
<button onclick="switchStyle('mafeuilledestylealternative.css')">Scratch</button>
<script type="text/javascript">
function switchStyle(style){
document.getElementById("UUX").setAttribute("href", style);
}
</script>
<link rel="stylesheet" type="text/css" href="http://sthd.clepopiplay.com/wp-content/uploads/2018/07/demo.css" id="UUX" />
<button onclick="switchStyle('http://sthd.clepopiplay.com/wp-content/uploads/2018/07/UUX-10.css')">UUX</button>
<script type="text/javascript">
function switchStyle(style){
document.getElementById("TACTICAL").setAttribute("href", style);
}
</script>
<link rel="stylesheet" type="text/css" href="http://sthd.clepopiplay.com/wp-content/uploads/2018/07/demo.css" id="TACTICAL" />
<button onclick="switchStyle('http://sthd.clepopiplay.com/wp-content/uploads/2018/08/TACTICAL-10.css')">Tactical</button> <ol class="primaryContent chooserColumns twoColumns overlayScroll">
</div>
<div id="AnythingPopup_BoxContainerFooter" style="visibility:visible;"><div id="AnythingPopup_BoxClose"><a href="javascript:AnythingPopup_HideForm('AnythingPopup_BoxContainer','AnythingPopup_BoxContainerFooter');"><input type="submit" class="wpf-search" value="Cancel"></a></div></div></div>
</div>

I integrated it in My footer to see HERE http://sthd.clepopiplay.com ; He walks but when I'm on the forum [WpForo] he does not do anything he does not walk I would like to know why he does not walk 🙁 I hope that I explain clearly, if WPforo blocks this thank you for telling me how the unlock FAST !! Please

 

IF IT A PAGE : http//sthd.clepopiplay.com/staff  IT WORKS But not http://sthd.clpeopiplay.com/Community 🙁 

7 Replies
Posts: 17
Topic starter
(@pierreledeveloppeur)
Eminent Member
Joined: 6 years ago

please answer my question and my problem please :/

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi PierreLedeveloppeur,

I'm really sorry but I can't find time for debugging this code, this is out of our support. We don't support custom code issues.

Posts: 17
Topic starter
(@pierreledeveloppeur)
Eminent Member
Joined: 6 years ago

please follow me @Robert not to block this code is a POPUP we have the right to add it however I do not know why you blocked it ...

Posts: 17
Topic starter
(@pierreledeveloppeur)
Eminent Member
Joined: 6 years ago

and I would like to enter your team of developer I am only 11 years old http://sthd.clepopiplay.com I create all this and I can open myself to you and give my services! and I hope that you will find this bug very quickly and correct it! my best fillings

Page 1 / 2