You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chirouze Olivier <ol...@volvo.com> on 2007/02/01 10:11:00 UTC

RE: [users@httpd] Frame Question.

This is probably more than "slightly" off topic.
 
You might want to check your html syntax (validator.w3c.org), and use
something like
 
if (parent.navigate.document) {
  // Seems like it's necessary for IE
  parent.navigate.document.location = url;
 } else {
  // Usual way
  parent.navigate.src = url;
 }
 
Your script should also be included in :
<script type="text/javascript">
</script>

Anyway... You should find much more info on a more appropriate forum...

Olivier CHIROUZE
I&0 Infrastructure 
Volvo Information Technology 

 


________________________________

	From: Robert Cahn [mailto:robertscahn@gmail.com] 
	Sent: 31 January 2007 19:22
	To: users@httpd.apache.org
	Subject: [users@httpd] Frame Question.
	
	
	Apologies if this is slightly off topic.
	
	I have a page which is composed of 2 frames.  The code for the
page is as follows:
	
	<frameset cols="25%,75%">
	        <frame name="navigate" SRC=" mainmenu.html"
marginwidth="10" marginheight="10" noresize>
	        <frame name="maintext" SRC="indexmain.php"
marginwidth="10" marginheight="10" noresize> 
	</frameset>
	
	In the navigation section I have a link to bringing up a login
page in maintext.  If the UID, PW check out
	I then issue the following:
	
	    echo "<html><body> <script>
self.location=\"lmain.html\";parent.navigate.location=\"lmenu.html\"</sc
ript> </body></html>";
	
	In Firefox this works like a charm.  In Microsoft IE the part
	
	parent.navigate.location=\ "lmenu.html\"
	
	fails.  Can anyone suggest how to fix this problem with IE or
where else to submit this question?
	
	/Robert Cahn
	Gipsy Trail Club
	Carmel, NY 10512
	

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org