Jump to content

Frames, Searches


This topic is 8590 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Having problems with frames...

I've created a simple web search form that queiries a FMP 4.1 db and returns the information to a record page. The two web files work well and interact with the db fine.

For ease-of-use, I would like to keep the search form on the left hand side of a frame and report the results in another frame. This would allow the user to have search and report functions without jumping back and forth between pages.

However, I have yet to find a way to have the results enter the right hand portion of the frame. When a search is executed, the results show up in the same frame as the search page.

I've searched through the Forum questions/answers and have not come up with anything that will work...

The coding for the frames is below..

<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//EN"

"http: //www.w3.org./TR/xhtml1/DTD/transitional.dtd">

<html>

<head>

<title>Production Webstie: Project Schedule</title>

<link rel = "stylesheet" href = "schedule_stylesheet.css">

</head>

<frameset rows = "15%,*" >

<frame src = "head.html" name = "head" scrolling = "no" frameborder = "1">

<frameset cols = "20%,*">

<frame src = "search.html" name = "search" frameborder = "1">

<frame src = "main.html" name = "results" frameborder = "0">

</frameset>

</frameset>

</html>

Link to comment
Share on other sites

Make sure that each frame on the frameset has been given a unique name (preferably short and without spaces, like "menu" and "results"); then make sure that the links on the menu page all specify the target frame correctly.

Link to comment
Share on other sites

figured it out...from the beginning I thought i would have to reference the frame in the CDML format tag somehow...CDML has nothing to do with it...after naming each frame with a unique identifier, (search for the search frame, head for the head frame and results for the frame where all search results would be shown) as normal in html, I added the <base target = "resutls"> tag between the <head>...</head> tags...worked like a charm...

...now all the results from the search show up in the rightside frame...

Thanks

pc

Link to comment
Share on other sites

This topic is 8590 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.