[ 3 posts ]

Corden Naraga

  • Username: corden
  • Joined: Wed Jul 27, 2011 11:05 am
  • Posts: 2
  • GitHub: corden
  • Gists: corden
  • IRC: corden
  • Offline
  • Profile

long alert message to be display on YUI Dialog/SimpleDialog

Post Posted: Wed Jul 27, 2011 11:15 am
+0-
Guys just want to ask what to use to display a long alert message.

alert('{/literal}{if count($aSkippedUpdateDates) > 0}{literal}The ff. dates were not updated due to location/building availability conflicts:\n{/literal}{foreach from=$aSkippedUpdateDates item=event_dates}- {$event_dates|escape:"javascript"}\n{/foreach}\n{/if}{literal}The changes you made on Screen 2 have caused location conflicts on the ff:\n{/literal}{if count($aConflictPermits) > 0}{foreach from=$aConflictPermits item=event_conflict}{if $event_conflict.source_type == 7 || $event_conflict.source_type == 8}- Permit# {$event_conflict.permit|escape:"javascript"} {$event_conflict.client_name|escape:"javascript"}: {$event_conflict.activity_name|escape:"javascript"} ({$event_conflict.date|date_format:"%a %m/%d/%Y"} {$event_conflict.start_time|date_format:"%l:%M%p"}-{$event_conflict.end_time|date_format:"%l:%M%p"} )\n{else}{if $event_conflict.message != ""}- {$event_conflict.message|escape:"javascript"}\n{/if}{/if}{/foreach}{/if}\n{if count($aConflictPermitsNotBookable) > 0}{foreach from=$aConflictPermitsNotBookable item=event_conflict}{if $event_conflict.source_type == 7 || $event_conflict.source_type == 8}- Permit# {$event_conflict.permit|escape:"javascript"} {$event_conflict.client_name|escape:"javascript"}: {$event_conflict.activity_name|escape:"javascript"}\n{else}{if $event_conflict.message != ""}- {$event_conflict.message|escape:"javascript"}\n{/if}{/if}{/foreach}{/if}{literal}\nPlease click OK and fix them.');

Just asked Google and he replied to use either Dialog or Simple Dialog since JS has no scrollsbars. How to activate the scrollbars in the two containers?

The alert message appear right after the page is loaded.

TNX,
Corden

Corden Naraga

  • Username: corden
  • Joined: Wed Jul 27, 2011 11:05 am
  • Posts: 2
  • GitHub: corden
  • Gists: corden
  • IRC: corden
  • Offline
  • Profile

Re: long alert message to be display on YUI Dialog/SimpleDia

Post Posted: Sun Aug 21, 2011 3:41 am
+0-
Hello guys any help for this one? Tnx

Sheryl Cortez

  • Username: sheryl11
  • Joined: Sat Aug 27, 2011 5:50 am
  • Posts: 1
  • Location: Winnetka, IL
  • IRC: Shery
  • Offline
  • Profile

Re: long alert message to be display on YUI Dialog/SimpleDia

Post Posted: Sat Aug 27, 2011 9:38 pm
+0-
I also need help with that...
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum