IDIOTA Posted August 4, 2004 Report Share Posted August 4, 2004 Olá a todos, olha sóTenho um jump menu e gostaria que ao clicar em uma das opções a mesma abrisse em uma janela pop up. Já tentei e num rola.Peço desculpas se isso já foi respondido, é que eu não achei mesmo.Abraço. Quote Link to comment Share on other sites More sharing options...
0 Deividy Posted August 4, 2004 Report Share Posted August 4, 2004 é ai você complica!acho que no dw talvez você nem consiga fazer issotalvez com o pessoal lá do javascript Quote Link to comment Share on other sites More sharing options...
0 IDIOTA Posted August 4, 2004 Author Report Share Posted August 4, 2004 Peço entaum para que alguém mova para lá, para não ter que abrir outro tópico igual.valeu Quote Link to comment Share on other sites More sharing options...
0 Deividy Posted August 4, 2004 Report Share Posted August 4, 2004 você é que manda, é só pedir Quote Link to comment Share on other sites More sharing options...
0 Fabi SP Posted August 4, 2004 Report Share Posted August 4, 2004 Tem como você postar um pedaço do menu para vermos como está feito? Assim fica mais fácil te ajudar. Quote Link to comment Share on other sites More sharing options...
0 IDIOTA Posted August 4, 2004 Author Report Share Posted August 4, 2004 Olá,valeu por ter movidosegue abaixo o cód do jump menu...irei colocar está página no ar e depois posto o endereço. <td colspan="8" align="center" valign="top" background="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r11_c7.gif"><form name="form1" method="post" action=""> <select name="menu1" onChange="P7_JumpMenu(this,0)"> <option selected>V-------------------------V</option> <option value="http://www.recomaqmoveis.com.br/produtos/artesano.html~window:New">Artesano Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/arvy.html~window:New">Arvy</option> <option value="http://www.recomaqmoveis.com.br/produtos/cadema.html~window:New">Cadema</option> <option value="http://www.recomaqmoveis.com.br/produtos/cavaletti.html~window:New">Cavaletti</option> <option value="http://www.recomaqmoveis.com.br/produtos/edw.html~window:New">Cofres EDW</option> <option value="http://www.recomaqmoveis.com.br/produtos/dalpra.html~window:New">Dal Prá</option> <option value="http://www.recomaqmoveis.com.br/produtos/ferroplast.html~window:New">Ferroplast</option> <option value="http://www.recomaqmoveis.com.br/produtos/flegma.html~window:New">Flegma</option> <option value="http://www.recomaqmoveis.com.br/produtos/flexform.html~window:New">Flexform</option> <option value="http://www.recomaqmoveis.com.br/produtos/ggl.html~window:New">GGL Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/giroflex.html~window:New">Giroflex</option> <option value="http://www.recomaqmoveis.com.br/produtos/visograf.html~window:New">IEC Visograf</option> <option value="http://www.recomaqmoveis.com.br/produtos/innal.html~window:New">Innal</option> <option value="http://www.recomaqmoveis.com.br/produtos/invicta.html~window:New">Invicta</option> <option value="http://www.recomaqmoveis.com.br/produtos/kifa.html~window:New">Kifa</option> <option value="http://www.recomaqmoveis.com.br/produtos/menno.html~window:New">Menno</option> <option value="http://www.recomaqmoveis.com.br/produtos/metallyne.html~window:New">Metallyne</option> <option value="http://www.recomaqmoveis.com.br/produtos/mondel.html~window:New">Mondel Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/mprojeto.html~window:New">Móveis Projeto</option> <option value="http://www.recomaqmoveis.com.br/produtos/nifran.html~window:New">Nifran</option> <option value="http://www.recomaqmoveis.com.br/produtos/pandin.html~window:New">Pandin</option> <option value="http://www.recomaqmoveis.com.br/produtos/pretty.html~window:New">Pretty Escritórios</option> <option value="http://www.recomaqmoveis.com.br/produtos/psul.html~window:New">Ponta Sul</option> <option value="http://www.recomaqmoveis.com.br/produtos/vmmetais.html~window:New">VM Metais</option> </select> </form>Minha úlcera agradece a sua ajuda... Até mais. Quote Link to comment Share on other sites More sharing options...
0 Fabi SP Posted August 4, 2004 Report Share Posted August 4, 2004 Falta colocar a função Javascript "P7_JumpMenu(p1, p2)", para poder saber o que ela faz... Quote Link to comment Share on other sites More sharing options...
0 berkowitz Posted August 4, 2004 Report Share Posted August 4, 2004 Pessoal, será que se ele fizer uma função com WINDOW.OPEN onde a página virá do parâmetro não funciona???? Tipo...<script> function abre(pagina) { page=window.open(pagina); } </script>Será que não rola???FALOW!!BERKOWITZ Quote Link to comment Share on other sites More sharing options...
0 Illidan Posted August 4, 2004 Report Share Posted August 4, 2004 Será que não dá pra adaptar a função criada pelo DW ?<script>function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0;}</script><select onchange="MM_jumpMenu('parent',this,1)" name="acesso_rapido">Se a popup já estivesse aberta, daria... vou fazer uns testes aqui!Até mais! Quote Link to comment Share on other sites More sharing options...
0 IDIOTA Posted August 4, 2004 Author Report Share Posted August 4, 2004 Olha só irei colocar todo o codigo. Qualquer coisa editem se acharem que é desnecessário. Código abaixo V<html><head><title>produtos.gif</title><meta http-equiv="Content-Type" content="text/html;"><script language="JavaScript" type="text/JavaScript"><!--function P7_JumpMenu(selObj,restore){ //v1.7 by Project Seven var theFullString = selObj.options[selObj.selectedIndex].value; if (restore) selObj.selectedIndex=0; var theLength = theFullString.length; var endPos = theFullString.lastIndexOf("~"); var theUrl, theTarget, theParent; if (endPos > 0) {theUrl = theFullString.substring(0,endPos);} else {theUrl = theFullString;} endPos++ if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)} else {theTarget = "window:Main";} if (theTarget == "window:New") {window.open(theUrl);} else if (theTarget == "window:Main") {eval("parent.location="+theUrl+"'");} else {eval("parent.frames[\'"+theTarget+"\].location='"+theUrl+"'");}}//--></script></head><body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table border="0" cellpadding="0" cellspacing="0" width="732"> <tr> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="166" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="12" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="2" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="75" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="25" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="90" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="28" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="10" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="10" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="30" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="56" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="21" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="92" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="20" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="75" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="18" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr> <tr> <td rowspan="17"><img name="produtos_r1_c1" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r1_c1.gif" width="1" height="220" border="0" alt=""></td> <td colspan="16"><img name="produtos_r1_c2" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r1_c2.gif" width="730" height="1" border="0" alt=""></td> <td rowspan="16"><img name="produtos_r1_c18" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r1_c18.gif" width="1" height="219" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr> <tr> <td rowspan="15"><img name="produtos_r2_c2" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r2_c2.gif" width="166" height="218" alt=""></td> <td rowspan="7" colspan="3"> </td> <td colspan="2"><img name="produtos_r2_c6" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r2_c6.gif" width="115" height="9" border="0" alt=""></td> <td colspan="5"><img name="produtos_r2_c8" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r2_c8.gif" width="134" height="9" border="0" alt=""></td> <td colspan="4"><img name="produtos_r2_c13" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r2_c13.gif" width="208" height="9" border="0" alt=""></td> <td rowspan="2"><img name="produtos_r2_c17" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r2_c17.gif" width="18" height="12" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="9" border="0" alt=""></td> </tr> <tr> <td colspan="11"><img name="produtos_r3_c6" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r3_c6.gif" width="457" height="3" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="3" border="0" alt=""></td> </tr> <tr> <td rowspan="3" colspan="2"> </td> <td><img name="produtos_r4_c8" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r4_c8.gif" width="28" height="13" border="0" alt=""></td> <td colspan="5"><img name="produtos_r4_c9" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r4_c9.gif" width="127" height="13" border="0" alt=""></td> <td rowspan="3"> </td> <td rowspan="11" colspan="3"> </td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="13" border="0" alt=""></td> </tr> <tr> <td colspan="3"> </td> <td colspan="3"><img name="produtos_r5_c11" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r5_c11.gif" width="107" height="41" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="41" border="0" alt=""></td> </tr> <tr> <td colspan="2"><img name="produtos_r6_c8" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r6_c8.gif" width="38" height="6" border="0" alt=""></td> <td colspan="4"><img name="produtos_r6_c10" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r6_c10.gif" width="117" height="6" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="6" border="0" alt=""></td> </tr> <tr> <td><img name="produtos_r7_c6" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r7_c6.gif" width="25" height="14" border="0" alt=""></td> <td rowspan="3" colspan="8"><img name="produtos_r7_c7" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r7_c7.gif" width="337" height="20" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="14" border="0" alt=""></td> </tr> <tr> <td rowspan="5"><img name="produtos_r8_c6" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r8_c6.gif" width="25" height="55" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr> <tr> <td rowspan="6" colspan="2"><img name="produtos_r9_c3" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r9_c3.gif" width="14" height="119" border="0" alt=""></td> <td rowspan="5"><img name="produtos_r9_c5" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r9_c5.gif" width="75" height="83" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="5" border="0" alt=""></td> </tr> <tr> <td colspan="6"><img name="produtos_r10_c7" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r10_c7.gif" width="224" height="8" border="0" alt=""></td> <td colspan="2"><img name="produtos_r10_c13" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r10_c13.gif" width="113" height="8" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="8" border="0" alt=""></td> </tr> <tr> <td colspan="8" align="center" valign="top" background="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r11_c7.gif"><form name="form1" method="post" action=""> <select name="menu1" onChange="P7_JumpMenu(this,0)"> <option selected>V-------------------------V</option> <option value="http://www.recomaqmoveis.com.br/produtos/artesano.html~window:New">Artesano Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/arvy.html~window:New">Arvy</option> <option value="http://www.recomaqmoveis.com.br/produtos/cadema.html~window:New">Cadema</option> <option value="http://www.recomaqmoveis.com.br/produtos/cavaletti.html~window:New">Cavaletti</option> <option value="http://www.recomaqmoveis.com.br/produtos/edw.html~window:New">Cofres EDW</option> <option value="http://www.recomaqmoveis.com.br/produtos/dalpra.html~window:New">Dal Prá</option> <option value="http://www.recomaqmoveis.com.br/produtos/ferroplast.html~window:New">Ferroplast</option> <option value="http://www.recomaqmoveis.com.br/produtos/flegma.html~window:New">Flegma</option> <option value="http://www.recomaqmoveis.com.br/produtos/flexform.html~window:New">Flexform</option> <option value="http://www.recomaqmoveis.com.br/produtos/ggl.html~window:New">GGL Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/giroflex.html~window:New">Giroflex</option> <option value="http://www.recomaqmoveis.com.br/produtos/visograf.html~window:New">IEC Visograf</option> <option value="http://www.recomaqmoveis.com.br/produtos/innal.html~window:New">Innal</option> <option value="http://www.recomaqmoveis.com.br/produtos/invicta.html~window:New">Invicta</option> <option value="http://www.recomaqmoveis.com.br/produtos/kifa.html~window:New">Kifa</option> <option value="http://www.recomaqmoveis.com.br/produtos/menno.html~window:New">Menno</option> <option value="http://www.recomaqmoveis.com.br/produtos/metallyne.html~window:New">Metallyne</option> <option value="http://www.recomaqmoveis.com.br/produtos/mondel.html~window:New">Mondel Móveis</option> <option value="http://www.recomaqmoveis.com.br/produtos/mprojeto.html~window:New">Móveis Projeto</option> <option value="http://www.recomaqmoveis.com.br/produtos/nifran.html~window:New">Nifran</option> <option value="http://www.recomaqmoveis.com.br/produtos/pandin.html~window:New">Pandin</option> <option value="http://www.recomaqmoveis.com.br/produtos/pretty.html~window:New">Pretty Escritórios</option> <option value="http://www.recomaqmoveis.com.br/produtos/psul.html~window:New">Ponta Sul</option> <option value="http://www.recomaqmoveis.com.br/produtos/vmmetais.html~window:New">VM Metais</option> </select> </form></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="34" border="0" alt=""></td> </tr> <tr> <td colspan="5"><img name="produtos_r12_c7" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r12_c7.gif" width="168" height="7" border="0" alt=""></td> <td rowspan="3" colspan="3"> </td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="7" border="0" alt=""></td> </tr> <tr> <td colspan="6"> </td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="29" border="0" alt=""></td> </tr> <tr> <td colspan="7"> </td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="36" border="0" alt=""></td> </tr> <tr> <td rowspan="2"><img name="produtos_r15_c3" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r15_c3.gif" width="12" height="12" border="0" alt=""></td> <td colspan="12"><img name="produtos_r15_c4" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r15_c4.gif" width="459" height="3" border="0" alt=""></td> <td rowspan="2" colspan="2"><img name="produtos_r15_c16" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r15_c16.gif" width="93" height="12" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="3" border="0" alt=""></td> </tr> <tr> <td colspan="12"><img name="produtos_r16_c4" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r16_c4.gif" width="459" height="9" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="9" border="0" alt=""></td> </tr> <tr> <td colspan="17"><img name="produtos_r17_c2" src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/produtos_r17_c2.gif" width="731" height="1" border="0" alt=""></td> <td><img src="file:///C|/Documents%20and%20Settings/XP/Desktop/teste/img/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr></table></body></html>Qualquer coisa é só fala, porque preciso entregar o trampo semana q vem e to o dia inteiro observando o tópico.Abração a todos. Quote Link to comment Share on other sites More sharing options...
0 Dc Spoc Posted August 5, 2004 Report Share Posted August 5, 2004 Cara,dá uma olhada neste tópico:TÓPICOvaleu! Quote Link to comment Share on other sites More sharing options...
0 IDIOTA Posted August 5, 2004 Author Report Share Posted August 5, 2004 valeu ae DC SPOC, já tinha visto, vamos ver se consiigo fazer isso funcionar..hehhehemas mesmo assim valeu ae a todo mundo que me ajudo.Se num der certo eu digo aqui.Abraço galera Quote Link to comment Share on other sites More sharing options...
Question
IDIOTA
Olá a todos, olha só
Tenho um jump menu e gostaria que ao clicar em uma das opções a mesma abrisse em uma janela pop up. Já tentei e num rola.
Peço desculpas se isso já foi respondido, é que eu não achei mesmo.
Abraço.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.