Hi
I'm using a template from the web for a tabbed GUI.Click Here
I'd like to use php includes to existing files I've created. But if I do, all the tabs disappear. Can I do this, or something similar, without the tabs disappearing?
The following is an example of how it would look:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="keywords" content="jquery,ui,easy,easyui,web"> <meta name="description" content="easyui help you build your web page easily!"> <title>RSPCY</title> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script> <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script> </head> <body> <div class="easyui-tabs" style="width:920px;height:700px;"><img src="images/logo.png" width="118" height="118" title="logo" alt="log
        " /> <div title="Add Pets" style="padding:10px;"> <fieldset> <legend>Add pet details:</legend> <?php include 'pet.php';?> </fieldset> </div> <div title="Add owners" closable="true" style="padding:10px;"> <fieldset> <legend>Add pet details:</legend> </fieldset> </div> 
Member Avatar for diafol

We have no idea what your include files contain, so while in theory you could do this, we cannot say whether it would work for you.

PS. Next time you post any markup or code, please indent it properly - this mmakes life very much easier for contributors to help you.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="keywords" content="jquery,ui,easy,easyui,web">
        <meta name="description" content="easyui help you build your web page easily!"> 
        <title>RSPCY</title> 
        <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css"> 
        <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css"> 
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script> 
        <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script> 
    </head> 
    <body> 
        <div class="easyui-tabs" style="width:920px;height:700px;">
            <img src="images/logo.png" width="118" height="118" title="logo" alt="log" /> 
            <div title="Add Pets" style="padding:10px;"> 
                <fieldset> 
                    <legend>Add pet details:</legend>
                    <?php include 'pet.php';?> 
                </fieldset> 
            </div> 
            <div title="Add owners" closable="true" style="padding:10px;"> 
                <fieldset> 
                    <legend>Add pet details:</legend> 
                </fieldset> 
            </div> 

That way we can see where everything goes and whether you've messed up your markup.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.