Page 1 of 1

question 2

Posted: Wed Sep 20, 2006 3:18 pm
by bedrosamo
on my website there is a button , that i want when they click on it a pop up page opens. (i have this BUT ), i dont want the pop up page be a regualr full page.. but i want it to open a small page (width = 30 , height =40) , do i do this by using html or php and how ? (i mean what is doing now is like it opens a full white page , and only a small part of the page (30*40) there is my text... but i just dont want the whole page to appear..
thanks for the help:)

Posted: Wed Sep 20, 2006 3:32 pm
by SpecialK
As a note I found when wanting a page sized that small.

JavaScript actually limits the size of your window to 100x100 unless you have it digitally signed. I'm a big fan of using JavaScript to save network traffic, although as everyone says, you have to have a backup for the people who turn it off.

Posted: Wed Sep 20, 2006 3:51 pm
by bedrosamo
anyone can give me the code of a 40*30 page? i mean i need the html+php(if needed) code of a page that is 40*30 (i will use it for as a pop up)

Javascript

Posted: Wed Sep 20, 2006 4:19 pm
by gkwhitworth
For this you are going to want to use javascript...way easier than php.

http://www.yourhtmlsource.com/javascrip ... ndows.html

--
Greg

Posted: Wed Sep 20, 2006 4:20 pm
by gkwhitworth
Oh yeah...remember Google is your friend.

--
Greg