[wp-trac] [WordPress Trac] #17249: thickbox modal window dimensions are fixed in wp-admin

WordPress Trac noreply at wordpress.org
Sat Mar 8 12:49:22 UTC 2014


#17249: thickbox modal window dimensions are fixed in wp-admin
----------------------------+------------------------------
 Reporter:  DreadLox        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by WebTechGlobal):

 I wanted to use it to display tutorial videos on my new plugin UI but
 without more width it's not practical.

 [[Image(https://lh3.googleusercontent.com/--uR64RhtCKs/UxsQA90mpLI/AAAAAAAAAEs
 /HwBZDMgh-EY/w506-h369/csv2post-video-thickbox-icon.jpg)]]

 It seems there is a workaround, possibly...

 "I think i found a solution how to change the width, but that's not the
 real solution.. I steel don't get it why thickbox width is 670px (as u can
 see in my code (will folow next) the global thickbox width is set like the
 parsed arg!! ) So the solutins was: tb_show( ed.getLang('m7.popup_title'),
 '#TB_inline?width=800&height=600&inlineId=mygallery-form' );
 m7_resize_thickbox(); jQuery(window).resize(function(){
 m7_resize_thickbox(); }); function m7_resize_thickbox(){
 jQuery(document).find('#TB_window').width(TB_WIDTH).height(TB_HEIGHT).css('margi‌​n-left',
 - "

 Quoted from Stack
 Exhange:[http://wordpress.stackexchange.com/questions/114107/thickbox-
 width-cant-be-changed-in-admin/137286#137286]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17249#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list