Can you make an example with a shadowbox please.Okay, I figured out. You are using iframe for shadowbox content, but you forgot to incude swfaddress.js script into iframed page.
![]()
Quellcode
1 2 <script src="java/laon.js"></script> <script src="java/swfaddress.js"></script>
I added,script into iframed page.but it does not change
![]()
Quellcode
1 2 <script src="java/laon.js"></script> <script src="java/swfaddress.js"></script>
thank you
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jaydee« (23. Februar 2012, 11:13)
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<plugin name="swfaddress"
url="plugins/sa.swf"
............
>
<pano name="pano1"
xmlurl="%SWFPATH%/pano/0.xml"
pageurl="/crane/"
pagetitle="Olympic Stadium. View from the crane."
onxmlcomplete="trace(First pano loaded);"
/>
...........
</plugin>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<krpano> <scene name="pano1" pageurl="/crane/" pagetitle="Olympic Stadium. View from the crane." onxmlcomplete="trace(First pano loaded);" > <view hlookat="0" vlookat="0" ......... /> <image> ....... </image> </scene> </krpano> |
Zitat
Try to set document.location.hash before openning a shadowbox, cos
iframed page will read this value after loading. It doesn't make sense
to pass this value through to iframed page through url.
I haven't used shadowbox before, but I will have a look.
Zitat
Try to set document.location.hash before openning a shadowbox, cos
iframed page will read this value after loading. It doesn't make sense
to pass this value through to iframed page through url.
I haven't used shadowbox before, but I will have a look.
I find no solution, I hope you find a solution.
thank you
There is nothing wrong with combobox :-D I use it in the javascript version. The flash version though it's quite ugly.
Zitat
What about combo? It's working for me, what's wrong with it?
Zitat
Why don't you use automatic mode? The URL in adderess bar not chaning for some reason...
So I deactivated the feature. Hi Jaydee!
Thank you very much for the updated version. The traces are gone now.
There is nothing wrong with combobox :-D I use it in the javascript version. The flash version though it's quite ugly.
Zitat
What about combo? It's working for me, what's wrong with it?
I tried to change its appearance in flash but I couldn't center the text properly. So I decided to create my custom look-a-like combobox using krpano syntax.
Zitat
Why don't you use automatic mode? The URL in adderess bar not chaning for some reason...
We use SA for two things:
- Development - It makes my life so much easier! I type the name of the scene I want to check manually and presto! There it is!
- Embedding specific scenes using iFrames - There is nothing wrong with the automatic mode and changing the url, but my clients don't like to see their pretty urls changedSo I deactivated the feature.
I'm very happy with this plugin! Good job!
Cheers
Rafael
Hi jaydee,
I am completely new at krpano, after few years with FPP and not being a coder, rather a photographer, it is quite hard for me to turn to new player. But somehow, by studying the forum, documentation and the code of others I could manage to make it work :) But to understand your plugin is really a problem to me :)) I can understand what it can do and I like it, but I do not understand the description, the examples nor this discussion :( Please, can U provide some simple code example just for this situation:
I have only one panorama (not virtual tour) and I need only these 3 buttons (twitter, fb and email) to share the particular view of pano + with google analytics.
Something, where I could just change the paths + apikeys etc.
Thanx you!
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.0" fovmax="120" limitview="auto" /> <preview url="%SWFPATH%/tiles/0.tiles/preview.jpg" /> <image> <cube url="%SWFPATH%/tiles/0.tiles/pano_%s.jpg" /> <mobile> <cube url="%SWFPATH%/tiles/0.tiles/mobile_%s.jpg" /> </mobile> <tablet> <cube url="%SWFPATH%/tiles/0.tiles/tablet_%s.jpg" /> </tablet> </image> |
So I simply remove <pano name="pano2"
...
/>
from both. ok,
now there is 0.xml - so I should remove this code
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.0" fovmax="120" limitview="auto" /> <preview url="%SWFPATH%/tiles/0.tiles/preview.jpg" /> <image> <cube url="%SWFPATH%/tiles/0.tiles/pano_%s.jpg" /> <mobile> <cube url="%SWFPATH%/tiles/0.tiles/mobile_%s.jpg" /> </mobile> <tablet> <cube url="%SWFPATH%/tiles/0.tiles/tablet_%s.jpg" /> </tablet> </image>
from main xml and leave it here? Do I understand it right?
Thanx and sorry, I am stupid as for the coding :DD
Yeah, thanks VN2011! Is bit.ly pro account free?
Btw, for those of you who using Facebook sharing feature: it is also possible to share image and description for your links by using Open Graph tags.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »igor.socha« (22. März 2012, 20:34)