Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onclick and hold move the window

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
anyone know how to write a script that would allow
the user to chick on a frameless popup and drag it across the page.

it's kinda hard to move a popup without a titlebar

let me know jef
 
you really shouldn't be using "chromeless" windows for IE this way...they are actually an exploited bug, and the bug has been fixed with IE6SP1 so they'll no longer work.

if you still want to use them, here's a great example of how to move a window:

scroll down to "chromeless demo" =========================================================
if (!succeed) try();
-jeff
 
is this true with html application pages as well?

I've development a flash based html application and use html application pages to hold my flash files?

let me know jef
 
hi jef,
this bug fix does not apply to .hta files - with .hta you are allowed to create chromeless windows. the script on webfx above will work with .hta too.

=========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top