Connecting Tech Pros Worldwide Help | Site Map

ShowModalDialog() XP - 2000 Diferencess: Help :-)

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 11:23 AM
Shlomi Schwartz
Guest
 
Posts: n/a
Default ShowModalDialog() XP - 2000 Diferencess: Help :-)

Hi All,

I'm writing an hta application that uses showModalDialog method.
My problem is that the size of the dialog changes from win2000 to
win-xp

I tried to draw a graphical ilustration (Please excuse the poor
design;-))

win 2000 win XP
---------------- ---------------------
|################| |############### |
|################| |############### |
|################| |############### |
|#### Table ####| |#### Table #### |
|################| |############### |
|################| |############### |
|################| |############### |
|################| |############### |
---------------- | |
ShowModalDialog | |
--------------------
ShowModalDialog

I have tried using px and em as unit of measure, but with no luck.
I can't set the table to 100% cause it will distort my design!

Code:
window.showModalDialog("THE URL",[ARGS],"dialogHeight:100px
;dialogWidth:200px; scroll:no ; unadorned:yes");

Q1: What is the reason for this differences?
Q2: How can I prevent this from happening?

Best Regards
Shlomi schwartz

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.