fil79 Posted December 6, 2006 at 03:40 PM Report #69181 Posted December 6, 2006 at 03:40 PM Boas Será que dá para fazer um script em PHP de modo que a imagem de background tenha exactamente o mesmo tamanho da resolução do monitor??A ideia era não haver espaços em branco e que a dita imagem ocupe na totalidade o monitor independentemente da resolução de cada um...se for possivel qual a função que para captar a resolução do computador cliente?? Desde já agradeço MCITP-MCTS-MCP
skin Posted December 6, 2006 at 04:54 PM Report #69193 Posted December 6, 2006 at 04:54 PM pões auto nas height e weight e penso que deve funcionar 😉 quanto a capturar a resolução do êcra não conheço mas gostava de saber se existir... Our lives begin to end the day we become silent about things that matter - Martin Luther King
karva Posted December 6, 2006 at 04:56 PM Report #69194 Posted December 6, 2006 at 04:56 PM existe, mas acho que tem que ser em javascript (foi a unica q eu vi...) Proud LEIC-A@IST student!
skin Posted December 6, 2006 at 04:57 PM Report #69196 Posted December 6, 2006 at 04:57 PM existe, mas acho que tem que ser em javascript (foi a unica q eu vi...) Ya, eu também só vi com JavaScript PHP acho que não... Our lives begin to end the day we become silent about things that matter - Martin Luther King
AriOps Posted December 6, 2006 at 05:34 PM Report #69201 Posted December 6, 2006 at 05:34 PM PHP é server side, logo não acredito que dê. Daniel Correia
skin Posted December 6, 2006 at 05:40 PM Report #69204 Posted December 6, 2006 at 05:40 PM Links a visitar para saber mais sobre o assunto: http://www.pageresource.com/jscript/jscreen.htm http://javascript.internet.com/user-details/resolution-page.html http://javascript.internet.com/user-details/screen-details.html http://www.javascriptkit.com/script/cutindex8.shtml http://www.zimmertech.com/tutorials/javascript/21/page-resolution-detector-tutorial.php http://www.hotscripts.com/Detailed/13371.html http://www.netmechanic.com/news/vol4/accessibility_no24.htm para mais informações: http://www.google.pt/search?q=screen+resolution+javascript&btnG=Pesquisar&hl=pt-PT Our lives begin to end the day we become silent about things that matter - Martin Luther King
kingless Posted December 6, 2006 at 07:02 PM Report #69217 Posted December 6, 2006 at 07:02 PM como isto nao tem a ver com PHP acho que deviam mover este post para secção correcta 😉
Icaro Posted December 7, 2006 at 01:10 PM Report #69327 Posted December 7, 2006 at 01:10 PM Eis como se poderá fazer em javascript http://webmasters.aborla.net/js1.php
Spread Posted December 7, 2006 at 01:19 PM Report #69330 Posted December 7, 2006 at 01:19 PM Para funcionar em php é pegar no javascript, enviar uma coockie com a informação e depois lê-la em php. É a única forma possivel de fazê-lo (acho eu). Cumps 8) http://spread-pt.comDownload de Hiphop Português gratuito
jreis Posted December 19, 2006 at 06:25 PM Report #71406 Posted December 19, 2006 at 06:25 PM Eu axo (tenho quase a certeza) que existe uma forma de fazer isso com CSS, se bem que assim de repente não me lembro onde vi isso... Mas também, quase de certeza que não iria funcionar no IE... 👍 "Pensa positivo: tudo pode piorar"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now