Two Separate Menus for Membership Plugin - mobile

Here's the run down:
I using the standard primary menu to display for both desktop and mobile devices.
I have another menu specifically for Members when logged in. The one for desktop is perfectly fine but I want a completely different menu for mobile.
So I have one primary menu for desktop and mobile and two more for when they are logged in to their members area. The one for desktop for members is fine but again I need a separate menu for mobile for members.
I hope I am making sense. I can provide a URL if you like.
Thank you.

Related

How to run a add-on function from a button on a sheet?

I made an addon (link, in the description - the full code) that works like this.
The spreadsheet editor fills the cells and selects the item to which the addon script is assigned in the user menu. The script inserts the current date on the sheet, collects the cell values, sends them to the owner, and removes the editor’s access to the spreadsheet.
Everything works great on the desktop, but does not work on mobiles. Now more than 50% of users visit the Internet from mobile devices. Mobile users cannot access menus, sidebars and buttons in the Google Sheets application. In addition, the mobile application must be additionally downloaded and installed. It is not comfortable.
In the mobile browser (for example, Chrome) they are available, but only if you select "Full version" in the settings.
In addition, in Chrome, the menu items are very small, you have to swiping to increase them. This is all uncomfortable.
It would be great if you could launch the addon from the button. The button can be made large. Then on mobile devices, using the spreadsheet directly in the browser will be more convenient.
Are there any ways that can solve this problem?
I would be grateful for the ideas.

google adsense mobile view

According to my client's research referenced here: https://support.google.com/adsense/answer/1354762?hl=en#n2 you are only allowed one ad for Google on mobile pages.
Also in Google rules is stated that ads may not be obscured, and hence it flows that they cannot be hidden.
The problem that I am currently sitting is that the site is a single site for both desktop and mobile views, and that to the best of my knowledge, I would have to hide content on client-side to ensure that only one ad is shown on the mobile view, as opposed to the three on the desktop view.
How do I achieve 3 ads on a desktop view and only one on the mobile view for a single site, without hiding the extra 2 ads on mobile view? Please advise?
If you are using WordPress then you can use "Google Publisher plugins (https://wordpress.org/plugins/google-publisher/) .
Actually it automatically adjust ads size according to screen whatever use mobile or pc

Can same function behave differently in mobile and desktop

I was seeing a website i.e. website if you give pincode and search, you will be provided with a listing. When i click on any listing the section shows up on map. But when i go on a mobile, i see that click works differently i.e. a section slides in. How is this done? does the same function work different in mobile and desktop?
Cool effect, no? So open up the site on your desktop. Open it in Chrome. Then open the Chrome Developer tools. I use right click --> Inspect. Then on the top bar of the dev tools on the left hand side choose the icon "Device Mode" Select a device like an iphone or something. Now you can simulate this (or any site) on a mobile device. Its not a prefect simulation, just size and shape and general touch screen events like swipe and touch.
The design of this site uses some sort of javascript library to manage the transition. I've used jQuery Mobile in the past and this is exactly what it does. I'm guessing Controls.js is the tool that's doing this here, but I'm not positive all the nuances of this site. There are quite a few JS tools loaded here.
What ever happened to less is more, sigh?

Facebook and share buttons on a mobile-enabled website that open the mobile app instead of a browser window?

One of the big flaws in Android webphones (and probably other Operating Systems for phones): You are surfing some website, and want to use the site's embedded share button for say Twitter. You want to use the embedded Twitter share because it pre-populates the tweet based on how the site designed it: namely, it has the title of the page and the link and maybe a relevant Twitter hashtag. If you were to use your mobile browser's share feature, you only get the link, and have to attempt to type in the title and guess relevant hashtags--not ideal. The same is the case with other social media shares, like facebook.
So, from the above, you understand why users would prefer to use a given website's own embedded share features, rather than that built into the mobile browser.
However, if a user clicks the site's embedded social media share button, it opens a new browser window for that social media. Ideally, this would not happen, as typical users do not log into these social tools using the mobile browser, and the resulting pop-up share is clunky to use on a small mobile screen. Instead, ideally, you would click on the site's embedded share button and it would attempt to open at least the official twitter (or whatever) app on your phone instead. This is ideal because users tend to use the apps to use their social media, and so would already be logged in. Moreover, such an app is obviously optimized for mobile use, and thus not as clunky.
And yet, this apparently does not exist... am I right?
That is, as a web designer, there is nothing I can do on my embedded Twitter and Facebook share buttons to prompt mobile phone users to use the official app to share (rather than through the mobile browser). Is that right?
Thanks,
Derek
At least on my iPhone the twitter url-scheme does work.
the following opens the twitter app:
twitter://post?message=hello%20world
And facebook is fb://
Haven't tested it on android.
(via: http://wiki.akosma.com/IPhone_URL_Schemes )
What about open a pop up box (not window)- when we click a link to share the URL site/page we are in, without have to go through the mobile browser ?
just a pop up box.
do you think it is possible? or any social media link would automatically opened in a browser?

Multi-shell application?

I am new to Prism.
Imagin a scenario where you want to develop a multi-region application, but there should are many types of screens and I want those regions to be in one screen only, whereas, for instance in the HomePage which is the application map (like in QuickBooks, see image bellow), there should be no regions, and the whole layout should be different.
Also I want that the application should be available for registered users only; unregistered users are automatically forwarded to the LoginView, and they're not supposed to see the regions etc.
How are these two aspects achieved?
I think I am going to implement the entire application using View-Based Navigation.

Resources