Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

create a frame within a jquery ui tab control

Posted on 2010-08-22
1
931 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
Dynamic Dropdowns 15 32
Moving from Mcrypt to OpenSSL 18 45
ajax jquery 3 25
Getting search results to display ul for text field being inputted into 43 53
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 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