HighDots Forums  

Re: menu javascript and frames

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: menu javascript and frames in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
[on]
 
Posts: n/a

Default Re: menu javascript and frames - 11-06-2006 , 06:48 AM







SiNi wrote:
Quote:
Hello.

I am an italian student and I do not known javascript language.

I need your help!

I have built a web page with frames (left frame and main frame).
In the left frames I have attach the code that you find below.
I have a problem. because I am not able...when I choose a voice in the menu,
the relative web page open in the left menu....where there is the menu; but
I want that the web page should be display in the main frames!
Anubody can help me?
Thanks in advance and I apologize for my english!


Not really "JavaScript".

In the links that is displayed in the menu frame:
<a href="URL" target="NameOfMainFrame">DESCRIPTION</a>

Where "NameOfMainFrame" is the name you called your "main frame", as
you didn't paste the Framesets I couldn't create this for you. But you
should be able to figure it out.

Also checkout:
http://www.w3.org/TR/html4/present/f...ml#adef-target



By the way; your english is fine.

Have a nice day.

<--snip-->



Reply With Quote
  #2  
Old   
SiNi
 
Posts: n/a

Default Re: menu javascript and frames - 11-06-2006 , 08:40 AM







Quote:
In the links that is displayed in the menu frame:
a href="URL" target="NameOfMainFrame">DESCRIPTION</a

Where "NameOfMainFrame" is the name you called your "main frame", as
you didn't paste the Framesets I couldn't create this for you. But you
should be able to figure it out.
Thanks.

I tryed...

ejs_mv3_lien[0] += '- <A HREF="../IMMAGINI/ACQUA.JPG"
target="../I_menu/I_menu_body.htm">FOTO1</A><BR>';


where:
"acqua.jpg" is a photo that I want to display in the main frame.

"../I_menu/I_menu_body.htm" in the path of the "main fram"

FOTO1 in the text that appear in the MENU.



The photo is display...but in another new window of Internet Explorer...and
not in the frame called "I_menu_body.htm"...where I am Wrong?


Thanks in advance!

SINi


Quote:
Also checkout:
http://www.w3.org/TR/html4/present/f...ml#adef-target



By the way; your english is fine.

Have a nice day.

--snip--




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.