LouiZeForum

3D vrml
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  3Dchats / forums3Dchats / forums  

Share | 
 

 Fullscreen

View previous topic View next topic Go down 
AuthorMessage
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Fullscreen   Sat 9 May - 13:00

is there a way to enforce the Fullscreen
with that sort of code ?


( I cant find a link about Sad

http://dumenieu.free.fr/vrml/terrier/boyaucylindreserpent.htm


Code:


<html>
<head>
<title>embedvrmlcabaret</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#ffffff" text="#000000" link="#000080" vlink="#800080" alink="#ff0000"
onLoad="q4();" scroll="no" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">

<p>

<OBJECT id="cc3d" name="cc3d"
classid="clsid:4B6E3013-6E45-11D0-9309-0020AFE05CC8"
width="100%"
height="100%"
type="application/x-oleobject">
<param name="_Version" value="327682">
<param name="_ExtentX" value="26564">
<param name="_ExtentY" value="15425">
<param name="_StockProps" value="0">
<param name="SRC" value="boyaucylindre.wrl">
<param name="VRML-DASHBOARD" value="0">
<param name="FULLSCREEN" value="0">
<param name="FULLSCREEN-MODE" value>
<param name="TIMER-INTERVAL" value="0">
<param name="AVATAR-URL" value="serpentavatar.wrl">
<param name="AVATAR-DISPLAY" value="0">
<param name="TARGET" value>
<param name="FORCE-HW" value="0">
<param name="FORCE-RGB" value="-1">
<param name="HW-PROBLEM-CHECK" value="-1">
<param name="HIDE-CURSOR" value="0">
<param name="FAST-MODE" value="-1">
<param name="BACKGROUND-COLOR" value="#000000">
<param name="BACKGROUND-IMAGE" value>
<param name="SPLASH-SCREEN" value>
<param name="STARTUP-SCREEN" value="-1">
<param name="UI-URL" value>
<param name="PRELOAD" value="0">
<param name="TRANSPARENT" value="0">
<param name="WINDOWLESS" value="0">
<param name="DRAG-DROP" value="-1">
<param name="RELATIVE-TIME" value="0">
<param name="EDIT-MODE" value="0">
</OBJECT>
</p>

</body>
</html>

_________________
http://mixed3d.net/
Back to top Go down
View user profile
Jack Barlett
+200
+200


Number of posts : 514
Registration date : 2006-05-03

PostSubject: et voilà ...full screen   Sat 9 May - 20:47

GRRRRRRRRR Je viens d'effacer le code mis en exemple ici
il faisait des bourde sur louize
je reviens tout à l'heure pour t'en proposer 2

JaB
Back to top Go down
View user profile http://www.Worldmagicpark.com
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Sat 9 May - 22:35

ah bin avec plaisir ,
!

il y a des années j'avais trouvé des codes pour ouvrir les pages html en fullscreen ,
mais les navigatueurs ont changé depuis .
ce que je voudrai au moins avoir c'est un wrl qui s'ouvre en Fullscreen ,

merci par avance

_________________
http://mixed3d.net/
Back to top Go down
View user profile
Jack Barlett
+200
+200


Number of posts : 514
Registration date : 2006-05-03

PostSubject: PLEIN ECRAN   Sun 10 May - 9:38

alain wrote:

les navigatueurs ont changé depuis .

grrrrr c'est vrai !!!
ceux que je t'ai mis hier au soir ne fonctionnaient pas
et foutaient le boxon dans le topic affraid

Bref, de bon matin me voici dans ma biblio a rechercher ceux qui fonctionnent aujourd'hui
essaie celui-là qui à l'air de le faire..~
c'est un de mes délires, il y a quelques années déjà
de la 3D en VBScript Basketball
http://wmpk.fnet.fr/louise/plein_ecran/a-ouvrir-en-premier.html
bref, il faut une première page qui appelle la fonction
qui ouvre la seconde page .. tu decortiquera dans ton cache
et ici http://wmpk.fnet.fr/louise/plein_ecran/test2.html
ton serpent en full screen héhéhé !!!

===> Apres essai en ligne avec les liens mis ici sur le topic
je m'apperçois que je script ne marche qu'à moitié
il enleve bien barre d'outils, barre d'adresse, volet d'exploration et boutons mais laisse tout de meme la barre du navigateur..
alors que OFFLINE c'est FULL de FULL grrr
mais bon la voie semble bonne .. à gratter ..


Sinon aujourd'hui, je le fais de manière certaine
par l'intermédiaire d'un fichier flash
ici http://wmpk.fnet.fr/pro2swf/Biodetail.htm
essai la fonction sur le zoom
mais çà agit que sur du flash !!!

A suivre
Amicalement

JaB

~~~~~~~~~~~~~~~~~~~~~~~~~~
Back to top Go down
View user profile http://www.Worldmagicpark.com
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Sun 10 May - 13:08

Merci Jack !

pour moi ça marche , et avec la barre que tu dis ,
que dans Firefox ,
ni dans IE ni dans CrazyBrowser

le zoom flash marche Ok partout oui

...

sinon ,

ya pas quelque chose à faire là dedans ?

Code:
<OBJECT id="cc3d" name="cc3d"
classid="clsid:4B6E3013-6E45-11D0-9309-0020AFE05CC8"
width="100%"
height="100%"
type="application/x-oleobject">
<param name="_Version" value="327682">
<param name="_ExtentX" value="26564">
<param name="_ExtentY" value="15425">
<param name="_StockProps" value="0">
<param name="SRC" value="boyaucylindre.wrl">
<param name="VRML-DASHBOARD" value="0">
<param name="FULLSCREEN" value="0">
<param name="FULLSCREEN-MODE" value>
<param name="TIMER-INTERVAL" value="0">
<param name="AVATAR-URL" value="serpentavatar.wrl">
<param name="AVATAR-DISPLAY" value="0">
<param name="TARGET" value>
<param name="FORCE-HW" value="0">
<param name="FORCE-RGB" value="-1">
<param name="HW-PROBLEM-CHECK" value="-1">
<param name="HIDE-CURSOR" value="0">
<param name="FAST-MODE" value="-1">
<param name="BACKGROUND-COLOR" value="#000000">
<param name="BACKGROUND-IMAGE" value>
<param name="SPLASH-SCREEN" value>
<param name="STARTUP-SCREEN" value="-1">
<param name="UI-URL" value>
<param name="PRELOAD" value="0">
<param name="TRANSPARENT" value="0">
<param name="WINDOWLESS" value="0">
<param name="DRAG-DROP" value="-1">
<param name="RELATIVE-TIME" value="0">
<param name="EDIT-MODE" value="0">
</OBJECT>
</p>

je trouve aucune explications sur ces param Sad


...

et c'est pareil ,
mon vieux code ( 2001 ?? )

ne marche plus qu'avec Firfox , et encore avec la même barre machin Sad

http://dumenieu.free.fr/1024/appelfullscreen5cadresmec.html

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Fullscreen   Mon 11 May - 1:26

No, there is no way to do it since MSIE 6 or 7.

Probably all the other browsers have been first in disallowing fullscreen.

Only the user himself can switch to a full fullscreen mode pressing F-11, and that only works if the web-browser is focused (if Blaxxun/BS is focused, F-11 will save the scene).

Another way would be to create your web-page as an HTA aplication.

HTA aplications are written like a normal web-page, but do override all the security settings of Internet Explorer.

If you want to convert any html-page into an HTA application, it just needs a special header, and all frames and iframes inside it must me tagged as application as well.

Google for "hta msdn" for more information.

I personally would not allow any hta application from the internet to run on my machine.

TC

pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Mon 11 May - 8:59

many thanx , it works !

_________________
http://mixed3d.net/
Back to top Go down
View user profile
Jack Barlett
+200
+200


Number of posts : 514
Registration date : 2006-05-03

PostSubject: Re: Fullscreen   Mon 11 May - 9:32

alain wrote:
many thanx , it works !

Alain Ca marche ? t'as reussi ?

tiens moi au courant, j'ai cherché toute la journée d'hier d'autres codes
sans resultat !!
J'ai meme cherché à bidouiller du coté des lightbox et lightwindow ...
http://www.stickmanlabs.com/lightwindow/
toujours sans resultat !!

JaB

---------------------------------
Back to top Go down
View user profile http://www.Worldmagicpark.com
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Mon 11 May - 9:45

juste copié ça , comme test

Code:
<html> <head> <!--    fullscreen but with title bar:  caption  = "yes" --> <hta:application    showintaskbar = "yes"    caption = "no"    border = "thick"    contextmenu = "yes"    icon = "path_to_icon.ico"    innerborder = "no"    scroll = "no"    singleinstance = "yes"    resizable = "yes"    windowState = "maximize" >  <title> List Editor</title>  </head> <body scroll="no">  <p>hello</p>  </body> </html>

( extension hta )

pas le temps de regarder plus longtemps , je pars à lécole Sad

faut voir ces "problèmes de sécutité' dont parle Peter

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Fullscreen   Mon 11 May - 10:20

Hey, you did forget to provide a way for closing the window Laughing

That is one of the reasons why current web-browsers do not support fullscreen.

Security issues of HTA :

HTA runs like every other "normal" application on your computer.

It allows to read/write/delete from your HD, allows to install software, to manipulate the registry, to shut-down the computer or execute other commands ...

That's why you should only run HTAs from trustworth places (most often local or intranet).

For example : If you embedd a VRML/X3D world into an HTA, and you do inline content from others (like avatars), those could easily execute whatever bad intentioned code by simply using Browser.loadUrl().


So TC

Peter
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Mon 11 May - 11:31

peter le cochon wrote:
Hey, you did forget to provide a way for closing the window Laughing



yes LOL I saw that but I was in a hurry to go to school


btw I found the code by google ..just test .

hum , anyways , if I understand well , it is not a good way to use Sad

humm I will stay with my old way to have the fullscreen ,
the Hersto vrml screen saver !!

but it is not very interactive LOOOL

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Fullscreen   Mon 11 May - 16:16

Quote :
if I understand well , it is not a good way to use

It is not a problem if you are running your own stuff as HTA, but if you want to share it with others, they will need to trust you.

pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Mon 11 May - 18:55

ah ? sorry my poor english ,
I tought you meant that others could enter in my puter if I use an hta .

I was wrong ?

If the question is just that ppl have to trust me ,
of course it is not a prob ,
I am sure that everybody trust on me ,
except one or 2 on this planet , but who cares ? ,

LOL

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Fullscreen   Mon 11 May - 19:12

alain wrote:
I am sure that everybody trust on me

Sure? scratch

We trust you, but we also need to trust your content, so follow this simple rules :

Dont inline anything into your HTA if you don't have it under your own control : e.g. don't put other people's content into frames or iframes (html), nor Inlines, nor ExternProtos, nor Browser.createVrmlFromUrl() whenever the URL does not point to your own ressources (or to something "pirated" but hosted on your own server)...

Hey, what are you preparing?

pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Mon 11 May - 19:31

ok , I understand better , thanx .

<<<<<<<<<what I am preparing ?

humm I dont know really , LOL

when we worked together with Jean-Yves for MixED

( after 10 years I didnt met him )

we exchanged many mails and one day I told him
that one of my old phantasms was to do "Le terrier" de Fantz Kafka ,
in 3D

I never did that LOL

But the guy beagan to ask me to do some "terrier" together Smile

we have for the moment just some sketches ,
the last one is

http://dumenieu.free.fr/vrml/terrier/boyauseamlessbullescrachatnoir.wrl

I dont know how all that will progress LOL


( btw , as we are painters , we like fullscreen Smile

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Fullscreen   Mon 11 May - 22:27

Very Happy Whoaw, that sounds like a great project, and the first candy looks great (pretty Kafkian).

I had the feeling that Jean-Yves had a heart for vrml (or web-3d) ... and your venture together seems to corroborate that feeling.

So I wish you both all the best.

Count on me for whatever (dirty-) work in the shade.

Peter pig

P.S. :

And yes : full-screen provides some extra-space to the BS-logo, to loop arround What a Face
Back to top Go down
View user profile
X
+200
+200


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: Re: Fullscreen   Tue 12 May - 3:46

I always just initiated fullscreen in CYBERHENGE by inserting into the html page head this javascript I chose from 3 or 4:










Alt-F4 reinstates regular page format

Example:

[url]http://www.cyberhenge.ca/analogia2.html [/url]


Very Happy X
Back to top Go down
View user profile http://cyberhenge.ca
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Tue 12 May - 8:16

Quote :
I always just initiated fullscreen in CYBERHENGE by inserting into the html page head this javascript I chose from 3 or 4:


Code:
<script LANGUAGE="Javascript">

<!-- This script and many more are available free online at -->
<!-- The Javascript Source!! http://javascript.internet.com -->

<!-- Begin
if (this.name!='fullscreen'){
  window.open(location.href,'fullscreen','fullscreen,scrollbars')
}
//  End -->
</script>

Alt-F4 reinstates regular page format

Example:

http://www.cyberhenge.ca/analogia2.html



Very Happy X

ok I try , thanx


..

reedit :

not working on my XP and IE ,***
but half OK on Firefox , with a little bar at the top

***btw I remember that was OK on my millenium

_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22810
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Fullscreen   Sun 17 May - 19:23

Quote :
Count on me for whatever (dirty-) work in the shade.

LOL , good idea LOL , OK , regarde Smile



well..don't waste your time , plz , I know you are buzy ,
look at if time :

I thought that it could be possible to randomize inlines :

as , with Jean-Yves , we don't know really where we are going Smile,
and as we have or will have several ideas/worlds ,
I wondered if it could be possible to enter by a random way .

i.e.

we have

test1.wrl
test2.wrl
test3.wrl
test4.wrl
test5.wrl

and friends enter with a

randominlines.wrl

Code:
#VRML V2.0 utf8
Transform {
   children [
      DEF  ROOT Transform {}
      Script {
         field SFNode ROOT USE ROOT
         url  "javascript:
          function R(){
              return Math.random();
          }
          function initialize(){
              for(i=0;i<5;i++){
                  string= 
               'Transform {                              '+
                      '  children [                        '+
                    ' Inline   {url \"test(R).wrl\"} '+
                         '  ]                          '+
                      '}                              ';
                  newNode = Browser.createVrmlFromString(string);
                  ROOT.children[i]=newNode[0];
              }
          }
         "
      }            
   ]
}


of course my script is stupid , but it was that sort of idea ....

may be I saw that somewhere , but I am not sure .

what do you think about , Peter ??

_________________
http://mixed3d.net/
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Fullscreen   Today at 19:34

Back to top Go down
 
Fullscreen
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Fullscreen en pixels
» Vidéo en pleine ecran

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: 3D art :: Script-
Jump to: