i am using lightbox2.0 in php.it is working well.simple is i want to play a swf file in lightbox.all it working fine when i save a test html page and run.
Now i want to implement it in asp.net.when i run it,it goes to download.it download that file for me which is non sense.
this is the simple code
<a href="gallery/header.swf?scale=noscale&tag1=Sooth Your Mind & Body&tag2=Justice Through Integrity&tag3=Helping Injured Victims&tag4=Experience You Can Trust" class="lightwindow page-options" rel="Flash Gallery[Headers]" params="lightwindow_width=800,lightwindow_height=345" title="Gallery: Doesn't your masthead look perdy?" author="Einstein Industries" ><strong>SWF Gallery</strong> - Any media can now be used in a GALLERY!</a>
shafiqkr
Member
455 Points
387 Posts
LightBox Issue in asp.net
May 02, 2012 02:08 PM|LINK
Hi all,
i am using lightbox2.0 in php.it is working well.simple is i want to play a swf file in lightbox.all it working fine when i save a test html page and run.
Now i want to implement it in asp.net.when i run it,it goes to download.it download that file for me which is non sense.
this is the simple code
rio.jones
Member
246 Points
53 Posts
Re: LightBox Issue in asp.net
May 02, 2012 02:11 PM|LINK
check this link this may help you
http://www.c-sharpcorner.com/uploadfile/scottlysle/using-lightbox-in-an-Asp-Net-application-C-Sharp/
shafiqkr
Member
455 Points
387 Posts
Re: LightBox Issue in asp.net
May 02, 2012 02:15 PM|LINK
These are images ..i want to play an swf file/movie...can i do that?
asteranup
All-Star
30184 Points
4906 Posts
Re: LightBox Issue in asp.net
May 03, 2012 09:06 AM|LINK
Hi,
You can try fancybox for this-
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <script src="http://www.studiomasr.net/jquery.fancybox-1.3.4/jquery-1.4.3.min.js" type="text/javascript"></script> <script src="http://www.studiomasr.net/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js" type="text/javascript"></script> <link href="http://www.studiomasr.net/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(document).ready(function () { $("#various6").fancybox({ 'padding': 0, 'autoScale': false, 'transitionIn': 'none', 'transitionOut': 'none' }); }); </script> </head> <body> <form id="form1" runat="server"> <a id="various6" href="http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf">Swf</a> </form> </body> </html>Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog
shafiqkr
Member
455 Points
387 Posts
Re: LightBox Issue in asp.net
May 03, 2012 01:44 PM|LINK
Worked Fine after some modification.thanks for saving my time