Afficher un message
Vieux 10/06/2008, 17h37   #2
DesignBlaze
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Shadowbox and flash

I am a beginner to coding... so I'm not sure what I need to modify in this
code. so this is what my actionscript look

targetPhoto.onRelease = function() {
getURL("javascript:abrirSB('img', 'Test Image', 'photos/photo001.jpg');",
"_self");
};

and this is what I added to my html page within the body tag:

function abrirSB(type, title, url)
{
Shadowbox.init({skipSetup: true});
Shadowbox.open({type: type, title: title, content: url});
};

Any is appreciated!

  Réponse avec citation
 
Page generated in 0,05651 seconds with 9 queries