Submenu "frame" problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
afbuyur
Beginner
Beginner
Posts: 2
Joined: Thu Oct 30, 2008 2:46 pm

Submenu "frame" problem

Post by afbuyur »

Hi

I have 2 problems.

1-Im try http://milonic.com/menusample7.php Multi color drop down menu on my web page.
My web page two frame. Top frame 25 pixel for drop down menu, and Main frame rows="25.*"
Mouse on menu button and sub menus not see. Under the Main frame.

My test page http://www.divatti.net/test/ehngs.html

2-And drop down submenu url http://www.google.com ,www.msn.com ,www.yahoo.com etc. Clicking link target "Main Frame" .

Im edit Multicolor menus menu_data.js example http://www.google.com html frame tag "name="MainFrame" ,
I dont know target name "tag" for menu_data

or Other <frame> <iframe> alternatives ? Other metods for my web page static hold dropdown menu and target body main frame redirecting google yahoo etc. Do your know about this frame alternatives?

I need help. Im sorry for my English.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Submenu "frame" problem

Post by Ruth »

Hi,

Frames require that you use the frames menu. In the menu download there is a folder 'extras'. Inside that folder is a folder for the frames menu. Now, you can just change the style in the frames menu to the one from the multicolor menu if that is the menu you want, but you need to set it up like the frames menu. The explanation on using the frames menu is in that sample included in the download.

I'd be glad to help you set up the menu you want. If you need help just post back here :)

Ruth
afbuyur
Beginner
Beginner
Posts: 2
Joined: Thu Oct 30, 2008 2:46 pm

Re: Submenu "frame" problem

Post by afbuyur »

Hi, My English low :cry:

I want to make simple top navigation drop down menu , sub menu links target open the Mainframe(Body)(Links popular websites)

Im try <iframe> tag or dhtml programs http://www.ehngs.com but Im not success.
And again Im sorry my English.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Submenu "frame" problem

Post by Ruth »

Hi,

What is your language?

The following is using an iframe. If you want frames it will take me some time to set up. Let me know.

Make a page with this code and test it.

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Menu on Iframe Page</title>
	<style type='text/css'>
	body{margin:0px}
	</style>
</head>

<body><!-- ***** This is the section of code you need to paste into your web pages ***** -->
<SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>

<SCRIPT src="mmenudom.js" type=text/javascript></SCRIPT>
<NOSCRIPT><A href="https://milonic.com/">JavaScript DHTML menu is only 
visible when JavaScript is enabled</A></NOSCRIPT> <!-- The next file contains your menu data, links and menu structure etc -->
<SCRIPT src="menu_data.js" type=text/javascript></SCRIPT>
<!-- **** JavaScript Menu HTML Code -->
<table width='100%' height='50px' border=0 align='center'>
<tr>
    <td></td>
</tr>
</table>
<script>
function openIFrame(iFrameId,winURL)
{
	ifId=gmobj(iFrameId)
	ifId.src=winURL
}

</script>
<iframe width='100%' height='100%' frameborder=0 border=0 id=tempiframe name=tempiframe src="main.htm"></iframe>

</body>
</html>
Ruth
Post Reply