Hi Dean,
I didn't work!, it change the information on the other two frames, yes, but
it is still charging what is on the cache.
If you have any other way of doing this, please email me
Lorena.
----- Original Message -----
From: Dean Sacramone <[EMAIL PROTECTED]>
To: Lorena Carlo <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 2:00 PM
Subject: Re: Re: (Off Topic)javascript: How can I change two frames at the
same time
> Okay,
>
> this is very straight forward.... just make sure you know the names of the
> frames in which you want to manipulate...........and then the pages you
want
> to load........Of course you can use different pages etc..and just pass
> those variables, I will show you both below..
>
>
> <script language="javascript">
> function changeframes() {
> parent.frame1.location.href = 'pageone.html';
> parent.frame2.location.href = 'pagetwo.html';
> }
> function passwithvariables(x,y) {
> parent.frame1.location.href = x;
> parent.frame2.location.href = y;
> }
>
> </script>
>
> <a href="javascript:changeframes()">click me</a>
>
> Or
>
> <a href="javascript:changeframes('pageone.html','pagetwohtml')">click
me</a>
>
> Just sub in your frame names and page names into the code.
>
> Hope that works,,,,,let me know
>
>
> Thanks,
> ~~~~~~~~~~~~~~~~~~~~~~~
> Dean Sacramone
> [EMAIL PROTECTED]
> Lead Programmer-->310-815-5091
> ~~~~~~~~~~~~~~~~~~~~~~~
> "If there was any logic in this world, it would be men who ride
side-saddle,
> not women."
> --
> ----- Original Message -----
> From: Lorena Carlo <[EMAIL PROTECTED]>
> To: Dean Sacramone <[EMAIL PROTECTED]>
> Sent: Tuesday, November 14, 2000 6:04 AM
> Subject: Re: Re: (Off Topic)javascript: How can I change two frames at the
> same time
>
>
> > Hello Dean,
> >
> > Thanks for answering me, what I want to do is the following:
> >
> > I have three frames, one of the frames have a menu, when I make a click
> > here, I want the other two frames to load diferent pages at the same
time.
> >
> > Please help me, thanks in advance
> >
> > Lorena.
> >
> > ----- Original Message -----
> > From: Dean Sacramone <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, November 13, 2000 9:28 PM
> > Subject: Re: (Off Topic)javascript: How can I change two frames at the
> same
> > time
> >
> >
> > > My first suggestion would be to "not use macromedia or go live or html
> > > editor generated code" for your javascript code. Their code is
> cumbersome
> > > and not effective and is hard to follow.
> > >
> > > I am sure I can help you with any javascript code you need, but I am
not
> > > entirely sure what
> > > you are asking,,, if you can word it another way, I will help if I
can.
> > >
> > > Do you just want to seperate frames to load new pages when a link is
> > > pressed??
> > >
> > >
> > > Thanks,
> > > ~~~~~~~~~~~~~~~~~~~~~~~
> > > Dean Sacramone
> > > [EMAIL PROTECTED]
> > > Lead Programmer-->310-815-5091
> > > ~~~~~~~~~~~~~~~~~~~~~~~
> > > "If there was any logic in this world, it would be men who ride
> > side-saddle,
> > > not women."
> > > --
> > > ----- Original Message -----
> > > From: Lorena Carlo <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, November 13, 2000 5:58 PM
> > > Subject: (Off Topic)javascript: How can I change two frames at the
same
> > time
> > >
> > >
> > > > Hi all,
> > > >
> > > > I have a problem, I make two frames change from another with the
> > following
> > > > code:
> > > >
> > > > the function:
> > > >
> > > > function MM_goToURL() { file://v3.0
> > > > var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
> > > > for (i=0; i<(args.length-1); i+=2)
> > > > eval(args[i]+".location='"+args[i+1]+"'");
> > > > }
> > > >
> > > > calling the function:
> > > >
> > > >
> > >
> >
>
onMouseDown="MM_goToURL('parent.frames[\'cabecera\']',/web/header.jsp','pare
> > > > nt.frames[\'contenido\']',/web/contenido.jsp');return
> > > > document.MM_returnValue">link</a></td>
> > > >
> > > > but it takes what is in the cache, and I can not refresh it, what
can
> I
> > > do,
> > > > do any of you have another way of changing to frames at the same
time
> > from
> > > > another frame.
> > > >
> > > > Thanks in advance
> > > >
> > > > Lorena
> > > >
> > > >
> > >
> >
>
===========================================================================
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > >
> > > > http://java.sun.com/products/jsp/faq.html
> > > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets