Jump to content

PHP alternative to frames


tsilver10

Recommended Posts

Hi there,

 

I'm working on a site here and looking to redesign it.

 

At the moment it works in that the nav bar is in one frame and the main section is in another. They designed it this way because in the main section there is a form for booking a trip through a third party and they want the nav bar to stay on top when that external page is called in.

 

What I would like to know is...is there a way to call an external page through this form whilst keeping the nav bar at the top?

 

Thanks in advance.

Link to comment
Share on other sites

From my understanding of your situation, it's not possible unless the third party allows you to give them a template to use.

 

Actually, it is possible to call the form using php or javascript, providing you parse the html yourself and add in your nav bar before displaying the results.  That approach is dangerous though, as you could easily break the third party site's operation.  Frames are much safer due to the clear seperation between the sites.

Link to comment
Share on other sites

If it is just a basic form, for example name, age BOD you can setup the form on your site, and get the visitor to enter the details then just post the data to their handleer page via a pop up, this way the data is submitted to the third party and your visitor stays on your website.

 

Also look into using iFrames instead of frames.

Link to comment
Share on other sites

Unfortunately, it's a little more complex.

 

There is a form on our page - a customer enters their details and dates they want to travel and the third party then delivers results based on those dates...so it's a matter of calling that 2nd page in to.

 

Frames/iFrames it is I think...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.