How to link to an another spry tab in the include file.

Hi all

I am new to using spry tabed panels, acordians, etc.  I was wonding if something is possible.  You can link to a different panel of spry tabed another where both are include files?

Here is an example of what I am asking:

<! - what is main.inc.php which is an include file in index.php - >

< div id = "TabbedPanels1" class = "TabbedPanels" >
< ul class = "TabbedPanelsTabGroup" >
< class li = "TabbedPanelsTab" tabindex = "0" > tab 1 < /li >
< class li = "TabbedPanelsTab" tabindex = "0" > tab 2 < /li >
< class li = "TabbedPanelsTab" tabindex = "0" > tab 3 < /li >
< class li = "TabbedPanelsTab" tabindex = "0" > tab 4 < /li >
< class li = "TabbedPanelsTab" tabindex = "0" > tab 5 < /li >
< /ul >
< div class = "TabbedPanelsContentGroup" >
< div class = "TabbedPanelsContent" > <? PHP include(content_page_1.inc.php');? > < / div >
< div class = "TabbedPanelsContent" > Content 2 < / div >
< div class = "TabbedPanelsContent" > <? PHP include ('content_page_2.inc.php');? > < / div >
< div class = "TabbedPanelsContent" > 4 content < / div >
< div class = "TabbedPanelsContent" > <? PHP include(content_page_3.inc.php');? > < / div >
< / div >
< / div >

So if main.inc.php is included in the index.php with content_page_1 and content_page_2 set up identically to main.inc.php...  You can have text in tab 4 of the content_page_1 will take you to tab 2 in content_page_2?

If it is possible, does anyone know of a tutorial where I can learn how to do this?

Thank you

Your description is a little hard to follow, but it seems that you have with tab panels nested inside each other.

The fact that you use include files makes no difference whatsoever. Include files are assembled on the server to create a web page. Therefore, the important thing is that your panels with tabs should have a unique ID. So, if you are nesting inside the TabbedPanels1 tabbed panels, the other panels should be TabbedPanels2, TabbedPanels3, etc.. Each set of tabs panels will also be initialized by the constructor Spry at the bottom of the parent page.

The best way to implement is to create a simple page that does what you want, then skinning in the include files.

Use the showPanel() method to open a different tab. For example, to create a link to open the third tab in TabbedPanels1, you create a link like this:

Open panel 3

The panels are numbered from 0, so 2 represents the third tab.

I have not tested, but in theory, the following should open a specific tab in a nested set of tabbed panels:

Open panel 4 inside the second tab

Tags: Dreamweaver

Similar Questions

  • How can I create an another user to access the HR schema data

    I am new to Oracle and just downloaded the: 10 x e. I have connected as human resources and was able to modify data in tables.
    I created another user, then say ABC, when connected as SYS. But then I could not access the tables and the data even in human resources.

    I learned that every user has its own schema, but how do I create an another user to access the same tables, and the data I see in the Oracle DB?

    Log in as a user of the system (or sys as sysdba) and:
    create user identified by ;
    Grant connect, create session ;

    To see objects to a different schema from the database user must then obtain the privilege:

    Grant select on hr. à ;

  • I would like to import the contents of an audio book on cd for my audiobook file into iTunes.  How can I transfer content song (in iTunes) to the audiobook file lists?

    I would like to import the contents of an audio book on cd for my audiobook file into iTunes.  How can I transfer content song (in iTunes) to the audiobook file lists?

    Go read the information, click on the 'Options' tab, then change the drop-down list of "sort of media" to "Music" to "Audiobook". That worked for me, I hope that it helps you also.

  • On my iPad, can I move files from one folder to another, but not in the Preview file, why?

    When you manage files in iCloud, from an iPad, I can move to the files from one folder to another, but not in the Preview file. Secondly, when I check the file Preview to iCloud from Mac content is so different when you look at an iPad. Why is the gap between the iPad and the Mac?

    Try to go to iCloud.com to see if the elements are there and whether the device or the computer. That should indicate if the device or computer is not synchronizing. If the computer, try going to System Preferences/iCloud and stop synchronization. Wait a few minutes, then recheck the timing. If the device, go to settings/iCloud and do the foregoing.

  • I made pdf file and added the audio file as a file embedded using acrobat pro 8, it works fine on pc (windows) when I move tab (android) the pdf file open but sound did not work. what I have to do to make it work

    I made pdf file and added the audio file as a file embedded using acrobat pro 8, it works fine on pc (windows) when I move to tab (android) the pdf file open but sound did not work. what I have to do to make it work

    Adobe Acrobat for Android or iOS software currently play any sound or video.

    -Dov

  • How can I change my fill of tru for the pdf file and the sign? It will never change.

    How can I change my fill of tru for the pdf file and the sign? It will never change.

    In Adobe fill & sign you can add text, checkmarks, an X, a point and a circle and sign documents.  It does not "change" the existing content of the document.  Here is a tutorial: Tutorial: Introduction to Adobe fill & sign

    Thank you

    Josh

  • How to link to a specific spry in Adobe Dreamweaver CM³ tabs Panel?

    Hi all

    I have a homepage using panels to Spry tab with 6 panels. I want you assign a URL that is unique to each panel so that I can link directly to each tab to other pages in the Web site.

    I found this question asked and answered for previous versions of Dreamweaver. Dreamweaver CC now (starting August 2012) use widgets to jQuery UI for panels with tabs, so I think it's why I'm not having much success with solutions that are already out there.

    Please note that I am relatively new to the web languages and Web site design.

    I also created a version that shows how a link to a specific panel or a tab in a tab or jQuery UI accordion: http://foundationphp.com/tutorials/jqui_specific.php.

  • When I click on the 'New tab' button, or try to open a new tab in the Menu "File Pull Down", a new tab will not open. How can I fix it?

    I can't open new tabs. The new tab button, new tab in the file menu option and the new tab option when I right click on the tab all do not work. It started when I updated Firefox yesterday. It becomes annoying when you try to work with several tabs open. How can I fix?

    Try to uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and the current version of Firefox.

  • How to drag and drop nodes to tab between the components of the tab

    I'm working on this tutorial example ( feature drag - move in the JavaFX Applications |) JavaFX tutorials and Documentation 2 ). Based on the tutorial I want to drag tabs between two tabs. So far, I have managed to create this code, but I need help to complete the code.

    Source

    tabPane = new TabPane();
    Tab tabA = new Tab();
       Label tabALabel = new Label("Main Component");
    
    
    tabPane.setOnDragDetected(new EventHandler<MouseEvent>()
            {
                @Override
                public void handle(MouseEvent event)
                {
                    /* drag was detected, start drag-and-drop gesture*/
                    System.out.println("onDragDetected");
    
                    /* allow any transfer mode */
                    Dragboard db = tabPane.startDragAndDrop(TransferMode.ANY);
    
                    /* put a string on dragboard */
                    ClipboardContent content = new ClipboardContent();
                    content.put(DataFormat.PLAIN_TEXT, tabPane);
                    db.setContent(content);
    
                    event.consume();
                }
            });
    

    What is the correct way to insert the contents of the tab as an object? In the tutorial simple text is transferred. How do I change this line content.put(DataFormat.PLAIN_TEXT, tabPane); ?

    And what is the right way to insert the tab after that I drag the tab:

    Destination


    tabPane.setOnDragDropped(new EventHandler<DragEvent>()
            {
                @Override
                public void handle(DragEvent event)
                {
                    /* data dropped */
                    /* if there is a string data on dragboard, read it and use it */
                    Dragboard db = event.getDragboard();
                    boolean success = false;
                    if (db.hasString())
                    {
                        //tabPane.setText(db.getString());
                        Tab tabC = new Tab();
                        tabPane.getTabs().add(tabC);
                        success = true;
                    }
                    /* let the source know whether the string was successfully
                     * transferred and used */
                    event.setDropCompleted(success);
    
                    event.consume();
                }
            });
    



    I guess that this transfer is possible?

    REF javafx 2 - How to drag and drop nodes between the components of the tab - stack overflow tab

    I use a graphic (instead of text) for tabs and call setOnDragDetected on this chart. That way you know which tab is moved. There is no nice way to put the tab itself in the dragboard because it is not serializable (see https://javafx-jira.kenai.com/browse/RT-29082), so you'll want to probably just store currently slipped into a property tab.

    Here's a quick example; It only add the tab at the end of the existing tabs in the pane has fallen. If you want to insert it in the location that is closest to the actual drop you probably browse the tabs and find details of chart of each tab, or something.

    import java.util.Random;
    
    import javafx.application.Application;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class DraggingTabPane extends Application {
    
      private static final String TAB_DRAG_KEY = "tab" ;
      private ObjectProperty draggingTab ;
    
    @Override
      public void start(Stage primaryStage) {
      draggingTab = new SimpleObjectProperty<>();
      TabPane tabPane1 = createTabPane();
      TabPane tabPane2 = createTabPane();
      VBox root = new VBox(10);
      root.getChildren().addAll(tabPane1, tabPane2);
    
      final Random rng = new Random();
      for (int i=1; i<=8; i++) {
        final Tab tab = createTab("Tab "+i);
        final StackPane pane = new StackPane();
          int red = rng.nextInt(256);
          int green = rng.nextInt(256);
          int blue = rng.nextInt(256);
        String style = String.format("-fx-background-color: rgb(%d, %d, %d);", red, green, blue);
        pane.setStyle(style);
        final Label label = new Label("This is tab "+i);
        label.setStyle(String.format("-fx-text-fill: rgb(%d, %d, %d);", 256-red, 256-green, 256-blue));
        pane.getChildren().add(label);
        pane.setMinWidth(600);
        pane.setMinHeight(250);
        tab.setContent(pane);
        if (i<=4) {
          tabPane1.getTabs().add(tab);
        } else {
          tabPane2.getTabs().add(tab);
        }
      }
    
      primaryStage.setScene(new Scene(root, 600, 600));
      primaryStage.show();
      }
    
      public static void main(String[] args) {
      launch(args);
      }
    
      private TabPane createTabPane() {
        final TabPane tabPane = new TabPane();
        tabPane.setOnDragOver(new EventHandler() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              event.acceptTransferModes(TransferMode.MOVE);
              event.consume();
            }
          }
        });
        tabPane.setOnDragDropped(new EventHandler() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              final Tab tab = draggingTab.get();
              tab.getTabPane().getTabs().remove(tab);
              tabPane.getTabs().add(tab);
              event.setDropCompleted(true);
              draggingTab.set(null);
              event.consume();
            }
          }
        });
        return tabPane ;
      }
    
      private Tab createTab(String text) {
        final Tab tab = new Tab();
        final Label label = new Label(text);
        tab.setGraphic(label);
        label.setOnDragDetected(new EventHandler() {
          @Override
          public void handle(MouseEvent event) {
            Dragboard dragboard = label.startDragAndDrop(TransferMode.MOVE);
            ClipboardContent clipboardContent = new ClipboardContent();
            clipboardContent.putString(TAB_DRAG_KEY);
            dragboard.setContent(clipboardContent);
            draggingTab.set(tab);
            event.consume();
          }
        });
        return tab ;
      }
    }
    
  • How to add the 'search' tab in the .chm file

    Search_option.jpg

    Hi all

    All of these days, I was using HR - 5 to create the .chm file. Today, I went to HR - 9. The chm file had the option to search automatically activated in HR - 5. But in RH - 9, glossary option only is available and I am not able to add the adjacent "Search" tab at the tab Index. Please refer to the screenshot for more details.

    Please help me solve this problem that the customer expect tab "Search" for sure.

    Kind regards

    Lata

    Hi Lata

    What show you in your image is a mismatch. The tab says glossary, but the content of the show search tab.

    I think that in this case I suggest you try to define a new window with the attributes you need. Then configure the default window for the page layout that you are using.

    You define the window by:

    1. ensure that Microsoft HTML Help is the default layout.

    2. click on display > pods > project implemented and you should see the windows there.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • How can I get more firefox with tabs at the top

    I wish the old browser with tabs on top, the new browser is confused and not user friendly for me.

    You can see the 'tab on bottom' or extension of "Restorer of classic theme.

    You can find the "Tabs on top" setting in the list of Options/preferences of the extension of the CTR (1) tab.

    You can show the menu bar via the context menu of a toolbar or 'Customize-> show/hide toolbars' to have the bar of menus with the menu file and Edition Tools bookmarks and history.

  • How to remove options open all in tabs from the bookmarks menu

    Hello

    I have Firefox 17.0.1.

    Is it possible to remove or disable the all open at the point of tabs in the bookmarks menu submenus? I chose during it by mistake, and a lot of unwanted tabs appear as enraged politicians.

    Thank you.

    Jack

    You can set the pref to 1 browser.tabs.maxOpenBeforeWarn on the topic: config page in order to get a warning in such cases (works with one click setting on a folder).

    You can add this code in the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #PlacesToolbarItems .openintabs-menuitem,
    #placesContext>menuitem[id="placesContext_openContainer:tabs"],
    #placesContext>menuitem[id="placesContext_openContainer:tabs"]:not([hidden])+menuitem+#placesContext_openSeparator {visibility:collapse!important}
    
  • How to add multiple images to a JLabel since the jar file

    I want to add more than one image in a JLabel, but the icon property only allows me to add a. I thought I could use the rendered html to add the images I need using the < img > tab, but I need to use a URL that points to the image.

    How do I point to an image in the jar file? If I can't do it, is there another way to display multiple images in a JLabel since the jar file?

    Discover camickr [http://tips4java.wordpress.com/2009/03/29/compound-icon/ url] composed icon.

    DB

  • How to assign a calculation to a variable in the RTF file?

    Hello


    I play a series of if - end if statements to calculate the "Days_Late."

    <? If: DAYS_LATE < 0? > <? xdoxslt:round ((somme (if: DAYS_LATE) div count (PAYMENT)), 0)? > <? end if? >

    <? If: DAYS_LATE = 0? > * <? end if? >

    <? If: DAYS_LATE > = 0? > <? xdoxslt:round ((somme (if: DAYS_LATE) div count (PAYMENT)), 0)? > <? end if? >

    I would like to assign the code above to a variable and use this variable in the following logic <? xdoxslt:IfElse (VARIABLE > 0, round (VARIABLE),-1 * round (xdoxslt:abs (VARIABLE)))? >

    to exercise a function of round_up ("symmetric" rounded). Oracle doesn't have a function for this yet...


    How can I make this work directly in the .rtf file?


    Thank you

    ATP

    Hi all

    I didn't change the data (sql).
    Also, I tried to make it work using the xdoxslt:set_variable () and xdoxslt:get_variable () functions. However, this was not necessary and makes more complex than required.

    It is now resolved using a formula of symmetric rounding (rounded to 0):

    I replaced the VARIABLE with my calculation: (sum (DAYS_LATE) count (PAYMENT) div)

    Thanks a lot for the replies and offers to help her

  • How Config Network Service by script? for example the response file

    I created a batch for DB creation using DBCA silent.

    I want to add a script to create also the Networking Service after.

    I was told that it can be done with the answer file.

    Is a response file script also which can be run after the DBCA scripts?

    Where can I find a manual with the available commands so I can produce what I need?

    On the internet, I don't find as silent examples of the DB instalation.

    EDIT

    Operating system is Windows 7 Oracle 11.2.0.1

    I want to create the Network Service that will add these lines to the tsnames.ora.

    DBNAME =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = wsName) (PORT = 1521))

    (CONNECT_DATA =

    (SERVICE_NAME = dbname)

    )

    )

    on the client and the server.
    How can I automatically via a batch script, to add it to the DBCA scripts after creation?

    I was told once to atopic that this could be done via a response file.

    I provided the Correct found answer on this subject since then.

    The 1st solution to set up a NetService via a custom command script, adding the data you need as if it was a BAD IDEA.

    1. you can not guranaty the correct paths if you plan the planting in an API with a lot of end users.

    2. the 1st time, you set up a network service, it must be set to cause netca (network Assistant) 1st the tnsnames.ora is not exiswt at all.

    THE OFFICIAL is to run from a shell in silent mode netca and feed it with values from a response file, either online as parameters

    I copy paste the solution I wrote on a separate thread

    https://forums.Oracle.com/thread/2559659

    The scenario is to set up a typical network Service without using the interface graphics, but instantly with a command from the shell.

    Scenario took place on Oracle 11.2 g on Windows 7

    Level of Description: Noob

    1. you can open of Network Setup Wizard, of the hull directly by entering its name "netca.

    Info: netca is an actaully of batch file calling several "elements". Located in the \bin folder of the directory of Instalation Oracle (Client and server time)

    the patrh of the \bin folder, where is the netca is included in the widnows PATH environment variable. So when you enter netca there and run it.
               https://en.Wikipedia.org/wiki/path _ (variable)

    ATTENTION: If you have the path of the directory before the path of the Client Server, the server netca will run instead

    2. on a typical NetService we re Protocol, host, Port, DatabaseName and the name of the service itself to identify it.

    -Silent option along a response file gives the possibility of is not interact at all with the GUI as all values will be filled with the answer file that will point us

    3. you can find an example of response file to the ORACLE_HOME\inventory\response\ called netca.rsp. It contains all the possible parameters, you can pass, so that you can choose that you need.

    For our scenario, the final answer file will look like this.

    [oracle.net.ca]

    INSTALL_TYPE = ""custom"

    NAMING_METHODS = {"TNSNAMES"}

    NSN_NUMBER = 1

    NSN_NAMES = {'DBNAME'}

    NSN_SERVICE = {'testII"}

    NSN_PROTOCOLS = {'TCP; PCNAME; 1521 "}

    So now you simply enter netca responsefile option along the pat of the answer file with the silent command to power entry

    NETCA/Silent /responsefile /C:\oracle\product\11.2.0\dbhome_1\inventory\response\mynetca.rsp

    So simple

Maybe you are looking for