473,703 Members | 2,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with HV Menu 5.5 when working with 2 horizontal frames.

Hi

The Menu doesn't work properly when I have 2 frame and the Menu popup
frame=document target frame, when I choose item in
the menu the doc opened and the menu get stuck.

Here is the code I'm using:

FrameSet -------------------------------------------------------
<html>
<head>
<title>Your Title</title>
</head>
<frameset rows="20%,*" framespacing='0 ' frameborder='1' border=0>
<frame frameborder='1' framespacing='0 ' src="1.html" noresize
scrolling='no' name="MyFrameOn e"></frame>
<frame frameborder='1' framespacing='0 ' src="2.html"
name="MyFrameTw o"></frame>
</frameset>
</html>

1.html -------------------------------------------------------------------
<html>
<head>your header html</head>
<body bgcolor="blue">
Frame 1
<script type='text/javascript'>
//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more
function Go(){return}</script>
<script type='text/javascript' src='exmplmenu_ var.js'></script>
<script type='text/javascript' src='menu_com.j s'></script>
</body>
</html>

2.html ----------------------------------------------------------------
<html>
<body
onload="javascr ipt:{if(parent. frames[0]&&parent.fra mes['MyFrameOne'].Go)parent.fram es['MyFrameOne'].Go()}"
bgcolor="red">
Frame 2
</body>
</html>

exmplmenu_var.j s --------------------------------------------------------
var NoOffFirstLineM enus=5; // Number of first level items
var LowBgColor='#D5 D9FE'; // Background color when mouse is not
over
var LowSubBgColor=' #D5D9FE'; // Background color when mouse is not
over on subs
var HighBgColor='bl ack'; // Background color when mouse is over
var HighSubBgColor= 'black'; // Background color when mouse is over
on subs
var FontLowColor='n avy'; // Font color when mouse is not over
var FontSubLowColor ='navy'; // Font color subs when mouse is not
over
var FontHighColor=' white'; // Font color when mouse is over
var FontSubHighColo r='white'; // Font color subs when mouse is over
var BorderColor='na vy'; // Border color
var BorderSubColor= 'navy'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnt s=1; // Border between elements 1 or 0
var FontFamily="ari al,comic sans ms,technical" // Font family menu
items
var FontSize=8; // Font size menu items
var FontBold=0; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentere d='left'; // Item text position 'left', 'center'
or 'right'
var MenuCentered='l eft'; // Menu horizontal position 'left',
'center' or 'right'
var MenuVerticalCen tered='top'; // Menu vertial position 'top',
'middle','botto m' or static
var ChildOverlap=.2 ; // horizontal overlap child/ parent
var ChildVerticalOv erlap=.2; // vertical overlap child/ parent
var StartTop=16; // Menu offset x coordinate
var StartLeft=0; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizo ntal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR
VERTICAL
var MenuFramesVerti cal=0; // Frames in cols or rows 1 or 0
var DissapearDelay= 1000; // delay before menu folds in
var TakeOverBgColor =1; // Menu frame takes over background color
subitem frame
var FirstLineFrame= 'MyFrameOne'; // Frame where first level appears
var SecLineFrame='M yFrameTwo'; // Frame where sub levels appear
var DocTargetFrame= 'MyFrameTwo'; // Frame where target documents
appear
var TargetLoc='myMe nu'; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or
0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or
0
var UnfoldsOnClick= 0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck= 0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['tri.gif',5,10, 'tridown.gif',1 0,5,'trileft.gi f',5,10]; //
Arrow source, width and height

Any idea ?
Elad
Jul 20 '05 #1
13 5022
elad wrote on 24 Nov 2003:
Hi

The Menu doesn't work properly when I have 2 frame and the Menu
popup frame=document target frame, when I choose item in
the menu the doc opened and the menu get stuck.


<snip reposted code>

This is the third time you've posted a topic on this. Stop it. Did it
occur to you to contact the person that actually wrote the script in
the first place? They would be your best bet to get a solution.

Mike

--
Michael Winter
M.******@blueyo nder.co.uk.invalid (remove ".invalid" to reply)
Jul 20 '05 #2
In article <b6************ **************@ posting.google. com>,
el***********@c omverse.com enlightened us with...
Hi

The Menu doesn't work properly when I have 2 frame and the Menu popup
frame=document target frame, when I choose item in
the menu the doc opened and the menu get stuck.


You have a target myMenu, but I saw no such target div in the 2.html
code, where the script expected it to be.

Did you just leave that out for space, or did you forget to put it in
the real source?

--
~kaeli~
A plateau is a high form of flattery.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #3
1. Actually it's the second time I open a topic on this issue.
2. I opened a new topic because it is very urgent to me to get an
answer.
3. If I could have contact the person who wrote this I would have
already do that.
4. Forums - are usefully created so users can ask questions. and I don't
think you are the forum manager.

Thanks for you help...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #4
I didn't add it to my code but I don't think it has any connection to my
problem
( I even tried it now to make sure it doesn't change anything )

Elad

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #5
In article <3f************ *********@news. frii.net>, fe***@walla.co. il
enlightened us with...
I didn't add it to my code but I don't think it has any connection to my
problem
( I even tried it now to make sure it doesn't change anything )

Elad


Other than that, your code looks fine to me.
Did you trim out other javascript things you are doing? It may be that
things are butting up against each other somehow.

If you have a link to the site you are having problems with, it would be
very helpful.
Also, what browser are you using?

--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #6
Elad Friedman wrote on 24 Nov 2003:
1. Actually it's the second time I open a topic on this issue.
I beg to differ. I have three threads, originally posted by you, all
relating to the same script from DirectDrive, listed in my
newsreader.
2. I opened a new topic because it is very urgent to me to get
an answer.
If someone can suggest an answer, they'll answer you the first time.
3. If I could have contact the person who wrote this I would
have already do that.
Well, you can contact the original writer. The address of the
relevant part of the author's website is
http://www.burmees.nl/menu/menus.htm The home address has already
been posted by yourself. There are instructions for installing
various scripts and an e-mail address.

If you aren't trying to modify the basic functionality of the script
(only what it displays), you could have also e-mailed DirectDrive's
support.
4. Forums - are usefully created so users can ask questions. and
I don't think you are the forum manager.


That is true, but it's impolite to post a question more than once
just because you're impatient. That's basic Usenet (and social)
etiquette and it shouldn't require any form of administrator to tell
you that.

Mike

--
Michael Winter
M.******@blueyo nder.co.uk.invalid (remove ".invalid" to reply)
Jul 20 '05 #7
Hi

I have downloaded the latest version of the menu from
http://www.burmees.nl/menu/menus.htm
and now the menu get stuck only if menu should open a link that starts
with http://
For example :
Menu1_1=new Array("Example
1_1","javascrip t:parent.<Frame Name2>.location .href=\"http://www.cnn.com\"", "",0,20,100,"bl ack","white","y ellow","blue"," yellow","",-1,-1,-1,"","");

Does it works in your site ?

Elad.
Jul 20 '05 #8
In article <b6************ **************@ posting.google. com>,
el***********@c omverse.com enlightened us with...
Hi

I have downloaded the latest version of the menu from
http://www.burmees.nl/menu/menus.htm
and now the menu get stuck only if menu should open a link that starts
with http://
For example :
Menu1_1=new Array("Example
1_1","javascrip t:parent.<Frame Name2>.location .href=\"http://www.cnn.com\"", "",0,20,100,"bl ack","white","y ellow","blue"," yellow","",-1,-1,-1,"","");

Does it works in your site ?

Yes.

--
--
~kaeli~
A little rudeness and disrespect can elevate a meaningless
interaction to a battle of wills and add drama to an
otherwise dull day.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #9
kaeli <ti******@NOSPA M.comcast.net> wrote in message news:<MP******* *************** **@nntp.lucent. com>...
In article <b6************ **************@ posting.google. com>,
el***********@c omverse.com enlightened us with...
Hi

I have downloaded the latest version of the menu from
http://www.burmees.nl/menu/menus.htm
and now the menu get stuck only if menu should open a link that starts
with http://
For example :
Menu1_1=new Array("Example
1_1","javascrip t:parent.<Frame Name2>.location .href=\"http://www.cnn.com\"", "",0,20,100,"bl ack","white","y ellow","blue"," yellow","",-1,-1,-1,"","");

Does it works in your site ?

Yes.

--


I am using version 9.50 of this nice menu. I have exactly the same
issue: the moment my links are pointing to external pages with
"http://..." the pages opens in the corresponding frame but the
navigation menu does not respond anymore.

Any idea?

PS: I asked Ger the programmer of this menu for a hint. I'll post his
answer if any.

frefre
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1656
by: elad | last post by:
Hi I'm working with HV Menu 5.5 (downloaded from www.dynamicdrive.com ) I'm using it with 2 horizontal frames. The menu works great if the FirstLineFrame and SecLineFrame are the same (The first level menu and sub level menu appears in the menu frame) But when I change the SecLineFrame to be the same as DocTargetFrame ( sub level menu appear in the target framemenu ) and choose item in the menu the doc opened and the menu get stuck.
4
3839
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following beautiful script "http://javascript.internet.com/navigation/toolbar-menu.html". It works like a charm. I made my webpage in frames, where the nav-frame shows the menubar, so whenever I click a link in the menubar, it opens in the frame below. But...
1
4327
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i want to make first text as Table Heading/menu category. For examle in the given menu i want to make a heading as "Comp. Languages" which won't be a link. 2) The position of this menu is absolute to the page. I want to make it absolute to the Table...
22
11089
by: Marek Mand | last post by:
How to create a functional *flexible* UL-menu list <div> <ul> <li><a href=""></li> <li><a href=""></li> <li><a href=""></li> </ul> </div> (working in IE, Mozilla1.6, Opera7 (or maybe even in Opera6))
2
5304
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance RWD <script type='text/javascript'>
4
5775
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
4
2344
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown list/menu appears. When the page is opened in the browser (as it appears by default), the dropdown menu positions are correctly displayed. But when I scroll the page and then move the mouse over any menu item of the navbar, the dropdown menu is not...
1
2009
by: proplady | last post by:
I've had this menu for some time, and periodically make changes. I've made some changes now (just some menu items), and the menu will not show up on my webpages. I know it's something simple, but I just can't see it. Can anyone help? var NoOffFirstLineMenus=6; // Number of first level items var LowBgColor='white'; // Background color when mouse is not over var LowSubBgColor='99CCFF'; // Background color when mouse is not over...
0
8749
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8662
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7853
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6585
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2057
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.