Global navigation fix for iPad is effecting other links on the site

Hi,
We have a deployed a fix to make our global navigation work properly in iPad as per the below link
http://tommdaly.wordpress.com/2011/11/10/ootb-navigation-fix-to-support-ipad-i-devices/
This link gives us below code.
$(document).ready(function(){
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
$(".s4-tn .menu-horizontal ul.root li.dynamic-children a.dynamic-children").bind('touchstart',function(e){
var position = $(this).next().position();
if(eval(position.left < -1)) {
$(this).click(function(c){
c.preventDefault();
else {
var location = $(this).attr("href");
window.location = location;
This will allow you to touch once to open a menu item that has children. Touching that menu item again would navigate to that node.
However, the above code does the solution for all the links in the Site. For all the other links in the Site, we have to click twice to navigate to the URL.
We do not want that. The fix should work only for global navigation links. For all other links, the redirection should happen on the first click itself.
Any help would be appreciated.
Regards,
Vijay

Using the IE Developer Toolbar, check the DOM structure of the top navigation global navigation links and make sure that only the immediate children is selected.
$(".s4-tn .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item").bind
Branding Common Elements in SharePoint 2013
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Similar Messages

  • Will over the air mirroring be available for iPad 2 to other devices than the AppleTV? Devices such as the Boxee Box?

    Hi there.
    I was just wondering if anyone knows if mirroring over the air will be available for the iPad 2 to other devices than the AppleTV?
    Devices such as the Boxee Box?
    Air Play works fine with the Boxee Box when viewing photos, videoes or listening to music, but what about mirroring?
    - Bubbi, Denmark

    If you feel so strongly about something, why not tell Apple directly through the provided link:  http://www.apple.com/feedback?

  • A fix for iPad: Could not be synced because the sync session failed to start

    While trying to sync my iPad I started getting the following error from iTunes:
    •          iTunes could not backup iPad because a session could not be started with the iPad
    I've tried the following:
    •          Running the Repair Disk Permissions from Disk Utility
    •          Delete existing backup through iTunes and making sure to delete the backups folder: ~/Library/Application Support/MobileSync/Backup/
    •          Rebooting the Mac and the iPad
    No fix. Any solutions ?

    Hello stamatgeorge,
    Thank you for the details you provided regarding the syncing issue you are experiencing with iTunes.  I found an article that has steps to take for the specific error you are seeing, "iTunes could not back up the iPad because a session could not be started."
    I recommend following the steps in this article:
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/TS2529
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • My 3rd generation ipad even though my battery is at 100 % the screen goes black after sitting for more than 15 mins. The only way to get it to come is by resetting the ipad. Is there a fix for this. It all started after the last two updates.

    my 3rd generation ipad even though my battery is at 100 % the screen goes black after sitting for more than 15 mins. The only way to get it to come is by resetting the ipad. Is there a fix for this. It all started after the last two updates.

    Try a Reset...
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    If no joy... Try a Restore...
    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.
    From Here
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • [svn:fx-trunk] 10229: Fixes for some transform effects problems.

    Revision: 10229
    Author:   [email protected]
    Date:     2009-09-14 08:43:43 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fixes for some transform effects problems.
    - We were not animating the postLayout properties in some cases where we should have, effectively pinning the object in place. We now animate those properties whenever applyChangesPostLayout is true.
    - A copy/paste error meant that we did not animate the scaleZ property in cases where we should have.
    - A problem in the transform code means that using a null transform center is not the same as a transform center which uses the transformX/Y/Z properties of the target object. We now force the creation/use of a transform center in all cases to avoid that problem.
    QE notes: This breaks about a dozen tests in the transform effects area, but I believe the new results are correct and the tests/bitmaps should be changed.
    Doc notes: None
    Bugs: sdk-23177
    Reviewer: Hans
    Tests run: checkintests, Mustella transform effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23177
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as

  • Is there a fix for Mountain Lion audio output settings after the laptop goes to sleep and wakes back up?

    Mac Book Pro running Mountain Lion OS X 10.8.5 after the notebook sleeps audio and video does work (for example on YouTube).  I have been able to temporarily work around this by toggling the settings on Built-in Output in Audio Midi Setup, Audio window between 2ch-20bit Integer and 2ch-24bit Integer.  But this is a temporary fix until the laptop sleeps again.
    When it's not working, all system sounds (emails "dings", delete file "swish", etc.) are silenced, and video playbacks on YouTube and elsewhere freeze and have no audio until the Audio Output settings are toggled then they all immediately start working.
    Has anyone encountered the same?  Have a long term fix for this annoyance?
    I cannot upgrade the OS to 10.9 Mavericks yet because of a corporate policy - there is some conflict with 10.9 and our corporate VPN connection.

    Apple support article:
    Startup Grey Screen
    You can try to check your hard drive.
    Apple Hardware Test doesn't catch everything, so even if it doesn't find a problem, you could have one.
    Apple Hardware Test

  • Do you need a separate telephone number for an IPad or can it link to the same number for the IPhone?

    Do you need a separate number for an IPad or can it link to the same number you use for your IPhone?

    If it is an iPad with WiFi + Cellular, it has a mobile number attached to it. However, that number has no practical use for the end user as you can't use it to make calls or send texts. It's mostly a way of connecting the device to the cellular network. Additionally, cellular numbers are only attached to one device at a time.
    If what you're really asking is can you share a plan with your cell phone, well that depends on your carrier. Give them a call.
    Best of luck.

  • I cannot find the Kindle reader app for iPad and when I click on the link from Amazon there is an error on iTunes

    I cannot find the Kindle reader app for iPad and when I click on the link from Amazon there is an error on iTunes

    Are you in the US?  Not all apps are available in all countries.  There is no way to download anything from a website, like Kindle.  If it's not in your App Store, you won't be able to have it.

  • HT4943 I purchased Telegraph for iPad but I do not have the app showing in my purchased folder. Can anyone tell me how to retrieve it. Thanks. Allan

    I purchased Telegraph for iPad but I do not have the app showing in my purchased folder. Can anyone tell me how to retrieve it. Thanks. Allan

    What purchased folder are you talking about? You mean Newsstand? Did you read this and does it support Newsstand?
    If a subscription app or publication does not appear in Newsstand, verify that the app supports the Newsstand feature.

  • If i have purchased garageband for Ipad... can i download the IOS version on my iphone 4 without paying again?

    If i have purchased garageband for Ipad... can i download the IOS version on my iphone 4 without paying again?
    Or do i have to pay again?
    thanks,

    If you've previously paid for the iOS version, you can. If you've previously paid for the Mac version but not the iOS version, you can't.
    (64100)

  • [svn:fx-trunk] 12295: fix for FLEXDOCS-889, and add doc on the WindowedApplication.useNativeDragManager property

    Revision: 12295
    Revision: 12295
    Author:   [email protected]
    Date:     2009-11-30 13:41:29 -0800 (Mon, 30 Nov 2009)
    Log Message:
    fix for FLEXDOCS-889, and add doc on the WindowedApplication.useNativeDragManager property
    QE notes: -
    Doc notes: -
    Bugs: - FLEXDOCS-889
    Reviewer: -
    Tests run: - checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXDOCS-889
        http://bugs.adobe.com/jira/browse/FLEXDOCS-889
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/AnchorStyles.as

  • I work at a rent to own place.  i repoed an ipad 2 and its linked to the customer and i have no contact with them.  anyway to reset and bypass this?

    i work at a rent to own place.  i repoed an ipad 2 and its linked to the customer and i have no contact with them.  anyway to reset and bypass this?

    Nope.
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • Install for Photoshop Elements Version 6. I lost my disk the link on the site to download the trail for elements 6 is broken. Where can i download PhotoShop Elements 6?

          I lost my disk, the link on the site to download the trail for elements 6 is broken. Where can I download Photoshop Elements 6?
    I was trying to install the trail because that was the only thing available and I have the product key. Can you please direct me to a link to download Adobe Photoshop Elements version 6 please.
    Thank you,
         Rob

    Unfortunately, even if there were a download link it wouldn't help. PSE 6 had different serial numbers for downloads and boxed versions that were mutually incompatible, and back then you couldn't just enter a serial number into the trial. That's probably why adobe doesn't have a download available for PSe 6.

  • After i designed a website for desk top how do i save the site for cell phone

    after i designed a website for desk top how do i save the site for cell phone use

    I don't think you can simply save a desktop design as a cell phone design.  While in Muse and in the site plan view for you website you should see three tabs near the top of the page.  If you click the "Phone" tab, you will get a pop-up dialog box asking which element you would like to copy over from your desktop site (if any).  You must then design the site for cell phone use.  You can use the same objects, pictures, etc. from your desktop site and Muse should automatically optimize those elements for phone use.  However, Muse does not automatically take a desktop design and create a cell phone design from it. 
    As I understand it, Muse uses user-agent detection to decide which site it wants to display to the user. You however, need to create the different versions of your site so that Muse can apply a specific design for the intended use.

  • I cannot get any of the zoom functions to work, period. When Firefox starts up it begins to display the page then it stops and redisplays it. So its like it flashes on for a second then completely regoes to the site, any site. The text zooms dont work eve

    I cannot get any of the zoom functions to work, period. When Firefox starts up it begins to display the page then it stops and redisplays it. So its like it flashes on for a second then completely regoes to the site, any site. The text zooms dont work even when i try to change the font on the content tab, nothing. I have reinstalled firefox still no luck help,!!!!!
    == This happened ==
    Every time Firefox opened
    == this month ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2)

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

Maybe you are looking for

  • How do i get my appstore to work? it wont let me purchase any apps that cost money. i put money on this last night

    i cant get my Appstore to work because it has locked up because i tried to answer my security questions and failed to do it. it wanted verification because it said it was my first time on the App Store but it isn't. (i recently got a new ipad after d

  • Problems Aligning Text in Headers and Footers

    I have tried to add headers and footers to documents and the  alignment is wrong.  The center footer/header should be center-aligned  and the right header/footer should be right-aligned.  Unfortunately,  they are both left-aligned. The preview shows

  • Source of the triggered mail in SAP (SCOT)

    Dear ALL, Would like to know any information on possibility to find the source of the triggered mails in SAP. The requirement is to inform the concern team members about the failed mails with status 855 and to remove invalid mail id from the recipien

  • Upgradebootstrap has failed with unknown exception

    I'm stumped.  Running SharePoint 2013 over Hyper-V with the following topology: 1 Database server 3 Application/WFE servers (1 for Central Admin, some BI stuff, 1 for Search, 1 for Project Server) It's a very basic test farm, running 2013 with SP1, o

  • Can't send e-mail, receiving OK

    Out of the blue today I am suddenly unable to send e-mail.  If I go to mail/preferences/accounts, my smtp server shows "smtp.xxx.net(offline)"... xxx used to replace actual name.  A call to my ISP resulted in finding out that they are having no issue