code for quick replay
5 posters
Page 1 of 1
code for quick replay
on this site how did they create the quick reply box: http://www.advancedduelacademy.com/?pid=5
and i would also liek to know if i can delete posts on my forum promotion because i currently cannot
and i would also liek to know if i can delete posts on my forum promotion because i currently cannot
Re: code for quick replay
Here's the html itself xD
- Code:
<a name="quickreply"></a><div id="pun-qpost" class="main"><div class="main-head clearfix"><p class="h2">Quick reply</p><p class="options"><a class="exthelp" title="Help" href="http://www.xcodezz.com/faq?mode=bbcode" target="_blank">BBCode Guide</a></p></div><div class="main-content frm"><form action="/post" class="frm-form" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0, 0)" id="quick_reply"><fieldset class="frm-set"><div id="text_editor_select_controls"><div style="visibility: hidden;" class="select" id="servimg_upload_gui"></div><div style="visibility: hidden;" class="select" id="img"><p><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="img_url" title="" onkeypress="if (event.keyCode==13){constructBBcode('img','', 'img_url');selectWysiwyg(this, 'img');return false;}" /></p><p style="text-align: center;"><input type="button" class="button2" onclick="constructBBcode('img','', 'img_url');selectWysiwyg(this, 'img');" value="Ok" /></p></div><div style="visibility: hidden;" class="select" id="url"><p><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="link_url" title="" onkeypress="if (event.keyCode==13){constructBBcode('url',new Array('link_url'), 'name_url');selectWysiwyg(this, 'url');return false;}" /></p><p><img src="http://2img.net/i/fa/wysiwyg/link_text.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="name_url" title="" onkeypress="if (event.keyCode==13){constructBBcode('url',new Array('link_url'), 'name_url');selectWysiwyg(this, 'url');return false;}" /></p><p style="text-align: center;"><input type="button" class="button2" onclick="constructBBcode('url',new Array('link_url'), 'name_url');selectWysiwyg(this, 'url');" value="Ok" /></p></div><div style="visibility: hidden;" class="select" id="color"><button style="color:darkred;" onclick="bbfontstyle('[color=darkred]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Dark Red</button><br /><button style="color:red;" onclick="bbfontstyle('[color=red]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Red</button><br /><button style="color:orange;" onclick="bbfontstyle('[color=orange]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Orange</button><br /><button style="color:brown;" onclick="bbfontstyle('[color=brown]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Brown</button><br /><button style="color:yellow;" onclick="bbfontstyle('[color=yellow]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Yellow</button><br /><button style="color:green;" onclick="bbfontstyle('[color=green]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Green</button><br /><button style="color:olive;" onclick="bbfontstyle('[color=olive]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Olive</button><br /><button style="color:cyan;" onclick="bbfontstyle('[color=cyan]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Cyan</button><br /><button style="color:blue;" onclick="bbfontstyle('[color=blue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Blue</button><br /><button style="color:darkblue;" onclick="bbfontstyle('[color=darkblue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Dark Blue</button><br /><button style="color:indigo;" onclick="bbfontstyle('[color=indigo]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Indigo</button><br /><button style="color:violet;" onclick="bbfontstyle('[color=violet]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Violet</button><br /><button style="color:white;" onclick="bbfontstyle('[color=white]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">White</button><br /><button style="color:black;" onclick="bbfontstyle('[color=black]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Black</button><br /></div><div style="visibility: hidden;" class="select" id="other"><button onclick="bbfontstyle('[left]', '[/left]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Left</button><br /><button onclick="bbfontstyle('[center]', '[/center]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Center</button><br /><button onclick="bbfontstyle('[right]', '[/right]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Right</button><br /><button onclick="bbfontstyle('[justify]', '[/justify]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Justified</button><br /><button onclick="bbfontstyle('[list][*]', '[/list]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">-List</button><br /><button onclick="bbfontstyle('[spoiler]', '[/spoiler]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Spoiler</button><br /><button onclick="bbfontstyle('[hide]', '[/hide]');selectWysiwyg(this, 'other');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Hidden</button><br /></div><div style="visibility:hidden;max-height:200px;max-width:250px;width:250px;padding:0 1em;overflow:auto;" class="select" id="sel_smilies" curpos="0" maxpos="0" pageincrement="225" increment="10" collapsed="true"></div><div style="visibility: hidden;" class="select" id="wservimg_upload_gui"></div><div style="visibility: hidden;" class="select" id="wimg"><p><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="wimg_url" title="" onkeypress="if(event.keyCode==13){document.getElementById('text_editor_cmd_constructBBcode_img').click();return false;}" /></p><p style="text-align: center;"><button class="button2" id="text_editor_cmd_constructBBcode_img">Ok</button></p></div><div style="visibility: hidden;" class="select" id="wurl"><p><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="wlink_url" title="" onkeypress="if(event.keyCode==13){document.getElementById('text_editor_cmd_constructBBcode_url').click();return false;}" /></p><p><img src="http://2img.net/i/fa/wysiwyg/link_text.png" alt="" title="" style="vertical-align: middle;" /> <input type="text" autocomplete="off" class="inputbox" style="width: 150px;" id="wname_url" title="" onkeypress="if(event.keyCode==13){document.getElementById('text_editor_cmd_constructBBcode_url').click();return false;}" /></p><p style="text-align: center;"><button class="button2" id="text_editor_cmd_constructBBcode_url">Ok</button></p></div><div style="visibility: hidden;" class="select" id="wcolor"><button style="color:darkred;" id="text_editor_cmd_constructBBcode_select_color_darkred">Dark Red</button><br /><button style="color:red;" id="text_editor_cmd_constructBBcode_select_color_red">Red</button><br /><button style="color:orange;" id="text_editor_cmd_constructBBcode_select_color_orange">Orange</button><br /><button style="color:brown;" id="text_editor_cmd_constructBBcode_select_color_brown">Brown</button><br /><button style="color:yellow;" id="text_editor_cmd_constructBBcode_select_color_yellow">Yellow</button><br /><button style="color:green;" id="text_editor_cmd_constructBBcode_select_color_green">Green</button><br /><button style="color:olive;" id="text_editor_cmd_constructBBcode_select_color_olive">Olive</button><br /><button style="color:cyan;" id="text_editor_cmd_constructBBcode_select_color_cyan">Cyan</button><br /><button style="color:blue;" id="text_editor_cmd_constructBBcode_select_color_blue">Blue</button><br /><button style="color:darkblue;" id="text_editor_cmd_constructBBcode_select_color_darkblue">Dark Blue</button><br /><button style="color:indigo;" id="text_editor_cmd_constructBBcode_select_color_indigo">Indigo</button><br /><button style="color:violet;" id="text_editor_cmd_constructBBcode_select_color_violet">Violet</button><br /><button style="color:white;" id="text_editor_cmd_constructBBcode_select_color_white">White</button><br /><button style="color:black;" id="text_editor_cmd_constructBBcode_select_color_black">Black</button></div><div style="visibility: hidden;" class="select" id="wother"><button id="text_editor_cmd_constructBBcode_select_justifyleft">Left</button><br /><button id="text_editor_cmd_constructBBcode_select_justifycenter">Center</button><br /><button id="text_editor_cmd_constructBBcode_select_justifyright">Right</button><br /><button id="text_editor_cmd_constructBBcode_select_justifyfull">Justified</button><br /><button id="text_editor_cmd_constructBBcode_select_insertunorderedlist">-List</button><br /><button id="text_editor_cmd_constructBBcode_select_action_spoiler">Spoiler</button><br /><button id="text_editor_cmd_constructBBcode_select_action_hide">Hidden</button><br /></div></div><div id="text_editor_controls" class="clearfix" style="width: 72%;"><p class="left-box"><span id="text_edit" style="display:none"><button class="button2" onclick="bbstyle(0)" type="button" id="addbbcode0" accesskey="b" title="Bold"><img src="http://2img.net/i/fa/wysiwyg/text_bold.png" alt="Bold" /></button> <button class="button2" onclick="bbstyle(2)" type="button" id="addbbcode2" accesskey="i" title="Ital."><img src="http://2img.net/i/fa/wysiwyg/text_italic.png" alt="Ital." /></button> <button class="button2" onclick="bbstyle(4)" type="button" id="addbbcode4" accesskey="u" title="Underl."><img src="http://2img.net/i/fa/wysiwyg/text_underline.png" alt="Underl." /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="bbstyle(6)" type="button" id="addbbcode6" accesskey="q" title="'Quote'"><img src="http://2img.net/i/fa/wysiwyg/comments.png" alt="'Quote'" /></button> <button class="button2" onclick="bbstyle(8)" type="button" id="addbbcode8" accesskey="c" title="Code"><img src="http://2img.net/i/fa/wysiwyg/page_white_code.png" alt="Code" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="display_upload_servimg(this, 'xtghackerzteam@gmail.com', 'c462840518795fcc421a0bb47d00159e', '7634449');" type="button" id="servimg" accesskey="y" title="Host an image"><img src="http://2img.net/i/fa/wysiwyg/picture_save.png" alt="Host an image" /></button> <button class="button2" onclick="selectWysiwyg(this, 'img');" type="button" id="addbbcode14" accesskey="p" title="Image"><img src="http://2img.net/i/fa/wysiwyg/picture.png" alt="Image" /></button> <button class="button2" onclick="selectWysiwyg(this, 'url');" type="button" id="addbbcode16" accesskey="w" title="Link"><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="Link" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="selectWysiwyg(this, 'color');" type="button"><img src="http://2img.net/i/fa/wysiwyg/color_swatch.png" alt="Font color" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="selectWysiwyg(this, 'sel_smilies');" style="width:20px;" type="button"><img src="http://2img.net/i/fa/i/smiles/icon_smile.gif" alt="" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <input class="button2" onclick="selectWysiwyg(this, 'other');" type="button" value="Others" style="height: 22px;" /> </span><span id="html_edit" style="display:none"><button class="button2" id="text_editor_cmd_bold" accesskey="b" title="Bold"><img src="http://2img.net/i/fa/wysiwyg/text_bold.png" alt="Bold" /></button> <button class="button2" id="text_editor_cmd_italic" accesskey="i" title="Ital."><img src="http://2img.net/i/fa/wysiwyg/text_italic.png" alt="Ital." /></button> <button class="button2" id="text_editor_cmd_underline" accesskey="u" title="Underl."><img src="http://2img.net/i/fa/wysiwyg/text_underline.png" alt="Underl." /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" id="text_editor_cmd_wrap0_quote" accesskey="q" title="'Quote'"><img src="http://2img.net/i/fa/wysiwyg/comments.png" alt="'Quote'" /></button> <button class="button2" id="text_editor_cmd_wrap0_code" accesskey="c" title="Code"><img src="http://2img.net/i/fa/wysiwyg/page_white_code.png" alt="Code" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="display_upload_servimg(this, 'xtghackerzteam@gmail.com', 'c462840518795fcc421a0bb47d00159e', '7634449');" type="button" id="wservimg" accesskey="y" title="Host an image"><img src="http://2img.net/i/fa/wysiwyg/picture_save.png" alt="Host an image" /></button> <button class="button2" onclick="selectWysiwyg(this, 'wimg');return false;" id="bbcodewimg" accesskey="p" title="Image"><img src="http://2img.net/i/fa/wysiwyg/picture.png" alt="Image" /></button> <button class="button2" onclick="selectWysiwyg(this, 'wurl');return false;" id="bbcodewurl" accesskey="w" title="Link"><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="Link" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="selectWysiwyg(this, 'wcolor');" type="button"><img src="http://2img.net/i/fa/wysiwyg/color_swatch.png" alt="Font color" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" onclick="selectWysiwyg(this, 'sel_smilies');" style="width:20px;" type="button"><img src="http://2img.net/i/fa/i/smiles/icon_smile.gif" alt="" /></button> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <input class="button2" onclick="selectWysiwyg(this, 'wother');" type="button" value="Others" style="height: 22px;" /> <img src="http://2img.net/i/fa/wysiwyg/separator.png" style="vertical-align: middle;" alt="|" /> <button class="button2" type="button" id="text_editor_cmd_removeformat" title=""><img src="http://2img.net/i/fa/wysiwyg/font_delete.png" alt="" /></button> </span></p><p class="right-box"><button class="button2" id="text_editor_cmd_switchmode" type="button"><img src="http://2img.net/i/fa/i/switch_wysiwyg.gif" alt="" /></button></p></div><div id="textarea_content" style="clear:both;"><dl><dt><label for="text_editor_textarea">Message :</label></dt><dd class="dd-textarea"><textarea id="text_editor_textarea" cols="95" rows="8" name="message" style="font-size:1.2em; width: 100%;" class="quick_reply_textarea"></textarea></dd></dl></div><div class="frm-buttons"><input type="hidden" name="attach_sig" value="1" /><input type="hidden" name="mode" value="reply" />
Re: code for quick replay
OMG that is looooooooooooooooooooong but it doesnt work :\ i think there is some css in there not sure
Re: code for quick replay
go to the site i posted and go to the bottom. see how they put quick reply there? how did they do that?
Re: code for quick replay
To make it work, you need to change the hidden input field in the form.
If you don't know what hidden input fields are then you need to more research on HTML forms, because it won't be possible if you don't know.
If you don't know what hidden input fields are then you need to more research on HTML forms, because it won't be possible if you don't know.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum