inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 13, 2014 19:15:58 GMT -8
Hello again Bennett πIt did not work and this is the mod I did: <script type="text/javascript"> $(document).ready(function(){ var info = false; if(window.localStorage["center-close"] && window.localStorage["center-close"] == "true"){ $(".quick-reply .content").hide(); var info = true; } $(".quick-reply .title-bar").click(function(){ $(".quick-reply .content").animate({ height:"toggle" }, 1000, "easeOutQuad"); if(info){ info = false; window.localStorage["center-close"] = "false"; } else { window.localStorage["center-close"] = "true"; info = true; } }); }); </script> and this is the mod to the Layout Templates > Thread > Quick Reply: <h2>Post Quick Reply <span style="float: left; "><font size="1">Hide/Show</font></span></h2>
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett π
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett π on Jan 13, 2014 19:33:19 GMT -8
Hello again Bennett πIt did not work and this is the mod I did: <script type="text/javascript"> $(document).ready(function(){ var info = false; if(window.localStorage["center-close"] && window.localStorage["center-close"] == "true"){ $(".quick-reply .content").hide(); var info = true; } $(".quick-reply .title-bar").click(function(){ $(".quick-reply .content").animate({ height:"toggle" }, 1000, "easeOutQuad"); if(info){ info = false; window.localStorage["center-close"] = "false"; } else { window.localStorage["center-close"] = "true"; info = true; } }); }); </script> and this is the mod to the Layout Templates > Thread > Quick Reply: <h2>Post Quick Reply <span style="float: left; "><font size="1">Hide/Show</font></span></h2> Primarily because you're supposed to just click the whole header. To add your little hide-show thing, add a class="hide-quick-reply" to the span and use the following code: <script type="text/javascript">
$(document).ready(function(){
var info = false;
if(window.localStorage["center-close"] && window.localStorage["center-close"] == "true"){
$(".quick-reply .content").hide();
var info = true;
}
$(".hide-quick-reply").click(function(){
$(".quick-reply .content").animate({ height:"toggle" }, 1000, "easeOutQuad");
if(info){
info = false;
window.localStorage["center-close"] = "false";
} else {
window.localStorage["center-close"] = "true";
info = true;
}
});
});
</script>
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 14, 2014 4:36:00 GMT -8
Hello Bennett πSorry for the late response, but our IP went down last night and could not get back here to reply. Anyways... I placed and or inserted this: <span class="hide-quick-reply" style="float: left; ">Hide/Show</span> in every possible area of the code below, and it would not work. <div class="container quick-reply"> <div class="title-bar"> <ul class="controls"> <li style="display: inline-block; padding-right: 4px;"><a onclick="scroll(0,0);">Back to Top</a></li> {if $[reply_button]}<li style="display: inline-block;">$[reply_button]</li>{/if} </ul> <h2>Post Quick Reply</h2> </div> <div class="content cap-bottom"> $[form.header] {if $[form.created_by_guest_name.input]} <div class="guest_name"> <label>Guest Name:</label> $[form.created_by_guest_name.input] </div> {/if} <div class="message"> $[form.message.input] </div> $[captcha] $[form.post.button] $[form.footer] </div> </div> I'm quite sure that there is something I'm doing wrong or just can't put hand on what could be causing it not to work.
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett π
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett π on Jan 14, 2014 12:19:03 GMT -8
Hello Bennett πSorry for the late response, but our IP went down last night and could not get back here to reply. Anyways... I placed and or inserted this: <span class="hide-quick-reply" style="float: left; ">Hide/Show</span> in every possible area of the code below, and it would not work. <div class="container quick-reply"> <div class="title-bar"> <ul class="controls"> <li style="display: inline-block; padding-right: 4px;"><a onclick="scroll(0,0);">Back to Top</a></li> {if $[reply_button]}<li style="display: inline-block;">$[reply_button]</li>{/if} </ul> <h2>Post Quick Reply</h2> </div> <div class="content cap-bottom"> $[form.header] {if $[form.created_by_guest_name.input]} <div class="guest_name"> <label>Guest Name:</label> $[form.created_by_guest_name.input] </div> {/if} <div class="message"> $[form.message.input] </div> $[captcha] $[form.post.button] $[form.footer] </div> </div> I'm quite sure that there is something I'm doing wrong or just can't put hand on what could be causing it not to work. It should go to the right of the <h2>Post Quick Reply</h2>
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 14, 2014 13:06:45 GMT -8
I already tried that early this morning with a no go. Just for you info, I still have it there:
<div class="container quick-reply"> <div class="title-bar"> <ul class="controls"> <li style="display: inline-block; padding-right: 4px;"><a onclick="scroll(0,0);">Back to Top</a></li> {if $[reply_button]}<li style="display: inline-block;">$[reply_button]</li>{/if} </ul> <h2>Post Quick Reply</h2><span class="hide-quick-reply" style="float: center;">Hide/Show</span> </div> <div class="content cap-bottom"> $[form.header] {if $[form.created_by_guest_name.input]} <div class="guest_name"> <label>Guest Name:</label> $[form.created_by_guest_name.input] </div> {/if} <div class="message"> $[form.message.input] </div> $[captcha] $[form.post.button] $[form.footer] </div> </div>
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett π
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett π on Jan 14, 2014 13:12:18 GMT -8
I already tried that early this morning with a no go. Just for you info, I still have it there: <div class="container quick-reply"> <div class="title-bar"> <ul class="controls"> <li style="display: inline-block; padding-right: 4px;"><a onclick="scroll(0,0);">Back to Top</a></li> {if $[reply_button]}<li style="display: inline-block;">$[reply_button]</li>{/if} </ul> <h2>Post Quick Reply</h2><span class="hide-quick-reply" style="float: center;">Hide/Show</span> </div> <div class="content cap-bottom"> $[form.header] {if $[form.created_by_guest_name.input]} <div class="guest_name"> <label>Guest Name:</label> $[form.created_by_guest_name.input] </div> {/if} <div class="message"> $[form.message.input] </div> $[captcha] $[form.post.button] $[form.footer] </div> </div> Where are you putting the code I provided? What is your forum url?
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 14, 2014 13:14:38 GMT -8
The code is in the main footer and right now, I working with it on my test site: link
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 15, 2014 12:55:57 GMT -8
Hello Bennett πI have decided to delete my code input w/images within this thread and to find a more suitable way for collapsing the quick reply. Then again, I just may leave the quick reply as it is. Thanks for your valued input and greatly appreciated.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 22, 2024 16:46:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 6, 2015 13:28:44 GMT -8
Main Footerpastebin.com/7SMXQjUM(PB screws this up in the code tags..) Will close your info center and remember it until you click to show it again! In use here. hello could you tell me where i put these codes please ?
|
|