RE: Frame Question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
	Sent: 31 January 2007 19:22
	To: users@xxxxxxxxxxxxxxxx
	Subject:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux