jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Position on the screen

Open jazeabby opened this issue 7 years ago • 2 comments

jquery-confirm version: v3.x.x

I'm submitting a ... (check one with "x") [ ] bug report [x] feature request [ ] support request

Current behavior: The pop-up comes only in the center of the screen.

Expected behavior: We can include a feature to position it left, right, top, bottom, center.

Steps to reproduce: 1st way: Include 6 variables as custom_position, pos_left, pos_right, pos_top, pos_bottom Check if custom_position is true or not If true, check all 4 positions if true or not If true, move the dialog box to the left/right/top/bottom of the screen, if not, position it in the center

2nd way: Include 3 variables as custom_position, pos_vertical, pos_horizontal If custom position is true, check for pos_vertical/pos_horizontal for fix values as pos_vertical: ['top','center','bottom'] pos_horizontal: ['left','center','right'] position the dialog box according to the options

Related code: code is still in development i will post it once i complete it

insert any relevant code here

Other information:

jazeabby avatar Dec 15 '17 09:12 jazeabby

Thanks for the suggestion, i will try and implement this soon.

craftpip avatar Jan 20 '18 17:01 craftpip

Thanks for the suggestion, i will try and implement this soon.

Soon means in a short time from now

smalos avatar Mar 02 '23 08:03 smalos