Reply to Re: frames [lame]

Your name:

Reply:


Posted by <talthen.z-serwera.o2 on 10/08/05 10:54

<a@b.c>
> <frameset rows="80%,20%">
> <frameset cols="50%,50%">
> <frame src ="stats.php" name="left">
> <frame src ="flag.php" name="right">
> </frameset>
> <frame src = "command.php" >
> </frameset>
>
> and i want to use data from little form (below) in command.php in 2 other
> frames. How can i send data form this form and use it in other frames? If
> use POST i send it only to 1 frame :(

JavaScript and a code a bit like this:

<script>
function OperaIsTheBestBrowser(x)
{
//here take all the data from the form and add it do x
//the final x should look like this:
//theaddress.php?field=value&field2=value
parent.left.window.href=x; //submit do frame named left
parent.right.window.href=x; //submit to frame named right
document.forms[0].submit(); //submit to current frame
}
</script>

<form... action="theaddress.php"
<input type="button" onClick="OperaIsTheBestBrowser('theaddress.php')">

Regards,
Talthen

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация