?
Solved

create a frame within a jquery ui tab control

Posted on 2010-08-22
1
Medium Priority
?
957 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
[X]
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
1 Comment
 
LVL 6

Accepted Solution

by:
hexer4u earned 2000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
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:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

770 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