Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2012, 12:56 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default Flash Panorama Fancybox

Hi guys, i have a problem embedding my flash panorama in my website with fancybox.
I've copied the code for swf embedding but when i try to run it, it just says loading:failed.
this is the code i've found and tried.

<a class="fancyswf" href="image/prueba_cube.swf">

$('.fancyswf').click(function()
{
$.fancybox(
{
'autoScale' : true,
'title' : this.title,
'width' : 800,
'height' : 600,
'href' : this.href,
'type':'swf',
'swf':
{
'wmode' : 'transparent',
'allowfullscreen' : 'true'
}
});

return false;
});

It would be great if somebody can tell me exactly what to put, because i really don't know much about coding, so i'm a bit dizzy with this.
Thanks in advance.
Regards,
el_vene
Reply With Quote
  #2  
Old 09-04-2012, 03:49 PM
uudu uudu is offline
Senior Member
 
Join Date: Apr 2008
Location: Tallinn, Estonia
Posts: 151
Downloads: 1
Uploads: 0
Default

Make a webpage as usual and try to embed your html file. In shadowbox, what I tried, it works this way.

Last edited by uudu; 09-04-2012 at 03:52 PM.
Reply With Quote
  #3  
Old 09-04-2012, 05:13 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default

yeah, i've read that with shadowbox i should be able to do it. But all my website is done in fancybox, so if there's any possibility in doing it that way, i would prefer to do it that way.
Thanks for your reply.

Last edited by el_vene; 09-04-2012 at 08:35 PM.
Reply With Quote
  #4  
Old 09-05-2012, 07:45 PM
uudu uudu is offline
Senior Member
 
Join Date: Apr 2008
Location: Tallinn, Estonia
Posts: 151
Downloads: 1
Uploads: 0
Default

Took a look to fancybox. Actually, I had it already in my computer, downloaded long time ago.
Just replaced in the iframe example web address with my own (from web) and working ok.
Anyway - you need to point it to html, not to swf.

uudu
Reply With Quote
  #5  
Old 09-05-2012, 07:58 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default

sorry i have it like this right now

<li class="left">
<a class="fancyswf" href="image/cube.swf">

how should i write it to be able to read the html?
Thanks for your reply.

Update:

i've just changed to this

<a class="fancyswf" href="http://...../test.html">
tried that route in paralell without the fancybox and works fine, but when i hit the fancybox thumbnail it doesn't work

Last edited by el_vene; 09-05-2012 at 08:07 PM.
Reply With Quote
  #6  
Old 09-05-2012, 08:24 PM
uudu uudu is offline
Senior Member
 
Join Date: Apr 2008
Location: Tallinn, Estonia
Posts: 151
Downloads: 1
Uploads: 0
Default

It's from examples page. You can put also relative address
Code:
<a class="fancybox fancybox.iframe" href="http://yoururl.com/yourpage.html">Iframe</a>
Reply With Quote
  #7  
Old 09-05-2012, 08:59 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default

Sorry, maybe you assume i must know something about coding, but the real thing is that i've sent somebody to make me a website, but now i need to add the panoramas and wan't to do it my own.
I don't wan't to spend your time but i really need a bit more information in order to do this. I assume it isn't that difficult as for not being able to do it.
Do you think you could give me a bit more help with this?
Thanks
Reply With Quote
  #8  
Old 09-06-2012, 10:34 AM
uudu uudu is offline
Senior Member
 
Join Date: Apr 2008
Location: Tallinn, Estonia
Posts: 151
Downloads: 1
Uploads: 0
Default

You are right. I assume, you must know something about coding if you like to do it yourself. You need to spend your time to study it.
Based on information you gave, you get answer already. To get more, you need to show, you are working, and working hard by yourself. And willing to study.
By the way, you didn't told yet the address of your website.
Reply With Quote
  #9  
Old 09-06-2012, 03:45 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default

ok i've solved it now.
As you said, i should use iframe to get it to work.
So i've been said to change these values.


'type':'swf',
'swf':
{
'wmode' : 'transparent',
'allowfullscreen' : 'true'
}
});

return false;
});

to

'type':'iframe'
});

return false;
});

didn't know it was so simple.
i'm now trying to solve the fullscreen toggle in iframe, is it possible to do so? Because i'm trying but i'm not able to do it.
Reply With Quote
  #10  
Old 09-09-2012, 10:24 PM
el_vene el_vene is offline
Junior Member
 
Join Date: Sep 2012
Posts: 8
Downloads: 0
Uploads: 0
Default

Hey does anybody know how to go fullscreen with iframe + fancybox?
Cause i've been trying to solve it, but couldn't do so.
Thanks

EDIT: Just solved it, thanks for your replies.

Last edited by el_vene; 09-11-2012 at 01:49 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.