lightbox revisited
i'm starting a new thread because i want to start fresh and explain what may be impossible to do (i hope not).
i have a swf. In that swf, i have a button. i want this button to call a lightbox. in this lightbox, i want a html page to appear. not an image, or a gallery, an html page.
so what i did is this:
in the html, i wrote this:
<script type="text/javascript" src="javascript/prototype.js"></script>
<script type="text/javascript" src="javascript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="javascript/lightwindow.js"></script>
<link rel="stylesheet" href="css/lightwindow.css" type="text/css" media="screen" />
and in my flash button, i wrote this:
on (release) {
getURL("javascript:myLightWindow.activateWindow({href:'http://www.opentable.com/single.aspx?rid=31627&restref=31627', class:'lightwindow', title:'TITLE', author:'AUTHOR', caption:'CAPTION'});")
}
it doesnt give me any error. but it wont work. NOW, when i replaced my http address by an address to a local "swf", it worked. is it because html will not work? or i have the AS wrong? does anyone see a mistake somewehre?
thanks guys
