Sie sind nicht angemeldet.

1

Freitag, 27. März 2015, 13:54

embedding fancybox

Hi,
I'm working since two days on trying to get a fancybox type iframe working as a popup over a pano. The only thing which I don't get is to open the fancybox without a background resp. with transparent background.
I don't really understand javascript/ jquery and all I could do is read dozens of forums and trial and error...
Actually, the transparent background is working on android, and also on desktop windows with chrome browser. Firefox doesn't show anything, IE shows a white background, opera also white background.
Maybe there is a conflict between things which I don't understand. Would be really glad if someone could take a look, it's in my tour that I posted in another thread already:
http://www.artesphera.de/pano/_vt/Kieler_Foerde/tour.html

The fancybox opens if you click on the logo in the upper left corner of the screen.

Thanks a lot in advance!

2

Freitag, 27. März 2015, 23:13

meanwhile, I noticed that it's a problem with flash. I had chosen the option html5="auto". Now, after changing to html5="prefer" the fancybox is wotking correctly. Although I would like to get it running correctly with flash, too, but I have no idea what to do...

3

Samstag, 28. März 2015, 15:24

and finally I got it working with flash too. had to put flash's wmode to "opaque" (the default value was "direct")
now it runs correctly and smoothly with html5=auto and with all browsers that I tested...

4

Samstag, 28. März 2015, 16:25

Onhover mask has offset to the right. You can change settings in sidemenu.xml

menu_0_text_x_start ="0"

and after the line 290 you can move text right with textfield padding attribute e.g.

set(plugin[%menu_0].padding,3);

or

set(plugin[%menu_0].padding,'0 0 0 5');


http://www.artesphera.de/pano/_vt/Kieler…_text_x_start=0

5

Samstag, 28. März 2015, 16:48

great! thank you. So I'm nearly satisfied. What I would like to change is to get the sidemenu in other dimensions for mobile devices. Is this also possible in a way maybe to make two different <menu_settings> and defining one to only work on mobile devices or smartphones? I would like to start with a closed menu then and to cover the whole screen with the menu when opened, with larger buttons and fonts, and with always closing the menu after having pressed a button...
or maybe I can use two different sidemenu.xml's, one for mobiles and one for desktops...?

7

Dienstag, 31. März 2015, 11:37

a new problem/ question:
I'd like to js call a fancybox with a URL + Parameter which I get from a scene. I don't know if it is possible...
to understand what I mean, it would be something like this:

this works: onover="js(popup(info/blabla.php?id=1));"
and this is what I want: onover="js(info/blabla.php?id=.GET(id));"

is there a way to do this?

thanks