Hi,
I managed to get an html denial web page to appear using AccessURLRedirect. My question is: can you get this html page to open in a new window by modifying any setting in the pwb.ini file? I'm currently using version 2.10.0.
Thanks
Jeff Somerfield
Lancaster PA
AccessURLRedirect in a New Window?
Moderators: Tyler, Scott, PWB v2 Moderator
-
- Participant
- Posts: 19
- Joined: Tue Dec 11, 2007 3:11 pm
You could use the HTML type dialogs to display a web page in the denied access dialog.
[Dialogs]
UseHtmlDialogs=True
[Files]
AccessMessageFile=http://webpage...
This will display the web page in a popup window.
--Scott
[Dialogs]
UseHtmlDialogs=True
[Files]
AccessMessageFile=http://webpage...
This will display the web page in a popup window.
--Scott
-
- Participant
- Posts: 19
- Joined: Tue Dec 11, 2007 3:11 pm
You could also try something like this...
--Scott
Code: Select all
<title>Access Denied</title>
<script type="text/javascript">
function load()
{
window.open('http://www.team2s.com/thankyou.html','TheNewpop','width=400,height=200,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');
history.go(-1);
}
</script>
</head>
<body onload="load()">
</body>
</html>