Whiteangel Posted February 9, 2014 at 10:53 PM Report #544593 Posted February 9, 2014 at 10:53 PM Boas pessoal, Tenho um alerta, e queria saber se dá para personalizar tipo com css, meter ao meio da página, mudar a cor e assim??? echo "<script language='javascript' type='text/javascript' align='center'> alert('Login efetuado com sucesso!.'); window.location.replace('http://localhost/PaginaInicial.html'); </script>";
I-NOZex Posted February 9, 2014 at 11:00 PM Report #544594 Posted February 9, 2014 at 11:00 PM isso não me parece uma duvida de php... queres mudar a cor do que? B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net
Whiteangel Posted February 10, 2014 at 09:55 AM Author Report #544615 Posted February 10, 2014 at 09:55 AM isso não me parece uma duvida de php... queres mudar a cor do que? De uma mensagem "janela de alerta"
I-NOZex Posted February 10, 2014 at 11:26 AM Report #544625 Posted February 10, 2014 at 11:26 AM (edited) noup, podes fazer é algo como isto: http://stackoverflow.com/questions/7859289/simple-jquery-alert-window ou usando jq UI http://coding.abel.nu/2012/01/jquery-ui-replacement-for-alert/ Edited February 10, 2014 at 11:26 AM by I-NOZex B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net
bioshock Posted February 10, 2014 at 03:44 PM Report #544656 Posted February 10, 2014 at 03:44 PM (edited) Fazes com jQuery. Se bem que já existem plugins para isso.. $("#id_do_campo").css('background-color', 'yellow'); http://nakupanda.github.io/bootstrap3-dialog/ http://www.invetek.nl/samples/confirmon/index.html http://bootboxjs.com/#examples Edited February 10, 2014 at 03:45 PM by bioshock
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