centered window
- Started
- Last post
- 8 Responses
- Kiko
anyone know how I go about centering a pop up window on my website please?
I mean centering it to the monitor
- GeorgiePorgie0
kiko, you seem to ask a lot of questions here. thats good.
check javascript.com they have an auto trigger page that makes it for you or google
- Kiko0
yeah you gotta ask them. thanx for the tip. However I dont seem to be able to do that as my windows are not opening with an href thingy, they open uisng javascripts already, you know, onmouseclick ect.
will give ti ago would be cool if ti worked though
thanx
- myobie0
you have to give the window you opened with javascript a name, then reference that name and calculate where it should go...
- dippy0
visit a sight that centers its popup using JS, view their page source, and pilfer their code!
- function820
after you do that, don't forget to laugh like an evil genius
- kodap0
this code hides doesn't get caught by the built-in browser pop-up blockers, tested in Saf, Moz and IE 5 /6:
- jevad0
kodap wins
- kodap0
btw.. paste the [script] function under the [head] tag and then use the links on [body]