|
|
|
||||||||||||||||||||||
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Parceiros - CSS para Web Design - S.O.S Designers - Slackware-Brasil - Crie seu Web site - Oficina da Net |
Não se executa uma função Javascript<script language="JavaScript"> function SearchUsers(value1) { centerPopUp('pag2.php?id=' + value1, 'S', 'Licitacao', 550, 300,1,0,1); } function DetalheCliente(value2) { centerPopUp('ClienteDet.php?cia=' + value2, 'S', 'Detalhe', 550, 300,1,0,1); àE a function na que nao se abre a pag. ClienteDet.php } function centerPopUp(url, plain, name, width, height, scrollbars, resizable, status) { if( scrollbars == null ) scrollbars = "0" if( resizable == null ) resizable = "0" if( status == null ) status = "0" str = ""; str += "resizable=" + resizable + ","; str += "scrollbars=" + scrollbars + ","; str += "status=" + status + ","; str += "width=" + width + ","; str += "height=" + height + ","; if ( window.screen ) { var ah = screen.availHeight - 30; var aw = screen.availWidth - 10; var xc = ( aw - width ) / 2; var yc = ( ah - height ) / 2; str += ",left=" + xc + ",screenX=" + xc; str += ",top=" + yc + ",screenY=" + yc; } if (plain == "S") { window.open( url, name, str ); } else window.open(url); } </script> echo '<td><div align="center"><span class="Estilo6"><a href="javascript:SearchUsers('.$row['Numero'].')">'.$row['Numero'].'</a></span></div></td>'; echo '<td><div align="center"><span class="Estilo6"><a href="javascript:DetalheCliente('.$row2['Nome'].')">'.$row2['Nome'].'</a></span></div></td>'; A FAQ Não se executa uma função Javascript tem Pertence à categoria:
DetalheCliente(TRADECO INDUSTRIAL, S.A. DE C.V.) Pase-o como um string, ou seja colocando assim DetalheCliente('TRADECO INDUSTRIAL, S.A. DE C.V.') para que as aspas que têm depois de INDUSTRIAL não afete.... saudações
|
| Sobre nós | Copyright | Anuncie | Entrar em contato | <criarweb> |