0

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> 
2
Contributors
1
Reply
10
Views
2 Years
Discussion Span
Last Post by diafol
0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.