Javascript Question

Andrew Hammond ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Wed Aug 18 12:48:41 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Elcomb wrote:
| On Wed, 2004-08-18 at 00:14, StreetSmart wrote:
|
|>Hey, I have two forms on my web site that change according to what
page your
|>on. The problem is, when i try and link
|>
|><a href="main.php" class="capt" target="main"> home </a>
|>
|>I can only change one form. My question is, are there any way to make one
|>link change two forms? Thanks allot.
|
|
| I'm no jscript expert by any stretch, but if you're referring to frames,
| you could use something like below in an onload or onclick handler:

I think you're right about the two frames. The other thing you can do is
hit the base of the frameset by setting a target <a href="..."
target="_top"></a> (or "_parent" if you're in one of those deeply nested
framesets). Then you'll need a cgi to serve up your base frame.

I know, it's retro. You kids with your new fangled ecmascript ways of
doing things...

- --
Andrew Hammond    416-673-4138    ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Database Administrator, Afilias Canada Corp.
CB83 2838 4B67 D40F D086 3568 81FC E7E5 27AF 4A9A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBI1Algfzn5SevSpoRAoZRAKDEJqg35jNjndIVVN6NBmXvYH57GgCdFffD
VJoXAnJGbJnJJgeMJT+yjfI=
=JWn2
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahammond.vcf
Type: text/x-vcard
Size: 533 bytes
Desc: not available
URL: <http://gtalug.org/pipermail/legacy/attachments/20040818/f4ed9d71/attachment.vcf>


More information about the Legacy mailing list