(c) 2007, DHTML-Menu.com
 
HOME
PRODUCT INFO
SAMPLES
DOWNLOAD
PURCHASE
SUPPORT
   
   
  Support
  Recent Questions
  Write To Support
 

    Is there any way to have a javascript popup code float in the centre of the screen

Return to Recent Questions


Q: Is there any way to have a javascript popup code float in relation to the centre of the screen (not the left of the screen).� I have a centre based website. When I use the javascript popup code and view the site on different screen sizes, the floating menu appears in different places on the x scale. For example,� I would like it 20 percent from the edge of my centre based webpage, not 20 percent from the left of the screen.� I want the javascript popup code to appear on the same horizontal place on my webpage (which is centre based)


A: No unfortunately it is not possible to write

var posX="50% - 20";

You should adjust your coordinates to center the menu with absolute position.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap slider | static website generator | easy website builder | bootstrap modal popup | free bootstrap templates