JQuery Tabs

JQuery, I installed and I have a page with the calendar, the resizable text box and Drag and Drop point and they are all working well.
I'm now trying to get JQuey tabs to work, but I have problems. I followed the instructions of Dan, but I don't see any tabs.

I created the new model region base Div
My first page rerion (no model)

I have replace the tags opening with a * to view the code on the forum

* div id = "tabs_start_reg" style = "" display: none; ">"
* ul >
* li > < a href = "S" > Security < /a > < /li >
* li > < a href = "DRAG_ID" > Drag < /a > < /li >
* /ul >



Then I have 2 areas that should appear on 2 different tabs.
Model is the basis of Div
The static region id is DRY and DRAG_ID

My final area (no model) contains
* div >


Then I have in my page header

< script type = "text/javascript" src = "& JAVASCRIPT_DIR.jquery/jquery-1.3.2.js" > < / script >

< link type = "text/css" href = "& CSS_DIR.jquery - ui - 1.7.2.custom.css" rel = "stylesheet" / >

< script type = "text/javascript" src = "& JAVASCRIPT_DIR.jquery/jqueryui/jquery-ui-1.7.2.custom.js" > < / script >


< link type = "text/css" rel = "stylesheet".
href = "" #WORKSPACE_IMAGES #Calendar.gif "/ >"

< script type = "text/javascript" >
<! [CDATA]
$(document) .ready (function () {}

$tabs = $("tabs_start_reg");
$tabs.tabs ();
$tabs.parents('td').eq (0) .removeAttr ('width');
$tabs.show ();


$. datepicker.setDefaults({)
dateFormat: dd/mm/yy"."
changeMonth: true,
changeYear: true,
showOtherMonths: true,
showButtonPanel: true,
closeText: 'Close,'
yearRange: "1900:2020."
Duration: "fast."
showOn: 'button ',.
ButtonImageGadget: "#WORKSPACE_IMAGES #calendar.gif."
buttonImageOnly: true

});

$('#P15_AA').datepicker ();
$('#P15_DOB').datepicker ();
$('#P15_START_PERIOD').datepicker ();
$('#P15_END_PERIOD').datepicker ();

() $("#P15_T1").resizable
{
autoHide: true,
maxHeight: 500,.
maxWidth: 510.
minHeight: 20,.
minWidth: 180
}
);

$("#DRAG_ID").css ("background-color", "white");
$("#DRAG_ID").draggable ();

$("#DRAG_ID").parent () .css ("border-style", "hidden");

$("#DRAG_ID").parent (.droppable({))
accept: "#DRAG_ID."
activeClass: 'active droppable.
hoverClass: "able to receive the mouse."
course: function (e, ui) {}
$(this) .css ("border-style", "dashed");
},
out: function (e, ui) {}
$(this) .css ("border-style", "dotted");
},
Drop: function (e, ui) {}
$(this) .css ("border-style", "none");
}
});

});
[]] >
< /script >

Can someone tell me where I'm wrong

Gus

Published by: Gus C on August 18, 2009 01:44

Published by: Gus C on August 18, 2009 01:45

Published by: Gus C on August 18, 2009 01:46

Published by: Gus C on August 18, 2009 01:47

Hello Gus,

You can take a look at your app now...
1. I incorporated jQuery stuff and downloaded a CSS.
2. I removed $(document) .ready (function () {, because it is the same as {$(function()}})
3. I changed $("tabs_start_reg"); $ ("#tabs_start_reg");
4. I changed a href = '20' to the a href = "#20".

That's all!

Greetings,
Roel

http://roelhartman.blogspot.com/

Tags: Database

Similar Questions

  • JQuery Tabs and Apex 4.2

    Hello

    I created a few JQuery tabs by following some instructions of Patrick Wolf

    Re: New themes in APEX 4 does not not with JQuery tabs

    I'm trying to preserve the clicked tab, that is to say, if I go to another page and come back to the page with the tabs,

    I want that it displays data in the tab I clicked on last

    I tried the following

    http://jaris.blogsite.org/Apex/f?p=blog:read:0:article:195800346705831

    but I did not know where to place the JavaScript at the end of the post

    Any help appreciated

    Gus

    Hello Gus,

    so I guess that you already have a jQueryTabs of the region and some hidden item where you can store the selected value of tab. Now we have 'just' get the value selected on the page unload, save it and then put back on the loading of the page.

    Name your region jQueryTabs for example "tabRegion" and your hidden item PX_LAST_SELECTED_TAB. place then this code in Footer region your area tab.

    
    

    So now you should be able to see the changes events tab in the console of your browser.

    Then, you need to preserve the value PX_LAST_SELECTED_TAB. To do this, create a dynamic action:

    -page unload event

    action - executing PL/SQL code

    APEX_UTIL.SET_SESSION_STATE('PX_LAST_SELECTED_TAB',:PX_LAST_SELECTED_TAB);--page items to submit PX_LAST_SELECTED_TAB
    

    then when the page unloads, you have stored in a session state value (do not forget to paste. PX_LAST_SELECTED_TAB on item (s) page to submit).

    And the last step is to read its value on the loading of the page. For example, create another DA:

    event - the page loads

    action - to run the JS code

    with the following code

    var tabToSelect = parseInt($v("PX_LAST_SELECTED_TAB"));
    console.log("Pageload: changing tab index to: " + tabToSelect);
    $("#tabRegion" ).tabs( "select", tabToSelect);
    

    Hope that helps.

    Kind regards

    Pavel

  • jQuery Tabs in APEX 5.0.1

    Hello world

    I used this tutorial:

    Tabs within the APEX (using jQuery) "Warp11.:.» Group knowledge Oracle Apex

    to book jQuery Tabs in my APEX applications. It works in APEX 4.0, but is not in 5.0.1.

    Does anyone know why?

    It is similar to the layout:

    1.JPG

    and this is what the page looks like after running:

    2.JPG

    I appreciate any help in advance.

    Hello Farzad,

    the same thing happened to me as well but fortunaely APEX 5 offers a built-in feature to the tabs, while it was easy to migrate. To create tabs in 5 APEX, create a region Type: region display selector, model: tabs container and that's all you need to do.

    Kind regards

    Pavel

  • JQuery tabs in the apex

    Hello

    I followed the https://forums.oracle.com/message/4425187#4423187 thread to create templates for jquery tabs and has been a success. However, I have a question, i.e. default tab1 is in open State. Can anyone tell how to change the status of the two locking tabs when loading?

    Apex News:

    Request Express 4.2.2.00.11

    Details of DB - database Oracle 11 g Enterprise Edition Release 11.2.0.1.0

    Architecture of Web - APEX listener Server

    Browser (s) and version (s) used - Chrome version 24 / Firefox version 3.6 and 22

    Thanks in advance!

    Do you want to say that you do not want any tab is selected when the page shows up first?  interesting.

    You do not want to remove these classes from the tab: ui-tabs-selected and ui-State-active.

    Maybe with the code like this.

    $("li.ui-state-active").removeClass ("ui-tabs-selected ui-State-active");

    And you will need to hide the content area by adding "ui-tabs-hide".

    This probably better by targeting only the region that needs to be hidden by building its id with this syntax #REGION_STATIC_ID#-tab-#SUB_REGION_ID# .

    $("jqtabs-tab-subTabID").addClass ("ui-tabs-hide");

    Or if you don't know that, then their target with one class, they all get as ui-tabs-Panel

    Thank you

    -Jorge

    http://rimblas.com/blog/

  • How to add submenus in dreamweaver CC using Jquery Tabs

    How can I add submenus to a menu in DreamWeaver CC bar. I know how to do it in CS6 using the Spry menu bar, but it is just not as simple that it was now in CC.

    Any help is appreciated!

    jQuery tabs is a replacement for the Spry tabs, not the Spry menu bar.

    Stella333 found a good replacement for the Spry http://forums.adobe.com/thread/1247870 menu bar

  • problem with JQuery TAB when I refresh the Page

    Hello

    I use a JQuery tab and I have following tabs under the present.

    tab1
    tab2
    tab 3

    When I click on tab1, tab2, tab3 individually it works fine.

    problem... Now, when I click on tab 3 and then I refresh the page, the control returns to the first tab tab1.

    what I want... If I'm on tab2, and I update the page... control must remain on the same tab (i.e. on tab2)... control should not go back to tab1 *(the first tab) *.

    Thank you
    Deepak

    Hello

    This might help
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:195800346705831

    Kind regards
    Jari

  • Do not mix variables of substitution for the title area and JQuery Tabs

    Hello

    I've implemented Jquery tabs to the Apex 4 using this great piece of Patrick Wolf:

    Re: New themes in APEX 4 does not not with JQuery tabs

    However, there is a problem and I don't know if it's a bug or it is me who is missing something... If I put substitution variables, as in the title of the subregion (e.g. customer and P10_CUSTOMER_NAME.), the substitution variable do not get overridden and the text is displayed as in the tab.

    The variable is properly developed in the region title itself (which appears inside the tab). Simple example:
    +----------------------------+
    | Customer &P_CUSTOMER_NAME. |  <--- TAB
    |                            +------------
    |
    | +----------------------------------
    | | Customer Luis                     <-- SUB-REGION TITLE
    | +----------------------------------
    | |
    | |
    The header entry is defined as:
    <li><a href="##REGION_STATIC_ID#-tab-#SUB_REGION_ID#">#SUB_REGION_TITLE#</a></li>
    Shouldn't the chain of substitution #SUB_REGION_TITLE # be converted to the title of region with the extended substitution variables?

    No work around?

    Thank you
    Luis

    Luis

    However, there is a problem and I don't know if it's a bug or it is me who is missing something... If I put substitution variables, as in the title of the subregion (e.g., client & P10_CUSTOMER_NAME) the substitution variable does not get overridden and the text is displayed as in the tab.

    Confirmed. Looks like a bug. Probably substitute on the title (sub-) region is not performed until the region is rendered, but the subregion headers list is generated before that.

    No work around?

    All I can think so far uses a dynamic/JavaScript Action to change the label of the tab when the page is rendered.

  • Positioning on a jquery tab area

    All,

    I use jquery tabs and accordion jquey on this apex page.
    Here is the screenshot of the pagehttp://www.scrnshots.com/users/test/screenshots/268397

    The problem I have is that the regions under the "Custom" tab are not surrounded completely with tab (tab in the screenshot).

    In order to position the region (PDS beginning tabs), I use CSS float property. As soon as I apply the style float: left PDS tabs start region, it is not enclosed with in the tab more.

    Any help is appreciated.

    Hello ally,.
    Its a little hard to tell what is wrong with the style without displaying the content of the page.

    Here's something that comes to mind when you mentioned the issues float
    Add a dummy element that clears the float settings after each of the floating elements.

    For example. If the PDS region has applied float
    Add the following code immediately after this div (?).

    < br style = "" clear: both "/ >"

    If this does not work, you will have to give some kind of access so that others can see atleast page to see the css.

  • Jquery tabs application problem

    All,
    I'm trying to implement jQuery tabs in my application and my page is just blank. Here are the details:

    Apex version: 4.0.0
    Database: 10g
    Browser: IE 7.0
    Topic: Topic 8

    I followed the steps in one of the blog of Dan Mcghan and here's what I did...

    1. I downloaded the jquery.com .js file and he fell on the application server under is a sub-folder of jquery. The latest version I have is jquery - 1.4.4.js, that is the right version or there is a jquery UI that is different from what I have?

    2. I went to the page template 'without tab' that has 1 reference (if it does not show the page referenced in its properties), but I have only 1 page in my application I am so I guess that's the only one, I wrote this 1 line (in bold)

    < html lang = "" & BROWSER_LANGUAGE. ">"
    < head >
    "* < script type =" text/javascript"src="/i/jquery/jquery-1.4.4.js "> < / script > *.
    < title > #TITLE # < /title >
    #HEAD #.
    "< link rel ="stylesheet"href="#IMAGE_PREFIX#themes/theme_8/theme_4_0.css "type =" text/css"/ >
    < / head >
    < body > #ONLOAD # #FORM_OPEN #.

    I think that this script tag now includes the jquery library in my applications. I did it on the page under the shared components model.

    3. I create a model of region name base Div in shared components of custom Type 1 and I put this code on it.
    < div id = "' #REGION_STATIC_ID # ' #REGION_ATTRIBUTES # class ="basic_div">"
    #BODY #.
    < / div >

    4. I have assigned a static id in each region, changed the name of the Div-based model and place my 2 new tabs region HTML regions. In the region to start HTML tab I wrote
    < div id = "tabs_start_reg" style = "" display: none; ">"
    < ul >
    Reconciliationof < li > < li >
    < Li >trend< li >
    < /ul >

    In the end, the HTML tab region, I said that line.
    < / div >

    All these tabs are sequenced in order and HTML tabs and is not any model.

    5. in the properties page in the header HTML part, I did this to activate the tabs...
    < script type = "text/javascript" >
    <! [CDATA]

    $(function() {})
    $tabs = $("#tabs_start_reg");
    $tabs.tabs ();
    $tabs.parents('td').eq (0) .removeAttr ('width');
    $tabs.show ();
    });

    []] >
    < /script >

    6. when I run the app, it shows me the page as empty... nothing on it.

    What may be...? I paint in white... Any help is appreciated.

    Vishal-

    See this thread {message identifier: = 4352963}

    Note the Alistair Lang post towards the end of using the 4.0 libraries provided compared to Google.

    Patrick Wolf also promotes a method well designed at the end of the thread.

    Jeff

  • Problem with JQuery tab after you migrate towards the APEX 4.0

    My test application hosted on apex.oracle.com use the JQuery tab function and it works well with APEX 3.2.1.
    And now after the migration to the APEX 4.0, it cannot display the tab more.

    No idea how to solve this problem?

    Thank you very much.

    Glad to hear your problems resolved. Don't forget to vote for any message that has been useful or responded to your message.

  • create jquery TABS simple in apex

    All,
    I'm creating TABS jquery based in apex, but I realized its not working not as I thought... I really need help on this please?

    that I created in my area, I added code below
    <div id="tabs">
    <ul>
    <li><a href="#">Nunc tincidunt</a></li>
    <li><a href="#">Proin dolor</a></li>
    <li><a href="#">Aenean lacinia</a></li>
    </ul>
    </div>
    
    then at page header i made references,
    
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <link rel="stylesheet" href="#WORKSPACES_IMAGES#style.css" />
    that I added the region of the child to the foregoing.

    but not everything works... .your help is sincerely appreciated

    First of all, why you are referencing a new version of jquery which is bundled with APEX? Here is a simple solution for your problem: http://www.warp11.nl/2011/04/tabs-within-apex-using-jquery/

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Help with jQuery and product tabs content conflicts

    Hello:

    I implemented tabbed content to my product page, a Kiyuco tutorial.  Works great and really streamlines the product page, but I have problems with the display tabs in IE8 and IE9.  I find that very odd, because IE7 (the usual playah) shows the tabs like Firefox and Safari.  I'm sure there is a javascript conflict, I've solved a few others that have taken place on other pages in the site - but I don't know what the cause of the problem here.  I was wondering if there was a more well informed that I am that can point me in the right direction.  A link to a product page is here: http://childtocherish01.businesscatalyst.com/collections/piggy-banks/piggy-bank-large-lady bug

    Thanks in advance for everyone!

    Hello TiffanyP2010,

    It seems that your site has been set up to use head js (http://headjs.com/), now with jQuery UI that just added to the model that he does not know that jQuery is ready. So when you call the function tabs it will not work. It may work sometimes because jQuery was ready, but it is unclear when it will be other times, it may not work.

    Look over the head js documentation and you will see that you need to wrap your jQuery in a head.ready, as if:

    Head.Ready ("jQuery.file.js", function() {}

    {jQuery (document) .ready (function ()}

    jQuery("#tabs").tabs ();
    });

    });

    I know that's not a simple answer, but that seems to be your problem.

    Hope this helps,

    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Tab open as url composition

    Hello

    Is there to open a selected tab of a composition according to the url?  I thought about something like that, I used with the other Panel tabs: url.html #tab_id, but couldn't find a way to make it work

    Thank you

    Gilles

    No, there isn't a way you can open a specific tab based on the URL by using the options in Adobe Muse.

    You will nee to use a custome code as described in jquery - tab open with anchor link - Stack Overflow

  • Need help using the tabs of the apex to the universal theme.

    I tried using the enkitec boards to create tabs in page apex.

    But I'm unsucessfull and I used the apex as the version 5.

    The theme that I use is universal theme.

    https://www.enkitec.com/Apex/f?p=15300:30310:0:

    Also I'm tired the method too to create tabs below

    Creation of a region of the tab within a page in the APEX

    It's like

    In the HTML header, I'll add the code below

    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script> <script type="text/javascript"> $(function() {    $("#tabs").tabs();    $x("tabs").appendChild( $x("tabs-1"));    $x("tabs").appendChild( $x("tabs-2")); }); </script>

    Then I'll create 3 region.

    Region 1 > > > create a HTML region (REGION MODEL = MODEL number) and add the code below in the SOURCE of the REGION

    <div id="tabs"> <ul>    <li><a href="#tabs-1">Employee</a></li>    <li><a href="#tabs-2">Chart</a></li> </ul> </div>

    Region 2 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the region to REGION 2

    <div id="tabs-1">

    Add the code below in the bottom of the region to REGION 2

    </div>

    Region 3 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the REGION 3 region

    <div id="tabs-2">

    Add the code below in the bottom of the REGION 3 region

    </div>

    Example: http://Apex.Oracle.com/pls/Apex/f?p=12060:7

    I used exactly the same code... except that my region 2 contains a REPORT instead of two text field and region 3 GRAPHICS instead of text field.

    Kind regards

    Shijesh

    -------

    Please reward the answer if it was useful / correct


    I used the enkitecs method to create tabs.

    Tabs have been created, but the fields were visible inside.

    Will soon be replicating the scenario of apex.oracle.com

    Maybe someone can help.

    At the same time if there is no easy way to create tabs in apex page please let me know.

    Thank you

    Paul

    Hi pauljohny100,

    pauljohny100 wrote:

    I'd like to learn more about the region view selector

    You have a good resource on it.

    Selector display region is type of region, which shows the navigation links in the form of hyperlinks button for regions where the attributes of the region-> region selector display are set to Yes. Œuvres similar to jQuery tabs.

    Reference: ApEx 4.0 region selector | iAdvise blog (it's blog when it was introduced first in APEX 4.0)

    I have not found any Oracle Documentation on this, but it's taken APEX oracle supported the region type.

    You will find that this implemented in various packaged for example P-Track applications.

    Kind regards

    Kiran

  • How can I create tabs of the panels using Dreamweaver CM³, similar to the Spry version available in CS6?

    I used Spry tabbed panels in a site. Need to recreate this page on another site using Dreamweaver CC. CC has no Spry component. Can someone suggest a 3rd party method produces or alternative to make similar panels on a page without having to hand code html-css-java?

    Here's a JQuery solution

    http://www.jqueryscript.NET/layout/responsive-jQuery-tabbed-panels-plugin-Tabber.html

    or you can copy your Spry of the other site files and change the contents

Maybe you are looking for

  • Is there a way I can connect to iTunes as another user?

    Is there a way I can connect to iTunes as another user?

  • HD constantly available

    HP Pavilion p7-1020 Windows 7 64 bit The HD constantly being accessible, even if I did not open program. The HD blinks several times per second, and I can hear the disc moving head. I have scanned for viruses, malware, etc. Stop unnecessary processes

  • Can I connect to mobile broadband, I have a 3 G SIM

    Hello I am in Europe. My X 220 has a SIM slot and is 'mobile broadband ready. It is, he has a built-in 3G modem? Or is "mobile broadband ready" refers to something less than that? I put in the internet broadband SIM in the phone (wasn't sure about th

  • Plug a second monitor using a VGA to a USB adapter, Windows 7

    I am trying to connect an old monitor to my desktop computer all-in-one HP, but is of the old VGA monitor that is the block with 2 screws on each side.  So I bought a VGA cable of the USB adapter, because neither my office or my old monitor have AVI

  • Auto unwanted calls hit on my E Expressway

    Dear all, The unwanted automatic call hitting my E. Expressway from [email protected]/ * /. How can I avoid or block it so that this appeal will stop hiting on my EXP_E. Also suggest me if I want to block temporary external public VC call and how do