Re: Menu Help

"Yanto" <[email protected]> Thu, 31 Jul 2003 07:19:57 +0200
Newsgroups gmane.comp.web.milonic
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============83271818200396286==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_006E_01C35734.25833EA0"

This is a multi-part message in MIME format.

------=_NextPart_000_006E_01C35734.25833EA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello Alex,=20

I just had the same problem and the thing is that you just copy the code =
from the website:

http://www.milonic.co.uk/menu/menusample.php?sampleid=3D16

but just change the code so that parameter will read iFrameId on both =
places because (in my case at least) javascript was case sensetive like =
this:

function openIFrame(iFrameId, winURL){
ifId=3Dgmobj(iFrameId)
ifId.src=3DwinURL
}

So this code you place in your HTML file for instance which references =
the js file.

okay, and then in the js file, you just use add this code like they do =
in the example:

,"Open Google in IFrame", "javascript:openIFrame(\"tempiframe\", =
\"http://www.google.com\")",,,0

Good luck :)

Yanto

  ----- Original Message -----=20
  From: Alex Quaye=20
  To: [email protected]=20
  Sent: Wednesday, July 30, 2003 4:44 PM
  Subject: [Milonic] Menu Help


  Hi,

  I've just been configuring the menu and on the same page I have an =
Iframe. I've been looking through the script for some kind of =
"target=3Dblah" style code so I can get the links to load in the frame =
but i cant see to find it.

  Any ideas?

  Help will be much appreciated.

  Kindest Regards, Alex


-------------------------------------------------------------------------=
-----
  How to have fun with a phone - ringtones, logos, games, celeb =
voicemails & loads more here!=20


-------------------------------------------------------------------------=
-----


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


------=_NextPart_000_006E_01C35734.25833EA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello Alex, </FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I just had the same problem and the thing is that =
you just=20
copy the code from the website:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.milonic.co.uk/menu/menusample.php?sampleid=3D16">http:=
//www.milonic.co.uk/menu/menusample.php?sampleid=3D16</A></FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>but just change the code so that parameter will read =
iFrameId=20
on both places because (in my case at least) javascript was case =
sensetive like=20
this:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT size=3D2>function openIFrame(iFrameId,=20
winURL){<BR>ifId=3Dgmobj(iFrameId)<BR>ifId.src=3DwinURL<BR>}</FONT></STRO=
NG></DIV>
<DIV><STRONG><FONT size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT size=3D2>So this code you place in your HTML file for =
instance which=20
references the js file.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>okay, and then in the js file, you just use add this =
code like=20
they do in the example:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>
<P><B><FONT size=3D2>,"Open Google in IFrame",=20
"javascript:openIFrame(\"tempiframe\",=20
\"http://www.google.com\")",,,0</FONT></B></P>
<P><FONT size=3D2>Good luck :)</FONT></P>
<P><FONT size=3D2>Yanto</FONT></P></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A [email protected]=20
  href=3D"mailto:[email protected]">Alex Quaye</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
[email protected]=20
  =
href=3D"mailto:[email protected]">[email protected]</=
A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 30, 2003 =
4:44=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Milonic] Menu =
Help</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>Hi,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I've just been configuring the menu and on the same page I have =
an=20
  Iframe. I've been looking through the script for some kind of =
"target=3Dblah"=20
  style code so I can get the links to load in the frame but i cant see =
to find=20
  it.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Any ideas?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Help will be much appreciated.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Kindest Regards, Alex</DIV></DIV><BR clear=3Dall>
  <HR>
  How to have fun with a phone - <A=20
  href=3D"http://g.msn.com/8HMCENUK/2755??PS=3D">ringtones, logos, =
games, celeb=20
  voicemails &amp; loads more here!</A>=20
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Milonic =
mailing=20
  =
list<BR>[email protected]<BR>http://www.milonic.co.uk/mailman/l=
istinfo/milonic<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_006E_01C35734.25833EA0--

--===============83271818200396286==
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

--===============83271818200396286==--