i want add this code in sceditor
3 posters
Page 1 of 1
i want add this code in sceditor
Technical Details
Forum version : #phpBB2
Position : Administrator
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : http://x-gaming.lforum.biz
Description of problem
hi i need add this code in my sceditor
- Code:
<div><span class="gensmall">
<a href="javascript:showhide(document.getElementById('plus_menu'))"><img src="http://2img.net/i/fa/i/smiles/icon_king.png" ></a><br><div id="plus_menu" style="position: absolute; margin-top: 8px; z-index: 1; Right:
1051px; display: none;"><table class="forumline" border="0" cellpadding="3" cellspacing="0"
width="200"><tbody><tr>
<td class="row1" nowrap="nowrap"><iframe src="http://x-gaming.lforum.biz/h28-page" width="200" height="250" scrolling="no"></iframe></td></tr></tbody></table></div>
</span></div>
thanks
Re: i want add this code in sceditor
Hi @coolkool,
I'm not sure what you want this to do, but here's a script.
Placement : All pages
To change the button image use this CSS :
Replace IMAGE_URL by the URL of your image.
I'm not sure what you want this to do, but here's a script.
Placement : All pages
- Code:
$(function() {
if (!$.sceditor) return;
$.sceditor.command.set('calculator', {
dropDown : function(editor, caller, callback) {
var d = document.createElement('DIV');
d.innerHTML = '<iframe src="http://x-gaming.lforum.biz/h28-page" width="200" height="250" scrolling="no"></iframe>';
editor.createDropDown(caller, 'calculator', d);
},
exec : function(c) {
var e = this;
$.sceditor.command.get('calculator').dropDown(e, c, function(content) {
e.insertText(content);
});
},
txtExec : function(c) {
var e = this;
$.sceditor.command.get('calculator').dropDown(e, c, function(content) {
e.insertText(content);
});
}
});
toolbar += ',calculator'
});
To change the button image use this CSS :
- Code:
.sceditor-button-calculator div {
background-image:url(IMAGE_URL);
}
Replace IMAGE_URL by the URL of your image.
Re: i want add this code in sceditor
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» i want change this code to sceditor
» When i paste a long code via [code][/code] the page expands
» New button on sceditor
» How to add this in sceditor button
» Add and change buttons on sceditor
» When i paste a long code via [code][/code] the page expands
» New button on sceditor
» How to add this in sceditor button
» Add and change buttons on sceditor
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum