|
|
Author | Message |
---|
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Qucik Reply. Sun Dec 25, 2011 4:23 pm | |
| JAVASCRIPT - Code:
-
$(function() { var qr=document.getElementById('quick_reply'); qr.style.display="none"; $('#Newtopic').parent().before('<a onclick="$(\'#quick_reply\').toggle();" class="toggleQR"><img align="right" src="http://www.d3jsp.org/templates/subSilver/images/lang_english/quick_reply.gif"/></a>'); }); css - Code:
-
.toggleQR { float:left; border:4px; padding:0px; border-radius:4px; font-weight:bold; } |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:30 pm | |
| Try using this code: - Code:
-
.toggleQR { float:right; border:4px; padding:0px; border-radius:4px; font-weight:bold; }
|
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:31 pm | |
| |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:32 pm | |
| Not on my screen.
Are you wanting the text area to be on the right or just the button? |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:36 pm | |
| |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:39 pm | |
| - EmperorAdam wrote:
- Just the Button
It is on the far right on my screen. |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:40 pm | |
| I want it next to the add reply button |
|
| |
BatmanTheGamer
Joined : 2011-09-06 Posts : 112 Warn : 0% Location : England
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:41 pm | |
| Same, it in the center for me to we want it next to the add a reply. |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:43 pm | |
| Ok.
I believe you will need to change padding:0px;
Try changing the 0 to negative numbers like -10. |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:45 pm | |
| |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:46 pm | |
| Nope do not move one bit. |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:47 pm | |
| Try a higer number like -50. |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:51 pm | |
| Sorry I was wrong.
Change it back to 0.
Add this:
right: 0px;
after float:right;
Change the 0 in the right: 0px;
Last edited by slg on Sun Dec 25, 2011 4:52 pm; edited 1 time in total |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:51 pm | |
| Tryed did not move |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:52 pm | |
| - slg wrote:
- Sorry I was wrong.
Change it back to 0.
Add this:
right: 0px;
after float:right;
Change the 0 in the right: 0px; Try this. |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:54 pm | |
| |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 4:55 pm | |
| For some reason now I do not see the quick reply button. |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| |
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| |
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:00 pm | |
| No not in the right place. but you should post tutorials. |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:01 pm | |
| Thanks for the nice comment. Copy and paste the code back into your CSS, but delete the one you have now: - Code:
-
.toggleQR { float:right; border:4px; padding:0px; border-radius:4px; font-weight:bold; }
Last edited by slg on Sun Dec 25, 2011 5:04 pm; edited 1 time in total |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:03 pm | |
| So you going to Post them ? |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:05 pm | |
| I might when I have sometime. Exactly I have never posted a tutorial before. |
|
| |
Treyarch
Joined : 2011-08-25 Posts : 1705 Warn : 0% Location : United Kingdom
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:06 pm | |
| Just post how to do this and the codes. ++ you should have a look in the chat part/ the welcome topic. |
|
| |
slg
Joined : 2011-12-25 Posts : 176 Warn : 0% Location : Texas
| Subject: Re: Qucik Reply. Sun Dec 25, 2011 5:09 pm | |
| I am going to work with this codes on my test forum and post the codes when I get it working. |
|
| |
Sponsored content
| Subject: Re: Qucik Reply. | |
| |
|
| |
|