Spry tabs shouldn't open before page reload/refresh

I have a big problem.I said "big problem".Because it has stolen my days/weeks.I have tab panel(5-6 tabs). When i clicked any tab, naturally content doesn't reload page.At the point i added url's end ?tab=0, for example : myprofile.php?tab=1.Now i clicked a tab and reload page.But when i clicked a tab, firstly tab display later page reload.This situation is unpleasant.I want to open when i clicked tab, after reload page, show tabs contents.I have looked for it for days.But i couldn't find.
Please help me.
Thanks.
Battal Gazi

I am glad to help.Theese my codes :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
//-->
</script>
</head>
<body>
<div id="TabbedPanels1" class="TabbedPanels">
  <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0" onfocus="MM_goToURL('parent','dodo.php?tab=0');return document.MM_returnValue">Tab 1</li>
    <li class="TabbedPanelsTab" tabindex="0"><a href="#" onclick="MM_goToURL('parent','dodo.php?tab=1');return document.MM_returnValue">Tab 2</a></li>
  </ul>
  <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">deneme</div>
    <div class="TabbedPanelsContent">
      <p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbkkkkkkkkkkkkkkkkkkkkkkkkkkddddddddddddddddddddddddddd ddddddddddddddd</p>
      <p>sddssdjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk</p>
    </div>
  </div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { defaultTab: -1 });
//-->
</script>
</body>
</html>

Similar Messages

  • New tab will not open web page

    *error message when opening firefox= "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."
    *new tabs do not open web pages
    *plugin container.exe and updater.exe do not open or run

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Spry Tabbed Panel Defaults to home page with recordset paging

    I have Spry ver. 1.6.1.  A Spry Tabbed Panel titled "Check Ride Activity Report" (Tab 6)  accesses a mysql database and shows the records in a table format.  Instead of having all the records display at once I want to limit the records displayed to a few at a time. e.g. 5 per page.   I added a recordset navigation bar and set the $maxRows_GetChkRideRecs = 5;  It works but each time the navigation bar "Next" or "Last" or "First" or "Previous" is clicked the page reloads with the default Home page Tab displayed.  The user then has to click on Tab 6  to view the new results.  The url where this can be viewed is at http://Training.reliantair.com.  Is there a way to code this tab so that Tab 6 remains the default tab once it is selected until the user selects another tab?
    I want to avoid putting another  button on the page to accomplish this as shown in the spry utils samples where the user clicks to set the default tab.
    Can this be done within the recordset paging code similar to how it is done on a form submit to keep the focus on the current tab?

    I didn't try the cookie method suggested.  The tab method listed in spry utils does work but requires an additional button, so I came up with this solution.
    In the Head of the HTML document I put this code.  It searches for the query string in the HREF when any of the record paging buttons is pressed.
    <script type="text/javascript" src="SpryURLUtils.js"></script>
    <script type="text/javascript">
    var params = Spry.Utils.getLocationParamsAsObject();
    if (location.href.indexOf("GetChkRideRecs") != -1  && location.href.indexOf("tab") == -1)
      location.href +="&tab=5#TabbedPanels1"; 
    </script>
    Then in the body of the HTML document at the bottom of the page  the tabbed panel widget is changed like this:
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1",{defaultTab: (params.tab ? params.tab:0)});
    The first time a recordset paging link is  clicked the HREF attribute of &tab=5#TabbedPanels1 is added to the location HREF.  Subsequent clicks of any of the links do not change the HREF because the code looks for "tab" and does nothing if it is found.

  • Spry tabbed panels not opening in IE on Vista

    Link:
    About
    page
    Link:
    Story
    page
    Spry tabbed panels on these pages display fine in Firefox and
    Safari.
    But in IE on two separate Vista-running PCs, everything
    except the tabs themselves loads, until you click refresh one or
    more times. Both PCs were on broadband connections and I checked
    each PC several times just to make sure it wasn't just an
    intermittent connection.
    Way to fix this for IE? As far as my client is concerned,
    it's a bug.

    Dear all, thanks for your replies.
    I have tried Barascu Diana's fix to both pages linked at the
    top, but am presently unable to test it on IE6. Anyone able to see
    if those tabs are now appearing?
    <DIV class="TabbedPanel" id="TabbedPanels1" style
    ="position:relative">
    (Hope I did this right?)
    I also temporarily tried kinblas' fix, but removing relative
    positioning there caused the tabs to hover over to the left of the
    page.

  • Spry Tabbed Panels and Master/ Detail Page Set interraction

    Hi,
    I have created a feedback form and am using a Spry Tabbed Panel to allow users to review all responses to one question and then all responses to the next question in different tabs, there are 6 tabs in all. In each tab I have created a Master/ Detail Page set - well actually just the Master appears in the tab. This is working fine. I allow up to 20 responses to be shown on each tab, after which the user selects First/Previous/Next/Last. When they do this the screen refreshes and the tabbed panel display goes back to the default tab, clicking on the tab previously used correctly displays whichever of First/Previous/Next/Last the user selected. I'd like the display to remain on the user's current tab when they select First/Previous/Next/Last.
    The page in question is here http://www.hollisterairshow.com/feedback-results2.php, then scroll about half way down the page and select one of the tabs.
    Thanks.
    Tony

    Hi Tony,
    Look at the following, blue coded is comment only, red coded is what has to be added to your existing code and orange coded is added by the SpryDataSet creator if done properly. Where the orange part starts, thats where you place your cursor when creating the dataset.
        <p> </p>
       <div id="TabbedPanels1" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
            <li class="TabbedPanelsTab" tabindex="0">All feedback</li>
            <li class="TabbedPanelsTab" tabindex="0">Suggestions for improvement</li>
            <li class="TabbedPanelsTab" tabindex="0">What did you like the most</li>
            <li class="TabbedPanelsTab" tabindex="0">What did you like the least</li>
            <li class="TabbedPanelsTab" tabindex="0">What else would you like to see</li>
            <li class="TabbedPanelsTab" tabindex="0">Any other comments</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div class="TabbedPanelsContent">
              <table border="1" align="center" id="allFeedback"> .... start feedback table tag (line 763)
                <tr>
                  <td width="80"><strong>Feedback Number</strong></td>
                  <td><strong>Days attended</strong></td>
                  <td><strong>Arrived by</strong></td>
                  <td><strong>Arrival arrangements</strong></td>
                  <td><strong>Expectations met</strong></td>
                  <td><strong>Ticket price</strong></td>
                  <td><strong>Zip code</strong></td>
                </tr>
    .................... rest of table probably your PHP repeat area
                  </tr>
              </table> .... end feedback table tag    
              <div spry:region="dsAllFeedback">
                <table>        
                   <tr>
                    <th spry:sort="Feedback_Number">Feedback Number</th>
                    <th spry:sort="Days_attended">Days attended</th>
                    <th spry:sort="Arrived_by">Arrived by</th>
                    <th spry:sort="Arrival_arrangements">Arrival arrangements</th>
                    <th spry:sort="Expectations_met">Expectations met</th>
                    <th spry:sort="Ticket_price">Ticket price</th>
                    <th spry:sort="Zip_code">Zip code</th>
                  </tr>
                  <tr spry:repeat="dsAllFeedback" spry:setrow="dsAllFeedback" spry:odd="row_odd" spry:even="row_even" spry:hover="row_hover" spry:select="row_select">
                    <td>{Feedback_Number}</td>
                    <td>{Days_attended}</td>
                    <td>{Arrived_by}</td>
                    <td>{Arrival_arrangements}</td>
                    <td>{Expectations_met}</td>
                    <td>{Ticket_price}</td>
                    <td>{Zip_code}</td>
                  </tr>
                </table>
              </div>
              <br />
              <table border="0">
    I hope this helps.
    Ben

  • Spry Tabbed Panel and Master/Detail Page Set interraction

    Hi,
    I have created a feedback form and am using a Spry Tabbed Panel to allow users to review all responses to one question and then all responses to the next question in different tabs, there are 6 tabs in all. In each tab I have created a Master/ Detail Page set - well actually just the Master appears in the tab. This is working fine. I allow up to 20 responses to be shown on each page, after which the user selects First/Previous/Next/Last. When they do this the screen refreshes and the tabbed panel display goes back to the default tab, clicking on the tab previously used correctly displays whichever of First/Previous/Next/Last the user selected. I'd like the display to remain on the user's current tab when they select First/Previous/Next/Last.
    The page in question is here http://www.hollisterairshow.com/feedback-results2.php, then scroll about half way down the page.
    Thanks.
    Tony 

    Hi Tony,
    Have a look here http://labs.adobe.com/technologies/spry/samples/data_region/PagingSample.html and here http://labs.adobe.com/technologies/spry/samples/data_region/SpryPagedViewSample.html
    If you need further assistance, go to the Spry Forum http://forums.adobe.com/community/labs/spry
    I hope this helps.
    Ben

  • Question on Page reload/refresh

    How to reload/refresh the page after changing the value of an item.
    I have two items in one page. First one is VAR1 as date picker and second item is VAR2. The value of the VAR2 is going to populate based on the date value selected in VAR1.
    Example: If 07/13/2004 in VAR1 ; VAR2 is to be populated as 704.
    If I changed the value of VAR1, VAR2 is going to be re-calculated automatically
    Thanks in advance

    Yes, as the error message says, you need to define a same-page branch. When a page is submitted, after all the processing is done, branches are evaluated to determine which page to go to next. Click on the + next to Branches on the Page Definition screen to create a branch.

  • "open link in new tab" fails; instead opens main page on which link was found

    "open link in a new tab" always worked great until recently. Now, on a number of sites--at least 1 of which is a game site--FF opens a new tab that duplicates the page on which I found the link. I can go to that new tab and click the link I want there, but I'd love to get this feature working like it did before.
    I have even tried using "copy link location" and pasting that location into the address bar of a new tab, but this, also, fails. I am completely at a loss to understand what's happening.
    I've asked others using the same web sites if they have this problem, and they've said no. So I'm pretty sure that the problem has something to do with a setting I've changed w/o realizing that this would happen.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Please update Firefox to the latest version via "Help > About Firefox" or "Help > Check for Updates"<br />
    The Firefox 6.0.2 version that you currently run is no longer supported with security updates.
    You can find the latest Firefox release in all languages and for all Operating Systems here:
    *Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html

  • Spry Tabbed Panels content open verticaly on web site opening?

    Hello,
    As long as the client does'nt authorised javascript my opening web site page does'nt make sense, we see all the content of the tabs openned vertically.
    Is there a way to have an acceptable opening page , maybe without the the tabs working for the one who dont accept javascript?
    Thank You in advance

    picotine7 wrote:
    Hi,
    Thank's for the hint.
    Unfortunatly when I use the noscript tag at the beginning and at he end of my div, I loose my tabs completely.
    Yes and so it should when one uses a JS-enabled browser; but if one turns JS off then you will see the tabs.
    A bit of imagination is required to juggle between what you want the different browsers to see. Anything within the NOSCRIPT tags will only be seen by non-JS-browsers.
    If you want to remove a particular piece of code from JS-enabled-browsers you could use
    <div id="dynamiccontent">
      <script type="text/javascript">
        // If JS is enabled, we want to prevent the table from flashing
        // when the page is first loaded.
        Spry.$("dynamiccontent").style.display = "none";
      </script>
      <!-- your markup goes here -->
    </div>
    I hope this helps.
    Ben

  • Dialog Box Open before Page load using af:CommandNavigationItem

    Hi,
    I have a CommandNavigationItem menu, the requirement is simple.
    Use Case:
    1. On click of one of the menu item, i need to display a message or prompt user to select "OK" or "Cancel"
    2. If user clicks "OK" will navigate to the require page. and "Cancel" will stay on the page.
    I have used couple of things like, creating a af:popup with a af:dialog and calling this popup from managed bean on page load, it works fine get a popup with a "OK" "Cancel" text. But the problem is it opens the popup fine but the parent page get loaded also.
    Please help me to find any solution? Will appreciate your time!!
    Thanks
    Neeraj Halder

    thanks vinod,
    I have tried but struggling with binding of the popup.
    1. let say when i login to my application my first page is "homeView.jspx", so on homeView.jspx i have written the code for popup.
    2. And in the menu i have "home" and "details", so when i click the "details" menu this popup should open, and on clicking ok it should navigate me to the Details page, as you suggested ActionListner for that.
    Please see below what i have done till yet.
    ActionListener Code:
    /*code in jsp
    actionListener="#{backingBeanScope.testViewBean.checkOnClickofDetails}"
    /* code in java with a backing bean scope
    private RichPopup validationMessageDialog;// popup id
    public void checkOnClickofDetails(ActionEvent actionEvent) {
    RichPopup.PopupHints popupHints = new RichPopup.PopupHints();
    getValidationMessageDialog().show(popupHints); //
    popup in homeView.jspx
    <af:popup id="validationMessageDialog"
    binding="#{backingBeanScope.testViewBean.validationMessageDialog}">
    <af:dialog id="d3" cancelTextAndAccessKey="cancel"
    dialogListener="#{backingBeanScope.testViewBean.loadDetails}"
    title="Prompt">
    <af:outputText value="#{msg.AGENT_NOT_FOUND}" id="ot3"/>
    </af:dialog>
    My doubt is i am doing something wrong with the scope of the managed bean. in the above code i have used backing bean scope,
    let say i have a java file example ABC.java, which is a backing bean scope given in adfc-config.xml. can i use this one java file for two of three different jspx as a backing bean? Hope i am clear here? :)
    2) when we create a jspx and its backing bean at a time, is there any internal mapping happen apart from adfc-config.xml that one jspx will have only one java file as a backing bean?
    Sorry if i am making this more complicated, above question comes because, when i move the same popup code in "Details.jspx" page and at the time of creation of this page i have created backing bean also so when i calling this function on page load "checkOnClickofDetails" which is in the Details.java (backing bean) the popup comes fine. but unfortunately cannot use this because parent page get laoded with this popup also.
    let me know if i am doing something wrong?
    Thanks,
    Neeraj Halder

  • Page reload/refresh after printing Oracle report.

    I have upgraded from version 3.0.1 to version 4.0.1 and I am having an issue.
    I have a page with a tabular form (SQL Query - updateable report) which allows me
    to select items I want to print.
    The report looks like the following:
    Name          Print
    Template 1     Y/N
    Template 2     Y/N
    Template 3     Y/N
    Template 4     Y/N
    The print column is a static LOV with a 'Y' or 'N' option.When I submit the page, a MRU runs and sets a flag for each item I want to print in the database.
    It then branches using "Branch to URL Identified by Item (Use Item Name)". The URL specifies an Oracle report
    server and the oracle report to print.
    All this works fine and the items that were selected, print out. An Oracle Reports Job Status is displayed
    on screen (this originates from the oracle report server) to indicate that it has "successfully run" along with
    an OK button. The OK button contains the following code: javascript:history.back()
    A process also exists on the page ("On Load - Before Regions") that resets any flags that were set in the database
    when the page is loaded and so the report will displays all N's in the Print column.
    Now my problem is that in version 3.0.1 when I hit the OK button it would return to the page in the apex
    application that branched to the oracle report and the page would be reloaded, where as in version 4.0.1
    the page is not reloaded.
    Any ideas how to fix this or can someone suggest a new way of achieving the same result.
    Any help would be appreciated.
    Regards,
    Ryan

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • How to have same spry tab open when validate form?

    i have a blog where the insert blog form is on the second spry tab and when the form does not validate it stays on the same page but the spry tab goes to the first tab; i want the second spry tab to remain open.
    Can that be done?
    see the page here
    http://www.golftrailusa.com/golfblog2.php

    I have been having this same problem. When I go to close Firefox, I get the message asking if I want to close the 2 tabs, even though I only see one. To view the hidden tab, close the currently open tab. The hidden tab will reveal itself.
    This just happened to me and the URL of the hidden tab was:
    http : // s . ytimg . com / yts / jsbin / html5player-vfliqjKfF.js
    (Spaces added so as to not create a click-able link.)
    Hope this helps anyone with the problem and anyone researching the issue.

  • I found a bug in dreamweaver spry tabs

    have a good day to all
    i designed a popup menu in fireworks and inserted it in the
    header part of the page that contains the spry tabs
    if i open the menu then the menu is coming back of the spry
    tabs i need help

    This is an iPad user to user forum. Apple doesn'y read or respond.
    Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
     Cheers, Tom
    PS Your English is good!!!!!!!!!!!

  • Spry Tabbed Panels and Pop Up Link from Image Hotspot

    I've created an image map with Hotspot links to either send to another web page or to open a previously created Pop Up window with information.
    I've imported my image, image map and Hotspots into a tab
    The issue I'm having is when clicking on the hotspot (within the Spry tabbed panel), to open the pop up page; it doesn't work
    If I select a Hotspot which sends users to another web page, that works ok.
    Would appreciate it if someone else who has run into this and what your recommendation is for a fix.
    thanks, R Silva

    Hi,
    Unable to post to a public server; however I've attached the files so the code can be reviewed.
    thanks

  • Im having a problem with Firefox opening web pages that i have set as my home page such as Google also will not open Yahoo but will open most bookmarked pages

    After starting Firefox the Firefox homepage comes up with the google search, but if i enter anything in the search bar, nothing happens it just says done. Also my homepage is Google, imported from Internet Explorer, but doesn't come up when i start Firefox, And Also at the top on the tab it just says untitled. Now with that being said if i enter in yahoo or yahoo.com in the search tab or even enter in the actual web address, it still doesn't open it just says done at the bottom of the page and nothing happens, But if i go to the Bookmarks also imported from Internet Explorer it will open or display most all of the web pages it just seems to be having problems with search engines such as Google, and Yahoo. Now if i enter Ask.com in the web address search tab it will open that page but if i enter Google.com or Yahoo.com nothing. Also like i said most all bookmarks will open but yahoo or my yahoo that is saved in Bookmarks will not. and nothing happens with any entry made into the Google search displayed on the the Firefox Start Page.

    Hi,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • Hard Drive Replacement Running Boot Camp

    Good morning. I am going to be swapping out my the 750gb 5200rpm hard drive on my 13-inch, Mid 2012 MBP. I am awaiting delivery of a 500gb SSD and it will be going in place of the 750 standard hd and I am really looking forward to it. My question to

  • XI3 SOAP sender and Receiver

    Hi I am stuck with a connecting to scenarios using SOAP channel. In short there is one business scenario that based on some conditions must start other scenarios (each one built around one business process). I am trying to send asynchronous SOAP mess

  • Update picture slows down

    Hi I am trying to make a little robot that can draw a 2D map of the suroundings. (It uses a rotating distance sensor, like af radar) I whant to use the picture-control, to draw in the information, so i can get a printable picture out. I have already

  • Itunes 11 on windows 7

    are deleted duplicates lost for ever, I cannot find them in the recycle bin?

  • Wrong classes output directory when use of dependant projects

    Hi, JDev 10.1.2.1 but also in previous versions. Windows XP Prof, AMD Athlon, 1 Go Mem I have following setup: Projects: DTO (data transfer objects and utility classes used in other projects) -> dependies: none Directory tree: MyWorkspace\DTO\classes