Reply to Re: frames and iframes

Your name:

Reply:


Posted by Stefan Rybacki on 06/25/05 19:41

Jeanette Shakespeare wrote:
> Is it possible to have a single form action open two pages in a split frame
> or iframe?
>
> What i have at the moment is a mainpage with a dropdown menu at the top
> which pulls a list of assemblies from a mySQL database. On the lower half
> of the page are two iframes next to each other (like pages of a book).
>
> On selecting the required assembly in the dropdown (form action), it posts
> to a page in an iframe (on the mainpage) which gets the result of a query to
> build a listing of items in that assembly (so far it works).
>
> I want to pull an associated picture and have it in the other iframe next to
> the listing page (again on the mainpage so the dropdown menu is always
> visible)). is this feasable.
>
> my idea is to get the filename in the result at the same time as the parts
> listing and put it in a variable, then somehow (in the url?) send it to the
> picture page automatically which is targeted at the picture iframe which
> will then embed the picture file defined in the variable. Is this feasable
> with php, I dont think it is with plain HTML.

Its not a php problem, its more a HTML problem, which you could solve
like this:

1. use javascript to change the sources of each iframe you want
2. create one frame that contains another two ones, so you just reload
the one and automatically reload the two child frames

>
> or am I going about this the wrong way?
>
> thanks in anticipation.
> (I'm not too bad at understanding HTML but only just started php and mySQL)
>
>
>
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация