inherit
113939
0
Dec 15, 2014 0:03:32 GMT -8
Quacker Jack
28
November 2007
jackattack
|
Post by Quacker Jack on Aug 15, 2010 16:39:11 GMT -8
support.proboards.com/index.cgi?board=codedatabase&action=display&thread=365162I'm come across a need to use this code, except I'd like it edited to match the following: wimg.co.uk/NIt.pngThat includes the delete button color (DC4D4D), and everything appears instead of "quote modify delete" it is "Quote - Modify - Delete". In addition, I'd like this bar in the code " Search This Thread Add Bookmark Reply Send Topic To Friend Print" Completely removed. I have a test board to show exactly what I mean by that, if needed. Thanks in advanced, QJ
|
|
inherit
113939
0
Dec 15, 2014 0:03:32 GMT -8
Quacker Jack
28
November 2007
jackattack
|
Post by Quacker Jack on Aug 16, 2010 18:40:21 GMT -8
BUmp!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Aug 17, 2010 9:28:02 GMT -8
Wrighty is asking for the code not to be edited, so there's not much we can do with the code itself..
What you can try is add this to your Header..
<style type = 'text/css'> .button { color: #DC4D4D; } </style>
To add the dash between the links and to remove the specified bar will need new codes.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 17, 2010 11:34:51 GMT -8
Quacker Jack if you could get Wrighty to give you permission to edit the code than someone may be able to do this all in one code.
@ Todge i think he was asking that only the delete button would be colored. This isn't possible as the code is written now correct?
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 17, 2010 11:59:40 GMT -8
try this: <script type = 'text/javascript'> /* Images to Text By Michael (Wrighty) Do Not Repost, Rip, Claim or Edit */ for(n = 0, i = document.getElementsByTagName('img'); n < i.length; n++) if(i[n].src.match(/(s\d+\.)?images\.proboards\.com/) && i[n].src.match(/(\/button|search2|newpoll)/) && i[n].src.match(/(png|gif)$/) && !i[n].src.match(/_sm/)){ var f = document.createElement('font'); f.className = 'button ' + i[n].alt.replace(/(\[|\])/g, '').replace(/\s/g, '_').toLowerCase(); f.appendChild(document.createTextNode(i[n].alt.replace(/(\[|\])/g, ''))); i[n].parentNode.replaceChild(f, i[n]); n--; } </script>That adds a class to the link that will be the name of the button ie: Mark as Read button gets the class: "mark_as_read" Delete will get "delete" etc. The class "button" still applies to them! Hope this helps you to pick the exact buttons that you want to stylise --- nightwalker - My codes are only allowed to be modified by me!
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 17, 2010 12:14:12 GMT -8
nightwalker - My codes are only allowed to be modified by me! Well i heard you wren't coding PB any more so i didn't think you would edit the codes you already made either...glad you did it though
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 17, 2010 13:03:30 GMT -8
nightwalker - My codes are only allowed to be modified by me! Well i heard you wren't coding PB any more so i didn't think you would edit the codes you already made either...glad you did it though I don't code PB anymore - that doesn't mean that I don't still support the codes that I have made!
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 17, 2010 13:32:44 GMT -8
Well i heard you wren't coding PB any more so i didn't think you would edit the codes you already made either...glad you did it though I don't code PB anymore - that doesn't mean that I don't still support the codes that I have made! That's good to know...
|
|