Solved

create a frame within a jquery ui tab control

Posted on 2010-08-22
1
913 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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

743 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

17 Experts available now in Live!

Get 1:1 Help Now