Hi, the theme I'm working on requires that thickboxes have the close link on the bottom. I modified thickbox.js a little some weeks ago but during the latest cvs update I lost my changes because default close link location is on top.

I've added a setting to thickbox module so that admins can choose if they want to use the close link on top or bottom, the setting is passed from PHP to Javascript thanks to drupal_add_js() and Drupal.settings.

An alternative could be passing the close link location as a part of the link calling the thickbox in HTML.

Patch is attached.

What you think?

CommentFileSizeAuthor
thickbox-close-location.patch4.73 KBalexis

Comments

frjo’s picture

Status: Active » Closed (duplicate)