Yes. Of course. I have it working on a regular html page. Just starting to try to port it over to xcart.
This is a basic example of how it can work...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="/shadowbox/adapter/shadowbox-base.js"></script>
<script type="text/javascript" src="/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.loadSkin('classic', '/shadowbox/skin');
Shadowbox.loadLanguage('en', '/shadowbox/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], '/shadowbox/player');
window.onload = function(){
Shadowbox.init();
Shadowbox.open({
player: 'html',
title: 'Hello World!',
content: '<div style="border: 2px solid #FF07CE; width: 188; height: 188; padding: 4px; background-color: #FBDFFF; "><p>Hello World!</p></div>',
height: 200,
width: 200
});
};
</script>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<title>Hello World!</title>
</head>
<body bgcolor="#ffffff">
<p>Hello World</p>
</body>
</html>
So, for xcart, I took the script and made it an include, and wrapped it in a {literal}. But no joy yet.
I think I'm close to figuring it out though, and I will report back.