|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
phaphane Smarty n00b
Joined: 19 Aug 2004 Posts: 3
|
Posted: Fri Aug 20, 2004 6:00 pm Post subject: popup position? |
|
|
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 |
|
SordidWarrior Smarty Rookie
Joined: 03 Sep 2004 Posts: 6 Location: Paris, France
|
Posted: Sun Sep 05, 2004 12:25 am Post subject: |
|
|
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 |
|
phaphane Smarty n00b
Joined: 19 Aug 2004 Posts: 3
|
Posted: Sun Sep 05, 2004 12:57 pm Post subject: |
|
|
Tu as certainement raison, merci pour ta réponse |
|
Back to top |
|
telnes Smarty Rookie
Joined: 09 Aug 2005 Posts: 7
|
Posted: Tue Sep 06, 2005 10:52 am Post subject: |
|
|
"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 |
|
|
|
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
|