Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 10-23-2005, 06:15 PM   #1
Solid State Member
Join Date: Jul 2005
Posts: 11
Default Frames

Is it possible to have an iframe on a page with a certain site and add code to the site in the iframe?

For example say I had a page:





<iframe src="http://google.com" height="1000" width="1000"> </iframe>


And I wanted to have the search field already filled out and have some javascript that would hit the search button, is it possible?

Dachi is offline   Reply With Quote
Old 10-24-2005, 03:43 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,050
Default Re: Frames

You can link to google searches...

q is the query, or search parameter, eg q=test q=test+search
hl is the host language, eg, en is english, fr is french, de is german etc etc etc...

to make it automatically filled with javascript I think you'll have to use document.write to contsruct the page and make the target of the iframe variable...

I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is online now   Reply With Quote
Old 10-24-2005, 06:03 AM   #3
Solid State Member
Join Date: Jul 2005
Posts: 11
Default Re: Frames

I know you can link to google searches

It was just an example, but I meant sorta forms in general.

I'll try the other thing you said.
Dachi is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 07:11 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0