Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

popup position?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
phaphane
Smarty n00b


Joined: 19 Aug 2004
Posts: 3

PostPosted: Fri Aug 20, 2004 6:00 pm    Post subject: popup position? Reply with quote

Hello,

J'espere que certains d'entre vous parle français.

J'aimerai savoir s'il est possible de positionner le popup en fonction de la résolution du visiteur. Si c'est possible comment?

Merci d'avance
Back to top
View user's profile Send private message Send e-mail
SordidWarrior
Smarty Rookie


Joined: 03 Sep 2004
Posts: 6
Location: Paris, France

PostPosted: Sun Sep 05, 2004 12:25 am    Post subject: Reply with quote

Je suppose qu'il faudrait plutôt demander au(x) concepteur(s) de overLIB, qui ont fait la librairie javascript en question
_________________
Vincent Vandemeulebrouck
Coding expert, smarty newbie
http://www.leguerriersorde.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
phaphane
Smarty n00b


Joined: 19 Aug 2004
Posts: 3

PostPosted: Sun Sep 05, 2004 12:57 pm    Post subject: Reply with quote

Tu as certainement raison, merci pour ta réponse
Back to top
View user's profile Send private message Send e-mail
telnes
Smarty Rookie


Joined: 09 Aug 2005
Posts: 7

PostPosted: Tue Sep 06, 2005 10:52 am    Post subject: Reply with quote

"il suffit" d'appeller la fontion resize() dans la balise body lors de l'evènement onload dans le popup


function resize() {
parent.window.moveTo(screen.width/2-screen.width/4,screen.height/2-screen.height/4);
parent.window.resizeTo(screen.width/2,screen.height/2);
}

a tester
_________________
http://telnesmaster.free.fr LiteTemplate
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP