By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,242 Members | 1,410 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,242 IT Pros & Developers. It's quick & easy.

Help please..

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.