Solved

create a frame within a jquery ui tab control

Posted on 2010-08-22
1
928 Views
Last Modified: 2013-11-19
Hello,

I'm using the jquery ui tab control to construct a tab panel look and feel and I would like to create a frame within one of the tabs where I can navigation from one page php page to another php page but remain within that same tab.  So the php page (tab content and user options) will change based on a click of a html button/link within the frame.  I would like to be able to use next and previous navigation within this tab.  Any ideas on how to best accomplish this?  I will be doing a php header redirect from the first php page to the second if that has any impact...thanks for any suggestions!
0
Comment
Question by:cgray1223
1 Comment
 
LVL 6

Accepted Solution

by:
hexer4u earned 500 total points
ID: 33499382
Let's say you have a wrapper with id="tab_1", to insert a frame with a page in it, when clicking the tab you want, do

$('#tab_1').html('<iframe src="http://urlofthepageyouwant"></iframe>');

To go to a different page, use the same code, just change the src="" above
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS EC2 & RDS Instance 5 36
jqury 17 30
PHP strings vs array errors 13 23
Jquery 2 13
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question