Search found 5 matches

by Fgorge
Thu Apr 10, 2025 6:52 pm
Forum: Websites Gallery
Topic: The Institut Laue-Langevin
Replies: 2
Views: 19300

The Institut Laue-Langevin

The Institut Laue-Langevin (ILL) is an international research centre at the leading edge of neutron science and technology, offering researchers an exceptionally high neutron flux through more than 40 state-of-the-art intruments that are constantly being developed and upgraded. The research at the ...
by Fgorge
Fri Oct 04, 2024 10:25 am
Forum: Pano2VR general
Topic: how to add css animation to an element of the skin
Replies: 0
Views: 5891

how to add css animation to an element of the skin

Hello,
In an HTML web page I wrote this little script and CSS to animate a <div> using CSS animation :

function play_FG(whichElement) {
element= document.getElementById(whichElement);
element.classList.add("animation_FG");
element.style.animationPlayState = "running";
}

function pause_FG ...
by Fgorge
Wed Oct 20, 2021 5:06 pm
Forum: Pano2VR general
Topic: placeholder and calculate
Replies: 2
Views: 1428

Re: placeholder and calculate

Thank you
by Fgorge
Thu Oct 07, 2021 2:24 pm
Forum: Pano2VR general
Topic: placeholder and calculate
Replies: 2
Views: 1428

placeholder and calculate

Hello,
I use placeholder $(ap) inside a TextBox to display the pan angle and I got negative value when I pan to the right and positive when I pan to the left.
I would like to inverse the value of $(ap) to get the opposite value.
Using javascript I would use :
myVar = myVar *-1;
how to get this ...
by Fgorge
Mon Mar 29, 2021 5:07 pm
Forum: Pano2VR general
Topic: Syntax for pano.openNext('{node10}'); with parameters
Replies: 1
Views: 1025

Syntax for pano.openNext('{node10}'); with parameters

I use javascript to open a new panorama using this expression :
pano.openNext('{node10}');
Works fine but I would like to open it with a specific pan angle...
I read in the Reference API :

pano.openNext(url:String,parameter:String)
Open next panorama, if the url is in the from of {nodeid} it will ...