Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local vs. normal development
Message
De
11/03/2003 14:26:34
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00762896
Message ID:
00764398
Vues:
40
Looks about right. Another idea may be to open a modal window so that the user is forced to close that before displaying a new one.

You can do this with window.showModalDialog. Although this may be IE-specific. Ex:
window.showModalDialog "NewUser.htm",null, "dialogheight:350px, dialogwidth:400px, status=yes,"
>
>Interesting. Here is how I've done it so far, but it's very slow and I also just read about popup-blockers, so I really don't like the whole idea of using it for displaying detail info. May be I can convince Joe to re-consider, though I found so far, that he is very insisting on his ideas...
>
>==================
>Anyway, here is the code I'm using for Popup
>var popupWin
>
>function Popup(strPageToOpen) {
>popupWin= window.open(strPageToOpen,"WindowDetail","height=300,width=300,left=80,top=80,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
>popupWin.focus();
>}
>
>And here is the call from ASP:
>
>response.write "<TD><div class='tblelement'>" &_
>                       "<a href=# title='Click to see details' " &_
>					   " onMouseOver=" & chr(34) & "window.status='Click to see details...';return true" & chr(34) & " onMouseOut=" & chr(34) & "window.status='';return true" & chr(34) &_
>					   " onclick=" & chr(34)+ "javascript:Popup('" & _
>                       "GetDetail.asp?CreditCategory=" & _
>                        rs1(iCreditCategory) & _
>                       "&ContentID=" & rs1(iCartContentID) & _
>                        "')" & chr(34) & ">" & rs1(iDescriptionText) & "</a> </div></TD>" & vbCrLF
>
>Am I doing it right? Could you please advise changes, if needed?
>
>Sorry for being such a dense...
>
>Thanks a lot in advance,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform