Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local vs. normal development
Message
 
 
À
11/03/2003 10:51:48
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00762896
Message ID:
00764297
Vues:
41
>You can get by with replacing the 404 and the 500's. Most of the script errors will produce a 500 page and the 404 is the page not found error. These files are just HTML that you can replace with your own. Just browse to your page and set as default.
>
>The popup window question, if you have set a name for the window using the TARGET you can use the same window in subsequent calls by referencing the same TARGET. For example in the anchor tag < A HREF=xx TARGET=xx >
>
>HTH,

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,
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform