jQuery Tabbed UI using AJAX - switching between tabs previous view - jquery-ui

Let's say I have two tabs tabA and tabB. When I click on tabA the first page of that section appears, call it tabA1. If I click on a link on that page then page tabA1 is replaced with tabA2. If I then click on another tab, say tabB, and then go and click on tabA again I get an image of tabA2 lingering for a bit.
How can I make it so that clicking tabA will always show tabA1 straight away? Is it saving it in the cookies for fast access?

Before switching additionally try setting the content in the tab (or equivalent wrapper) to display : none.
This is happened to me and that's how I fixed it. Although I know it fixes the symptoms and not the exact problem.

Related

How can I get hyperlinks on Google Slides to open in the same window?

I'm a kindergarten teacher trying to post a set of Google slides to support online learning. I have a very modest understanding of HTML. I want students to move to new slides by clicking hyperlinks, not by scrolling through like a presentation, so I made each slide (10-12 total) its own presentation. It works, but every time you navigate from one to the other, it opens it in a new tab, which quickly turns into too many tabs. I don't see a way to create links that open in the same window.
campus (only READING link is set up at the moment)
thanks!
There is code you could add to a SINGLE presentation slide that would open in a 'preview' tab which is a little different than present mode. You would have to put all slides back into 1 slide presentation(file). Replaced everything at the end including the word edit.
https://docs.google.com/presentation/d/1MV8HjEo4HAD9q9EwE8T77WbcwOxpUk48JogS9ffecLw/edit#slide=id.p
Then I would replace the above with--look at the end of the code.
https://docs.google.com/presentation/d/1MV8HjEo4HAD9q9EwE8T77WbcwOxpUk48JogS9ffecLw/preview?rm=minimal
Now clicking the links would keep the user on the same slide deck throughout all their clicks. They can advance or go back depending on your links inside the presentation

How to destroy the side menu before move?

I use the side menu (jonkykong / SideMenu) when developing an application for iOS and ran into a problem. I need a menu that will be displayed on all ViewController, everything seems to work, but when you switch to the second controller, a new menu opens with the second controller, but the old menu. The only thing I found in the developer's questions is that it's necessary to destroy the old menu before switching to the second controller, but I have not found it anywhere. The code for my menu is exactly the same as in the example, except for the TableView in the menu itself (the list of menu items is implemented by tables) and the implementation of the standard functions of selecting on the table cell. I am hope for your help. Thank you very much.
Link to the side menu itself:
github.com/jonkykong/SideMenu
Photo1
Photo2

How to fix a Tab as first tab on TPageControl and keep it showing while navigating on tabs?

I have this form:
Green arrow: Tab General, and I'd like to keep it always visible, but when the form is smaller than the tabs, TPageControl creates a navigator (the red arrow).
It's good, but I'd like to allow the user navigate but keep showing the possibility to click on the General Tab.
Example:
In this picture, I used the navigator and I can't see General Tab anymore.
I'd like to keep it as the first tab on the PageControl, like a "fixed column" in Excel for instance.
Yes, I didn't found a way to fix the tab! But I solved my problem creating a custom page control based on our discussion on this thread.
You can check it here

Jquery Mobile - Go to top of page on transition

In jquery mobile when you do transitions to different pages is there a way to have the page its transitioning to show the top of the page? If the current page has a long list and you scroll down, then click to go to another page with the slide transition, then click back to the previous page it shows the middle of the page where you last were. I would like it to actually go back to the top of the page when going back. Is this possible?
Try this on triggering the back button?
http://jquerymobile.com/demos/1.0b3/#/demos/1.0b3/docs/api/methods.html
//scroll to Y 100px
$.mobile.silentScroll(100);
Or on triggering the active page:
if ($("#myPage").is(".ui-page-active")) { ... }
I additionally think this is a feature which is nice, the back button takes you back to the place you have been. You don't have to re-orientate yourself because you get back to the point you were, I think its a nice usability feature.

Blackberry TabScroll and Focus problem

I'm a newbe for Blackberry and finding it quite difficult, I'm working on the TabControl example. I have changed the tabs to scroll. Now when i scroll through tabs the focus changes and as soon as the focus shifts to the other tab, the data for that tab appears.
I want to make these tabs clickable only, though they shall scroll but should change only on click.
And also when i use UIApplication.getApplication.pushScreen(someScreen) in the tabs, this someScreen appears out of the tabs, whereas i want to show this screen below the tabs only.
please help
You have to override onFocus(int) to not do anything when focus is moved. (You may or may not have to override touchEvent to handle an actual CLICK event).
You can push a screen into tabs that is not part of the tabs already. If you want something new to appear, try switching managers within the screen instead.

Resources