|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2008
Posts: 4
|
Ok... I found out "how" to call Lightbox2 from a Flash movie clip.
(Execute Lightbox Scripts From Flash: Part Deux at Codefidelity) I can even call Lightbox from Image Folio if I use a static call: If I do the following I can call Lightbox2 from Image Folio... Code:
import oxylus.folio.Image;
Image.clickHandler = function(dat){
// write the code insde this handler function; you can identify each image by its data ("dat" variable)
getURL("javascript:GroupDelegate('image1')");
}
Code:
import oxylus.folio.Image;
Image.clickHandler = function(dat){
// write the code insde this handler function; you can identify each image by its data ("dat" variable)
getURL(dat);
}
My data.xml file has the following in the data node: HTML Code:
data= "& #34;(javascript:GroupDelegate('image1')& #34;)"
HTML Code:
data="& #34;javascript:GroupDelegate('image1')& #34;"
HTML Code:
data="javascript:GroupDelegate('image1')"
*note: I had to add a space & and # in the html code for the quotes in the lines above because it kept converting to " on your forum. The call must fire off a Javascript function in the containing html file: HTML Code:
<script type="text/javascript"> function GroupDelegate(id) { var objLink = document.getElementById(id); Lightbox.prototype.start(objLink); } </script> HTML Code:
http://www.("javascript:GroupDelegate('image1')");
Can you please help me? Thanks!!! ![]() Link to my online testing page: Kenetic Images: Portfolio Lightbox Test Last edited by Kenet; 07-23-2008 at 11:38 PM. |
|
|
|
![]() |
| Bookmarks |
| Tags |
| data.xml, geturl, geturl(dat), javascript, lightbox |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 07:02 PM.










Linear Mode
