Solved

create a frame within a jquery ui tab control

Posted on 2010-08-22
1
922 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now