• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: two modal dialogs on a page problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two modal dialogs on a page problem


  • Subject: Re: two modal dialogs on a page problem
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 17 Sep 2010 13:17:30 -0700

I often have several on one page, so my first guess is "doing something wrong".  I don't know what.  Check for JavaScript errors.

Chuck



On Sep 17, 2010, at 1:03 PM, Theodore Petrosky wrote:

> I have a page that has links to two different AMDs.
>
> ModalDialogOne: AjaxModalDialog {
> 	title = "Dialog One";
> 	label = "Dialog One";
> 	slideUpDuration = ".1";
> 	slideDownDuration = ".1";
> 	action = bringInOne;
> }
>
> ModalDialogTwo: AjaxModalDialog {
> 	title = "Dialog Two";
> 	label = "Dialog Two";
> 	slideUpDuration = ".1";
> 	slideDownDuration = ".1";
> 	action = bringInTwo;
> 	height = 500;
> }
>
> Notice that the only difference is ModalDialogTwo has "height = 500;"
>
> Problem:
>
> if I click the link to ModalDialogOne, it displays and has information that makes the dialog about 350 px tall. I can display ModalDialogOne over and over. But if I display ModalDialogTwo, ModalDialogOne breaks and no longer will display correctly, it is only 25px high with a scroll bar on the side. The only way to fix it is to reload the base page, or ModalDialogTwo can not have a height statement.
>
> If anyone is interested, I have a little demo that I can attach.
>
> Should I open a Jira on this? or am I doing something wrong?
>
> Ted
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: two modal dialogs on a page problem
      • From: Farrukh Ijaz <email@hidden>
References: 
 >two modal dialogs on a page problem (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: two modal dialogs on a page problem
  • Next by Date: Help with ERXBatchFetchUtilities.batchFetch
  • Previous by thread: two modal dialogs on a page problem
  • Next by thread: Re: two modal dialogs on a page problem
  • Index(es):
    • Date
    • Thread