Betreff: I have problems with menus and frames :)

"Hardowin Wolhoff" <[email protected]> Sun, 27 Jul 2003 22:16:12 +0000 (UTC)
Newsgroups gmane.comp.web.milonic
Message-ID <3F244EF7.000001.03760@DESKTOP>
--===============41645502034625292==
Content-Type: Multipart/Alternative;
  boundary="------------Boundary-00=_J5FPQL80000000000000"


--------------Boundary-00=_J5FPQL80000000000000
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Yanto!!!=0D
=0D
Before starting!!=0D
Make sure you have the latest version of the menu!!=0D
The mmenu version is the most important thing.=0D
Take a look at: http://www.milonic.co.uk=0D
=0D
They also have a solution of working with iFrames.=0D
=0D
http://www.milonic.co.uk/menu/menusample.php?sampleid=3D16=0D
=0D
Cheers=0D
=0D
Hardowin=0D
 =0D
-------Original-Nachricht-------=0D
 =0D
Von: Yanto; Milonic DHTML Menu=0D
Datum: Sunday, July 27, 2003 23:03:20=0D
An: [email protected]=0D
Betreff: [Milonic] I have problems with menus and frames :)=0D
 =0D
Hello, first of all, I'm very grateful that you have shared your scripts =
and
documented them so well, so it was easy to modify !! :)=0D
 =0D
I surfed around the net and found your script at http://simplythebest
net/scripts/dhtml_script_98.html In that zip file, there are to js files:=
=0D
 =0D
menu_array.js =0D
mmenu.js=0D
 =0D
heheh.. I spent maybe more than three hours making things look the way I
wanted it to look, and when I was finished I discovered to my horror that=
 I
didn't know how to target a particular <iframe> that I was using beneath =
the
horizontal menus. When I click on a link, it loads the page in the curren=
t
frame which is kind of not how I expected it to be :) I'm happy about the
desgin and would be devasted if I had to go and work with another script.=
=2E
so I wonder if anyone could help me..? :)=0D
 =0D
Below is the source code from menu_array.js and at the bottom I have made=
 a
comment on the line where I thought that I would be able to provide a tar=
get
frame, but at the moment don't know how:=0D
=0D
=0D
=0D
addmenu(menu=3D[ // This is the array that contains your menu properties =
and
details=0D
"mainmenu", // Menu Name - This is needed in order for the menu to be cal=
led=0D
0, // Menu Top - The Top position of the menu in pixels=0D
0, // Menu Left - The Left position of the menu in pixels=0D
, // Menu Width - Menus width in pixels=0D
1, // Menu Border Width =0D
, // Screen Position - here you can use "center;left;right;middle;top;bot=
tom
 or a combination of "center:middle"=0D
style1, // Properties Array - this is set higher up, as above=0D
1, // Always Visible - allows the menu item to be visible at all time
(1=3Don/0=3Doff)=0D
"left", // Alignment - sets the menu elements text alignment, values vali=
d
here are: left, right or center=0D
effect, // Filter - Text variable for setting transitional effects on men=
u
activation - see above for more info=0D
, // Follow Scrolling - Tells the menu item to follow the user down the
screen (visible at all times) (1=3Don/0=3Doff)=0D
1, // Horizontal Menu - Tells the menu to become horizontal instead of to=
p
to bottom style (1=3Don/0=3Doff)=0D
0, // Keep Alive - Keeps the menu visible until the user moves over anoth=
er
menu or clicks elsewhere on the page (1=3Don/0=3Doff)=0D
, // Position of TOP sub image left:center:right=0D
, // Set the Overall Width of Horizontal Menu to 100% and height to the
specified amount (Leave blank to disable)=0D
, // Right To Left - Used in Hebrew for example. (1=3Don/0=3Doff)=0D
, // Open the Menus OnClick - leave blank for OnMouseover (1=3Don/0=3Doff=
)=0D
, // ID of the div you want to hide on MouseOver (useful for hiding form
elements)=0D
, // Reserved for future use=0D
, // Reserved for future use=0D
, // Reserved for future use=0D
,"&nbsp;&nbsp;Main&nbsp;&nbsp;",www.abc123.com,,"Main",1 // "Description
Text", "URL", "Alternate URL", "Status", "Separator Bar"   //  <--------
this is where I thought that maybe I could specify a target frame somehow
but don't know how exactly -->=0D
=0D
=0D
=0D
I would be SO HAPPY if there was a way to solve this.. !!!! :)=0D
 =0D
anyway, thanks again for being generous with sharing your code :)=0D
 =0D
Kind regards,=0D
 =0D
Yanto=0D
=20
--------------Boundary-00=_J5FPQL80000000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
1">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER></X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px=
 10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D=
yes ORGYPOS=3D"0" X-FVER=3D"3.0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" width=3D"100%">
<DIV>Hi Yanto!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Before starting!!</DIV>
<DIV>Make sure you have the&nbsp;latest version of the menu!!</DIV>
<DIV>The mmenu version is the most important thing.</DIV>
<DIV>Take a look at: <A href=3D"http://www.milonic.co.uk">http://www.milo=
nic.co.uk</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>They also have&nbsp;a solution&nbsp;of working with iFrames.</DIV>
<DIV>&nbsp;</DIV>
<DIV><A href=3D"http://www.milonic.co.uk/menu/menusample.php?sampleid=3D1=
6">http://www.milonic.co.uk/menu/menusample.php?sampleid=3D16</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hardowin</DIV>
<DIV>&nbsp;</DIV>
<DIV id=3DIncrediOriginalMessage><I>-------Original-Nachricht-------</I><=
/DIV>
<DIV>&nbsp;</DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Von:</B></I> <A href=3D"ma=
ilto:[email protected]">Yanto</A>; <A href=3D"mailto:[email protected]=
nic.co.uk">Milonic DHTML Menu</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Datum:</B></I> Sunday, Jul=
y 27, 2003 23:03:20</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>An:</B></I> <A href=3D"mai=
lto:[email protected]">[email protected]</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Betreff:</B></I> [Milonic]=
 I have problems with menus and frames :)</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>Hello, first of all, I'm very grateful that you have =
shared your scripts and documented them so well, so it was easy to modify=
 !! :)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>I surfed around the net and found your script at <A href=3D"http://s=
implythebest.net/scripts/dhtml_script_98.html">http://simplythebest.net/s=
cripts/dhtml_script_98.html</A>&nbsp;In that zip file, there are to js fi=
les:</DIV>
<DIV>&nbsp;</DIV>
<DIV>menu_array.js </DIV>
<DIV>mmenu.js</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>heheh.. I spent maybe more than three hours making th=
ings look the way I wanted it to look, and when&nbsp;I was finished I&nbs=
p;discovered to my horror that I didn't know&nbsp;how to target a particu=
lar &lt;iframe&gt; that&nbsp;I was using beneath the horizontal menus. Wh=
en I click on a link, it&nbsp;loads the&nbsp;page in the current frame wh=
ich is kind of not how I expected it to be :)&nbsp;I'm happy about the de=
sgin and would be devasted if I had to go and work with another script.. =
so I wonder if anyone could help me..? :)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT size=3D2></FONT></DIV><FONT size=3D2></FONT></DIV>
<DIV><FONT size=3D2>Below is the source code from menu_array.js and at th=
e bottom I have made a comment on the line where I thought that I would b=
e able to provide a target frame, but at the moment don't know how:</FONT=
></DIV>
<DIV>
<HR>
</DIV>
<DIV><FONT size=3D2>
<P>addmenu(menu=3D[ </FONT><FONT color=3D#008000 size=3D2>// This is the =
array that contains your menu properties and details</P></FONT><FONT size=
=3D2>
<P>"mainmenu", </FONT><FONT color=3D#008000 size=3D2>// Menu Name - This =
is needed in order for the menu to be called</P></FONT><FONT size=3D2>
<P>0, </FONT><FONT color=3D#008000 size=3D2>// Menu Top - The Top positio=
n of the menu in pixels</P></FONT><FONT size=3D2>
<P>0, </FONT><FONT color=3D#008000 size=3D2>// Menu Left - The Left posit=
ion of the menu in pixels</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Menu Width - Menus width in=
 pixels</P></FONT><FONT size=3D2>
<P>1, </FONT><FONT color=3D#008000 size=3D2>// Menu Border Width </P></FO=
NT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Screen Position - here you =
can use "center;left;right;middle;top;bottom" or a combination of "center=
:middle"</P></FONT><FONT size=3D2>
<P>style1, </FONT><FONT color=3D#008000 size=3D2>// Properties Array - th=
is is set higher up, as above</P></FONT><FONT size=3D2>
<P>1, </FONT><FONT color=3D#008000 size=3D2>// Always Visible - allows th=
e menu item to be visible at all time (1=3Don/0=3Doff)</P></FONT><FONT si=
ze=3D2>
<P>"left", </FONT><FONT color=3D#008000 size=3D2>// Alignment - sets the =
menu elements text alignment, values valid here are: left, right or cente=
r</P></FONT><FONT size=3D2>
<P>effect, </FONT><FONT color=3D#008000 size=3D2>// Filter - Text variabl=
e for setting transitional effects on menu activation - see above for mor=
e info</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Follow Scrolling - Tells th=
e menu item to follow the user down the screen (visible at all times) (1=3D=
on/0=3Doff)</P></FONT><FONT size=3D2>
<P>1, </FONT><FONT color=3D#008000 size=3D2>// Horizontal Menu - Tells th=
e menu to become horizontal instead of top to bottom style (1=3Don/0=3Dof=
f)</P></FONT><FONT size=3D2>
<P>0, </FONT><FONT color=3D#008000 size=3D2>// Keep Alive - Keeps the men=
u visible until the user moves over another menu or clicks elsewhere on t=
he page (1=3Don/0=3Doff)</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Position of TOP sub image l=
eft:center:right</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Set the Overall Width of Ho=
rizontal Menu to 100% and height to the specified amount (Leave blank to =
disable)</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Right To Left - Used in Heb=
rew for example. (1=3Don/0=3Doff)</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Open the Menus OnClick - le=
ave blank for OnMouseover (1=3Don/0=3Doff)</P></FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// ID of the div you want to h=
ide on MouseOver (useful for hiding form elements)</P></FONT><FONT size=3D=
2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Reserved for future use</P>=
</FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Reserved for future use</P>=
</FONT><FONT size=3D2>
<P>, </FONT><FONT color=3D#008000 size=3D2>// Reserved for future use</P>=
</FONT><FONT size=3D2>
<P>,"&amp;nbsp;&amp;nbsp;Main&amp;nbsp;&amp;nbsp;",<A href=3D"http://www.=
abc123.com">www.abc123.com</A>,,"Main",1 </FONT><FONT color=3D#008000 siz=
e=3D2>// "Description Text", "URL", "Alternate URL", "Status", "Separator=
 Bar"&nbsp;&nbsp; //&nbsp; &lt;-------- this is where I thought that mayb=
e I could specify a target frame somehow but don't know how exactly --&gt=
;</FONT></P>
<DIV><FONT size=3D2>
<HR>
</FONT></DIV>
<DIV><FONT size=3D2>I would be SO HAPPY if there was a way to solve this.=
=2E !!!! :)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>anyway, thanks again for being generous with sharing =
your code :)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Kind regards,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Yanto</FONT></DIV></DIV></FONT></DIV>
<DIV>&nbsp;</DIV></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE></BODY></HTML>
--------------Boundary-00=_J5FPQL80000000000000--



--===============41645502034625292==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

_______________________________________________
Milonic mailing list
[email protected]
http://www.milonic.co.uk/mailman/listinfo/milonic

--===============41645502034625292==--