Sie sind nicht angemeldet.

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

1

Sonntag, 20. Dezember 2009, 16:12

parameters for an iframe dimensions and disposition

I want to put my iframe in a above position, what parameters do i have to use ? Thank you *g*

onclick="js(tb_show(Test Pano,fenetres.html?keepThis=true&TB_iframe=true&height=300&width=1200 ) );"

French & andorienne version: Comment descendre ma fenetre "iframe" et utiliser les parametres avec la syntaxe car je suis une truffe en code Merci
*g*

2

Montag, 21. Dezember 2009, 15:35

Hi Germain,

Zitat

....and disposition.
I do not think that it can be a disposition other than centred... Just the size parameter...see here ThickBox 3.1

Zitat

....andorrienne version
andorrane, andorran, Andorre ... ;-)

SAlut.

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

3

Montag, 21. Dezember 2009, 16:46

Salut Michel, si j'ai bien compris , j'ai utilisé une thickbox sans le savoir.
Comme j'aimerais bien quand meme avoir une fenètre à l'endroit que je désire, puis je utiliser une autre type de fenètre plus paramétrable pour afficher mes panos
Et quel en est le code ?
Le but en fait est d'avoir une fenètre principale contenant les hotspots , et à l'intérieur une petite fenètre pour afficher les panoramas que commandent les hotspots!
Merci d'avance.
j'ai aussi posté un message sur http://www.panophoto.org/forums/viewtopi…t&sd=a&start=40 c'est peut_etre mieux que ce forum anglophone!?

4

Montag, 21. Dezember 2009, 17:37

Hi Germain,

Perhaps, a solution would be using an showtext() action when onhover your hotspot...

Here an example using an image inside the showtext: align textfield with cursor

Hope this can help...

SAlut.
note: ajoute une version anglaise de ta question (http://translate.google.com superbe outil)... tu multipliera grandement les possibilités d'aides de par des membres du forum ou du moins tu permettra qu'ils puissent comprendre de quoi on parle ;-) ... Ne serait ce que pour KLAUS qui est vraiment disponible mais je pense n'est pas francophone. *thumbup*

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

5

Montag, 21. Dezember 2009, 23:48

I misspoke Michel.
In fact I want classic or window appears with a pano and hotspots.
And in that window a small window to be always the same size and placed in the same place ie the bottom border.
In this window appear panos called by the hotspots.
Thank you


Je me suis mal exprimé Michel.
En fait je veux la fenetre classique ou s'affiche un pano avec des hotspots.
Et dans cette fenetre une petite fenetre qui sera toujours de la meme taille, et placé au meme endroit c'est à dire au bord bas.
Dans cette fenetre apparaitront les panos appellés par les hotspots.
Merci

Et sympa la traduction Google ! *smile*

6

Dienstag, 22. Dezember 2009, 01:21

Hi Germain,

If I have understood correctly ;-) , you are looking to show some preview image of the next pano when onover your hotspots... if so, here is a possible code to do:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<krpano version="1.0.8" onstart="" >
	
	<preview type="grid(cube,32,32,256,0x000000,0x778899,0x000000);" details="8" />
		
	<hotspot name="hotspot_1"
	     	keep="false"
	     	visible="true" enabled="true" handcursor="true" capture="true" children="true"
	     	fillcolor 	="0xffff00" fillalpha 	="0.30" borderwidth 	="3.0" bordercolor 	="0xffff00" borderalpha 	="0.80"
	     	fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	     	fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	     	onhover="showtext(hotspot_1);"
	     	onover="set(plugin[show-preview].url,show-preview-1.png);action(showwindow,show-preview);"
	     	onout="action(hidewindow,show-preview);"
		>
		<point ath=" -10" atv="-10" />
		<point ath=" -10" atv="10" />
		<point ath=" 10" atv="10" />
		<point ath=" 10" atv="-10" />
	</hotspot>
	
	<hotspot name="hotspot_2"
	     	keep="false"
	     	visible="true" enabled="true" handcursor="true" capture="true" children="true"
	     	fillcolor 	="0xffff00" fillalpha 	="0.30" borderwidth 	="3.0" bordercolor 	="0xffff00" borderalpha 	="0.80"
	     	fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	     	fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	     	onhover="showtext(hotspot_2);"
	     	onover="set(plugin[show-preview].url,show-preview-2.png);action(showwindow,show-preview);"
	     	onout="action(hidewindow,show-preview);"
		>
		<point ath=" -50" atv="-10" />
		<point ath=" -50" atv="10" />
		<point ath=" -30" atv="10" />
		<point ath=" -30" atv="-10" />
	</hotspot>
	
	<hotspot name="hotspot_3"
	     	keep="false"
	     	visible="true" enabled="true" handcursor="true" capture="true" children="true"
	     	fillcolor 	="0xffff00" fillalpha 	="0.30" borderwidth 	="3.0" bordercolor 	="0xffff00" borderalpha 	="0.80"
	     	fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	     	fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	     	onhover="showtext(hotspot_3);"
	     	onover="set(plugin[show-preview].url,show-preview-3.png);action(showwindow,show-preview);"
	     	onout="action(hidewindow,show-preview);"
		>
		<point ath=" 50" atv="-10" />
		<point ath=" 50" atv="10" />
		<point ath=" 30" atv="10" />
		<point ath=" 30" atv="-10" />
	</hotspot>
	
	<plugin name="show-preview" url="" 
	    	align="bottom" width="" height="" x="" y="" visible="false"
			zorder="10"
	    	/>
   
	<action name="showwindow">
		set(plugin[%1].visible,true);
		tween(plugin[%1].alpha,1);
	</action>
	
	<action name="hidewindow">
		tween(plugin[%1].alpha,0,,,set(plugin[%1].visible,false));
	</action>
	
</krpano>


In this example there is 3 hotspots and an hidden plugin show-preview...
When onover, each hotspot sets the url for the plugin show-preview with the image preview to be display and calls the showwindow action to make the plugin visible....

Quellcode

1
onover="set(plugin[show-preview].url,show-preview-3.png);action(showwindow,show-preview);"

When onout, the hidewindow action is called for hide the plugin...

Quellcode

1
onout="action(hidewindow,show-preview);"


Hope this can help.

SAlut.

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

7

Dienstag, 22. Dezember 2009, 14:42

Actually Michael, what I want to do is on this example, with the hotspot marked: "moulin 360° little windows, others are traditional hotspots

En fait Michel ce que je veux faire est sur cette exemple, le hotspot marqué: "moulin 360° little windows", les autres hotspots sont classiques

http://www.spheerique.com/spheros//visit…t2fenetres.html

I need to get this little window, and make it all coherent because I created a html that calls a match for xml code:

Il me faut à présent descendre la petite fenêtre, et rendre tout cela cohérent car je crée un html qui appelle un xml pour correspondre au code:

<hotspot name="hotspotswf3"

keep="true"
url="testfenetredata/graphics/spots/spot0.swf"

onhover="showtext(Vue 360° du Moulin little window);" ath="280" atv="-10"

onclick= "js(tb_show(Pano,test1.html?keepThis=true&TB_iframe=true&height=400&width=1200&modal=true)); "

/>

Then I for the sake of simplicity call an xml? and how from my code. Or another solution?
Then I would put a button to exit the window and return to the overview needed.
+ The simplest is the best because I fiddle.
Thank you very much!

Puis-je dans un souci de simplicité appeller un xml ? et comment à partir de mon code. Ou autre solution ?
Je mettrais ensuite un bouton pour quitter la petite fenêtre et revenir sur la vue d'ensemble au besoin.
Le + simple est le mieux car je bidouille.
Merci beaucoup !

8

Dienstag, 22. Dezember 2009, 17:02

Hi Germain,


Then, you are using a thickbox...

Zitat

Il me faut à présent descendre la petite fenêtre
Do not know how to do correctly....
I have fiddled with the CSS firebug thickbox.css (J'ai bidouillé avec firebug le CSS thickbox.css).

That is what I get:

Quellcode

50
51
52
53
54
55
56
57
58
59
60
#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	bottom: 0px;
	left:50%;
}


Line 58 -- changed the top:50%; by bottom: 0px;

Sure, this is not ideal.... Do not know how to do better... sorry *whistling* ....
Perhaps it can match your needs *smile* ..

SAlut.

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

9

Dienstag, 22. Dezember 2009, 19:04

Thank you very much Michel, the little windows is in the good place ! *thumbsup*

Now I cobbled the code of the hotspot generated by APT:
a présent j'ai bricolé le code du hotspot généré par APT:

<hotspot name="spot0" onclick="set(plugin[data].autorotate,get(autorotate.enabled));set(autorotate.enabled,false);
loadpano(testfenetre1.xml);set(autorotate.enabled,get(plugin[data].autorotate));"
url="testfenetredata/graphics/spots/spot0.swf" onhover="showtext(Vue 360° du Moulin);
" ath="280.64" atv="-0.0552995"/>

pour générer cela:
to make this
<hotspot name="hotspotswf3"

keep="true"
url="testfenetredata/graphics/spots/spot0.swf"

onhover="showtext(Vue 360° du Moulin little window);" ath="280" atv="-10"

onclick= "js(tb_show(Pano,test1.html?keepThis=true&TB_iframe=true&height=400&width=1200&modal=true)); "

/>

is there a simpler way to call the xml type directly in the iframe window without using a html?
Y a t-il un moyen plus simple pour genre appeller le xml directement dans la fenetre iframe sans passer par un html ?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »germain« (22. Dezember 2009, 19:15)


10

Dienstag, 22. Dezember 2009, 19:22

Hi Germain,

If you want to avoid the little space at bottom (due to the line 56 -- border: 4px),
change the line 58 :
bottom: 0px; to bottom: -4px;

One thing I do not understand at this moment is why there is no greyed background on your iframe... Normally, it must be there...
But that is great because, this way, the foreground is accessible...
Something more to investigate ;-) ....

SAlut.

germain

Schüler

  • »germain« ist der Autor dieses Themas

Beiträge: 53

Wohnort: MARSEILLE FRANCE

Beruf: PANOPHOTOGRAPHE

  • Nachricht senden

11

Dienstag, 22. Dezember 2009, 19:40

border is done ! And what about a little shadow ?

I think it's good for the window this moment, and now i think to a simpler code !

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »germain« (22. Dezember 2009, 22:49)