i want Select content button
+2
Jophy
I-Angel-Q
6 posters
i want Select content button
Hello !
How are you ..
i want learn how to add (Select content) button when using (Code) .
and this clarification picture .

thanks
How are you ..
i want learn how to add (Select content) button when using (Code) .
and this clarification picture .

thanks

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
Bold and color are reserved for moderation, like this, so please keep to the default font
Jophy- ForumGuru
-
Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Re: i want Select content button
Joph25 wrote:Bold and color are reserved for moderation, like this, so please keep to the default font
Ok . I am so sorry

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
I don't understand what you want please be more specific and more detailed.
Regards
Quicktext.
Regards
Quicktext.
Quicktext- New Member
- Posts : 5
Reputation : 0
Language : English
Re: i want Select content button
Quicktext wrote:I don't understand what you want please be more specific and more detailed.
Regards
Quicktext.
my dear i want add Select content button when to using code button where show above code

i need to add this idiosyncrasy in my forum such us forumotion .
see this picture ......

http://www.up-king.com/almaciat/jgmw8wzzwy26re45l428.png

thanks

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
yeah, I also want to add "select content" in the "code quote".
and seem to "quote" in my forum and the standards are too ugly.
and seem to "quote" in my forum and the standards are too ugly.
Ezio- Forumember
-
Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D
Re: i want Select content button
Ezio wrote:yeah, I also want to add "select content" in the "code quote".
and seem to "quote" in my forum and the standards are too ugly.
Ok .. We wait the supporters

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
Ohh I understand what you are trying to say now, Thanks for re-explaining it, but I am unsure of how to solve this problem, what I do is I hold CRTL + A which selects everything.. but click in the box 1st so that it only selects everything in that box.
Sorry I couldn't be of much help
Regards
Quicktext
Sorry I couldn't be of much help
Regards
Quicktext
Quicktext- New Member
- Posts : 5
Reputation : 0
Language : English
Re: i want Select content button
Quicktext wrote:Ohh I understand what you are trying to say now, Thanks for re-explaining it, but I am unsure of how to solve this problem, what I do is I hold CRTL + A which selects everything.. but click in the box 1st so that it only selects everything in that box.
Sorry I couldn't be of much help
Regards
Quicktext
Yeah my dear i am know this mode (Ctrl+A) But i want but the characteristic in (code quote) in my forum .

thank you for reply .
I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
Gangstar15 wrote:http://www.webartzforum.com/t2292-select-all-in-codebox
my dear i am attempt this mode but not work with me .. please set a explanation with picture .
note : my version is phpbb2

thanks
I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
This doesn't need any pics its easy to do (:
1. ACP - Modules - HTML - HTML pages management
- Create new HTML page and paste this code inside it:
2. now you can see the page ID where it says "Page ID".
- Go to ACP - Display - Templates - Overall_header
- Search for <!-- END switch_ticker --> then put this script under it:
-
- Save + Publish (:
1. ACP - Modules - HTML - HTML pages management
- Create new HTML page and paste this code inside it:
- Code:
function selectCode(a)
{
// Get ID of code block
var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
// Not IE
if (window.getSelection)
{
var s = window.getSelection();
// Safari
if (s.setBaseAndExtent)
{
s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
}
// Firefox and Opera
else
{
// workaround for bug # 42885
if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>')
{
e.innerHTML = e.innerHTML + ' ';
}
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
}
}
// Some older browsers
else if (document.getSelection)
{
var s = document.getSelection();
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
}
// IE
else if (document.selection)
{
var r = document.body.createTextRange();
r.moveToElementText(e);
r.select();
}
}
if(text){}else{ var text = 'Selecionar todos';}
jQuery(document).ready(function(){
jQuery("dl.codebox dt").not("dl.spoiler > dt").html('Code: <a href="#" onclick="selectCode(this); return false;" title="Select all the content" class="code-a">Select All</a>');
});
2. now you can see the page ID where it says "Page ID".
- Go to ACP - Display - Templates - Overall_header
- Search for <!-- END switch_ticker --> then put this script under it:
-
- Code:
<script src="/hID-" type="text/javascript"></script>
- Save + Publish (:
Guest- Guest
Re: i want Select content button
Gangstar15 wrote:This doesn't need any pics its easy to do (:
1. ACP - Modules - HTML - HTML pages management
- Create new HTML page and paste this code inside it:Then save it.
- Code:
function selectCode(a)
{
// Get ID of code block
var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
// Not IE
if (window.getSelection)
{
var s = window.getSelection();
// Safari
if (s.setBaseAndExtent)
{
s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
}
// Firefox and Opera
else
{
// workaround for bug # 42885
if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '
')
{
e.innerHTML = e.innerHTML + ' ';
}
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
}
}
// Some older browsers
else if (document.getSelection)
{
var s = document.getSelection();
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
}
// IE
else if (document.selection)
{
var r = document.body.createTextRange();
r.moveToElementText(e);
r.select();
}
}
if(text){}else{ var text = 'Selecionar todos';}
jQuery(document).ready(function(){
jQuery("dl.codebox dt").not("dl.spoiler > dt").html('Code: [url=http://help.forumotion.com/#]Select All[/url]');
});
2. now you can see the page ID where it says "Page ID".
- Go to ACP - Display - Templates - Overall_header
- Search for then put this script under it:
-- Now replace the HTML page ID you made with where it says "ID" (:
- Code:
- Save + Publish (:
thank you for reply .. but i am search for (<!-- END switch_ticker -->) and not found it in (Overall_header) .. as you remember my forum version is phpbb2 .
Regards ..

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
I'm not sure if will works with phpbb2 so i need to test it first (:
Guest- Guest
Re: i want Select content button
Gangstar15 wrote:I'm not sure if will works with phpbb2 so i need to test it first (:
unfortunately not works with phpbb2 .. i am tested it

i am waiting for reply

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English
Re: i want Select content button
I-Angel-Q wrote:Gangstar15 wrote:I'm not sure if will works with phpbb2 so i need to test it first (:
unfortunately not works with phpbb2 .. i am tested it.
i am waiting for reply
Hi,
Please review my post here:
https://help.forumotion.com/t86954-select-content-script#560418
Darren1- Helper
-
Posts : 11853
Reputation : 566
Language : English
Re: i want Select content button
Darren1 wrote:I-Angel-Q wrote:Gangstar15 wrote:I'm not sure if will works with phpbb2 so i need to test it first (:
unfortunately not works with phpbb2 .. i am tested it.
i am waiting for reply
Hi,
Please review my post here:
https://help.forumotion.com/t86954-select-content-script#560418
do not work again

I-Angel-Q- Forumember
-
Posts : 54
Reputation : 1
Language : Arabic and English

» Select Content Button
» Select content button
» select content button
» Select content
» Select Content Button in Quote and Spoiler?
» Select content button
» select content button
» Select content
» Select Content Button in Quote and Spoiler?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum