inherit
190078
0
Dec 19, 2023 12:43:06 GMT -8
sheeky
8
February 2013
sheeky
|
Post by sheeky on Mar 18, 2015 11:09:50 GMT -8
Hello all Wondering if its doable . April fools is coming up and i want to do a prank with my members. I need to add a clickable button that links to a URL. The button will be best situated next to the "post quick reply" button. If there is a code that exists it would be much appreciated if its not doable could you suggest an alternative method (was already debating adding a navigation button on the main menu bar which i know how to do but this was my last choice) Thanks for your time =)
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 20, 2015 13:41:13 GMT -8
Try this in either the board footer(s), or if you want it forum wide, in your Global Footer.. <script type="text/javascript"> $(document).ready(function() { var newButton = $('<a></a>').addClass('button').css('padding','3px 7px').html('Clicky').attr('href','https://www.google.com'); $('.form_post_quick_reply').find('.ui-button').after(newButton); }); </script> Edit the red with the button text, and the pink with the link URL.
|
|
inherit
190078
0
Dec 19, 2023 12:43:06 GMT -8
sheeky
8
February 2013
sheeky
|
Post by sheeky on Mar 23, 2015 15:17:41 GMT -8
That is -exactly- what i was after !!
Thank you very much for your help ! =)
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 23, 2015 15:40:56 GMT -8
No worries.
|
|