Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

result to different frames

Featured Replies

To start, my client would the image of a query result in a horizontal manor, with a horz. scroll. At first I wanted to avoid frames so I found that I could get a layer to hold the results but it did not display correctly in all browsers. So here I am at frames.

Do you think there is a way to get one query to show results in multiple frames.

So after the user comes to the home page and clicks begin which will trigger the query. I need the top frames to show movie theatres and the bottom to show movie titles.

well...no gurus are answering so I will dare to try:

I don't think you can do it with a one submit since you can declare only one -format page. I think you could do with some JavaScript and Pop-ing of the windows but that negates your purpose of frames.

Perhaps, if you know the search criteria and it doesn't change...such as "show me all the movies in this year" kind of a thing you could then generate some querries by using links:


Syntax example(s)

	Find any one record using a link, and display that record in "results.htm"

		<a href="FMPro?-DB=db.fp5&-Format=results.htm&-FindAny">Return any record in the database</a>



so for you maybe something like this would apply



<a href="FMPro?-DB=DB_NAME.fp5&-lay=LAYOUT_NAME&-Format=RESULTS.html&-Field_Name="action movie"&-max=all&-find" target="frame_name1">ACTION MOVIES</a>

<a href="FMPro?-DB=DB_NAME.fp5&-lay=LAYOUT_NAME&-Format=RESULTS.html&-Field_Name="comedy movie"&-max=all&-find" target="frame_name2">COMEDY MOVIES</a>

where these links are perhaps in left frame and results pages are on the right.

This is not the greatest soluton since it requires user to click on both links in order to generate it!!!!

I saw a JavaScript discussion that you might want to follow:

http://www.experts-exchange.com/Web/Q_20513461.html#1 - bottom links

sorry I am not much of a help...look/post for "JavaScript Submit 1 Form to multiple frames" and see if that topic brings you more luck.

There are few people in here that are JS gurus ( for me anyway) maybe they will be kind enough to write up a few lines of code for you!

this is as good as I can offer right now on this topic....

good luck

ok here is my second attempt:

I did some reserach and found this code and changed it a bit....I don't know JS enought to troubleshoot it but you might:


<html>

<head>

<title>GO to FRAMES</title>

<script>

	function doit()

	  {

		document.searchform.target='topFrame';

		document.searchform.action='page1.html';

		document.searchform.submit();

		

		document.searchform.target='bottomFrame';

		document.searchform.action='page2.html';

		document.searchform.submit();

	  }

</script>

</head>

<body bgcolor="#FFFFFF">

<form method="post" action="" name="searchform" target="">

<input type="text" name="tf1">

<input type="text" name="tf2">

<input type="button" name="Submit" value="button" onClick="javascript:doit()">

</form>

</body>

</html> 

good luck with it all...

  • Author

thanks I will give it a try

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.