View Full Version : DHTML: bottom right window position & CSS sets?

05-05-2010, 03:27 PM
1) Script Title: DHTML Window

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

Brilliant piece of work this one. I do have some thoughts/questions on some tweaks which are practically useful...
1) I've worked on it but can't really get my head around how to implement positioning a DHTML window in the bottom right corner of the viewport
ie: the "css style" equivalent being "right: 0px; bottom: 0px;"
I understand how top and left positions the new DHTML window but given the variable nature of browser window sizes, how to hack the script to position a DHTML window in the bottom right?

2) I'd like to have different styles for different types of DHTML window instances. I can't quite understand how the javascript references the .css - some insight would be appreciated on that
ie: I'd like to work out how to reference different sets of style definitions eg: one set of windows can have a red .drag-handle whilst another a blue one with a narrower width.

Thanks for looking at this and in advanced for the replies! :)


05-24-2010, 10:25 AM
Bump? :confused: