PDA

View Full Version : Get hyperlinks in the external pages to load in the same div on the main?



monaya
01-26-2009, 02:38 AM
1) Script Title:
Ajax Tabs Content Script (v 2.2)

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

3) Describe problem:

How do you get hyperlinks in the external pages to load in the same div on the main page.

This is a great script. So far tabs are loading external pages, but I cant figure out how to get hyperlinks in those external pages to load back in the same div as opposed to opening up a new web page?

Also will it be possible to pass URL parameters in that link as well?

Thanks!

monaya
01-27-2009, 12:53 AM
The solution is in the update!
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment.htm

My next question is how to get a form button to stay in the div as well as it is submitted in the external page.

ddadmin
01-27-2009, 04:54 AM
For forms to submit inside the DIV, the easiest way is just to use the IFRAME option to display the initial form (instead of the Ajax option).

monaya
01-28-2009, 12:10 AM
THANK YOU. This is one of the most helpful scripts I've seen. I hope the author is around somewhere here!

monaya
01-28-2009, 09:16 PM
Something else got me thinking now that I use the load IFRAME into the main div. Is it possible to get links in the external iFRAME page to link back to the main div?

monaya
01-29-2009, 04:29 PM
Also is there a way to get a hyperlink in the external iFRAME that is embedded in the Ajax tabs to load on the main page? :confused:

monaya
01-29-2009, 05:07 PM
Also is it possibe to reload the page and refresh all tabs.