no, the restrict access redirect cannot apss the rel attribute, you would need to find a way to open the login form onload.
from their usage page:
usage.html
it looks like you can set a welcome message on the on;load function:
<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
// let's skip the automatic setup because we don't have any
// properly configured link elements on the page
skipSetup: true
});
window.onload = function() {
// open a welcome message as soon as the window loads
Shadowbox.open({
content: '<div id="welcome-msg">Welcome to my website!</div>',
player: "html",
title: "Welcome",
height: 350,
width: 350
});
};
</script>
it looks like the content argument can take a url:
content The actual content of the object (e.g. URL, HTML code, etc.)
so set the restriction redirect to go to a blank page, and set the shadowbox.open content argument to the url of the login page