inherit
156956
0
Oct 8, 2024 11:05:59 GMT -8
Lady Squid
California Squid
1,134
August 2010
squidknox
|
Post by Lady Squid on Jan 6, 2014 15:58:53 GMT -8
Please see THIS thread for what I'm asking about. LEt me know if I need to repost here, or if what I've written isn't clear. We basically would like to do away with the "Alt Text" portion of the popup image box. thanks squid
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 7, 2014 16:00:20 GMT -8
Add the following to the bottom of your posting page layout or to your global header if you want it in effect on every theme. <script type="text/javascript"> /* Remove ALT input from Insert Image dialog */ (function(){ var iAP = $.ui.wysiwyg.prototype._insertImagePrompt; $.ui.wysiwyg.prototype._insertImagePrompt = function(){ iAP.apply(this, arguments); $('.wysiwyg-dialog input[name="alt"]').closest('tr').css({display:'none'}) } })() </script> It should yield results similar to the following
|
|
inherit
156956
0
Oct 8, 2024 11:05:59 GMT -8
Lady Squid
California Squid
1,134
August 2010
squidknox
|
Post by Lady Squid on Jan 7, 2014 16:36:05 GMT -8
ChrisThat's brilliant! Will try that and get back to you! MTA, worked like a charm. Thank you so much!
|
|