• 0
Sign in to follow this  
Frederico Kanashiro

Js + Iframe

Question

Está ai o código

Quero abrir a página o Name="principal" neste Target que nomeiei como principal!!!

como faço pra abrir a pagina no target que nomeie como principal??? ajmenu1.addItems ('Empresa', 'home.html');

<iframe name="principal" width="777" height="340" src="home.html" border="0" frameborder="0" scrolling="no" ></iframe>

ajmenu1 = new mainMenu('horizontal', 0, '#FCDB43', '#9CCE00', '#0C5672', '#168DE4','fundoclaro.gif','right');

ajmenu1.cellpadding = 2;

ajmenu1.addItems ('Empresa', 'home.html');

ajmenu1.addItems('Produtos', ' ');

ajmenu1.addItems('Cliente ', 'clientes/clientes.htm ');

ajmenu1.addItems('Onde Estamos ', 'questionario.asp');

ajmenu1.addItems('Fale Conosco ', 'quemusa.asp');

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

opa, não entendi direito ae

mas para abrir no iframe usa o nome do mesmo no target.

abraços

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this