You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Load pages in tab div Created Nov 10, 2009

This thread is solved

Views: 1547     Replies: 1     Last reply Sep 19, 2010  
You must login first before you can use this feature

youcme

Posts: 3

Registered:
Nov 10, 2009

Load pages in tab div

Posted: Nov 10, 2009

I searched for hours now but can't find anything special about it. Is it possible to load other pages then the assigned tabs in a tab content div?

For example my original tab page generates a list of person. The name of each person is a clickable link and when you click this person it is supposed to load a different page in the tab.

Anyone knows if this is possible with the tabs?

Thanks in advance.

youcme

Posts: 3

Registered:
Nov 10, 2009

» Load pages in tab div

Posted: Nov 11, 2009

Reply to: Load pages in tab div, from youcme
Allready got it working with this little script:

<script type="text/javascript">
function loadContent(elementSelector, sourceURL) {
$(""+elementSelector+"").load(""+sourceURL+"");
}

Your links should look like this:
a href="javascript:loadContent('#csspanel', 'file.php');">

Also give the div a name (csspanel in this case):
<div class="css-panes"><div style="display:block" id='csspanel'></div></div>