Javascript PopupModal window size

I am using Visual Studio 2003. I am using the hyperlink control and my code is below. Attached are the files that my code uses.

My questions are:

1. If possible, how would I edit my code to adjust the size of the Display.asp window?
2. If possible, how would I edit my code to adjust the size of the Addmemo.asp window?

Here is the line of code I am working with.


 Me.lnkAddMemoCustomer.NavigateUrl = ("javascript:popUpModal('../Dialog.asp?src=collections/addmemo.aspx?c=" & (Me.CustID.ToString) & "')")

The asp files are attached. FilesForEE.zip
michiganblkmanAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
Is popUpModal your own function? None of those files contain the code that you posted in the question. If you are using window.open, you can pass in size info.

http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
0
 
michiganblkmanAuthor Commented:
I apologize. I failed to post the function.


function popUpModal(url)   {   window.showModalDialog(url,null, "dialogWidth:800px;");   window.location.reload(true);   }
0
 
michiganblkmanAuthor Commented:
Your comment gave me a big hint where to look in this huge application.

Thanks!~
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.