467,867 Members | 1,261 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,867 developers. It's quick & easy.

Help please..

Hi there,

I just added a search function (google) into a site I'm creating.

http://business.aem.cornell.edu/academics/index.htm

But, being that the site is made in frames, the Google results come up
in a frame and I want it to come up on top (target="_top") but how do I
assign a target to the forms submit button?

Or is there another way? (without recreating the site with no
frames...please.)

Thanks

Steve
Jul 20 '05 #1
  • viewed: 1246
Share:
4 Replies
Steve K wrote:
[snip]
But, being that the site is made in frames, the Google results come up
in a frame and I want it to come up on top (target="_top") but how do I
assign a target to the forms submit button?
You don't. You set the <form> element's target attribute.

Or is there another way? (without recreating the site with no
frames...please.)


I take it you are already aware of the numerous problems that frames cause?

<URL:http://www.html-faq.com/htmlframes/?framesareevil>
--
Jim Dabell

Jul 20 '05 #2
In article <L6********************@giganews.com>, Jim Dabell
<ji********@jimdabell.com> wrote:
Steve K wrote:
[snip]
But, being that the site is made in frames, the Google results come up
in a frame and I want it to come up on top (target="_top") but how do I
assign a target to the forms submit button?
You don't. You set the <form> element's target attribute.


Thanks
Or is there another way? (without recreating the site with no
frames...please.)
I take it you are already aware of the numerous problems that frames
cause?


Yes, I'm in the process of doing it over with CSS. But for now it'll
have to live in frames.

Thanks again.
<URL:http://www.html-faq.com/htmlframes/?framesareevil>

Jul 20 '05 #3
In article <L6********************@giganews.com>, Jim Dabell
<ji********@jimdabell.com> wrote:
Steve K wrote:
[snip]
But, being that the site is made in frames, the Google results come up
in a frame and I want it to come up on top (target="_top") but how do I
assign a target to the forms submit button?


You don't. You set the <form> element's target attribute.

Or is there another way? (without recreating the site with no
frames...please.)


I take it you are already aware of the numerous problems that frames
cause?

<URL:http://www.html-faq.com/htmlframes/?framesareevil>

I just ran a report on this site's contents and found out it has a total
of 666 files, no lie.

It is EVIL!!
Jul 20 '05 #4
Steve K wrote:

I just added a search function (google) into a site I'm creating.

But, being that the site is made in frames,
That's too bad; you're sure to run into problems with frames.
the Google results come up in a frame and I want it to come up on
top (target="_top")
Voila! ;-)
but how do I assign a target to the forms submit button?

Or is there another way?
Sure, dump the frames.
(without recreating the site with no frames...please.)


Oh. Well, with that caveat, probably not.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by the_proud_family | last post: by
12 posts views Thread by Christo | last post: by
5 posts views Thread by Craig Keightley | last post: by
17 posts views Thread by JT | last post: by
7 posts views Thread by tyler_durden | last post: by
23 posts views Thread by Jason | last post: by
2 posts views Thread by =?Utf-8?B?U2NvdHRSYWREZXY=?= | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.