Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Citrix and IE

Citrix and IE

Scheduled Pinned Locked Moved ASP.NET
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jamie Nordmeyer
    wrote on last edited by
    #1

    So I've got a 3rd party application that I'm dealing with that has a menu system on the left side of the main page. We've embedded javascript to hide the items in the menu that we don't want the user to see (because of the way that the vendor implemented the application, we can't just remove markup, and have to do it via javascript). The script works fine if you open IE, and navigate to it. However, many of our users access the site through Citrix, and when the app comes up, the script doesn't appear to have run; the menu items we want hidden are still visible. However, refreshing the page suddenly seems to "wake up" the script, and the items disappear. To me, this seems like a timing issue, as though running from Citrix is somehow changing when the DOM load event is happening (the code is set up in a call to window.attachEvent('onload', function(){...}); ). Has anybody else ever seen this behavior, and if so, how did you fix it? Thanks in advance.

    Jamie Nordmeyer
    Portland, Oregon, USA
    http://www.feralcodemonkies.com

    Y 1 Reply Last reply
    0
    • J Jamie Nordmeyer

      So I've got a 3rd party application that I'm dealing with that has a menu system on the left side of the main page. We've embedded javascript to hide the items in the menu that we don't want the user to see (because of the way that the vendor implemented the application, we can't just remove markup, and have to do it via javascript). The script works fine if you open IE, and navigate to it. However, many of our users access the site through Citrix, and when the app comes up, the script doesn't appear to have run; the menu items we want hidden are still visible. However, refreshing the page suddenly seems to "wake up" the script, and the items disappear. To me, this seems like a timing issue, as though running from Citrix is somehow changing when the DOM load event is happening (the code is set up in a call to window.attachEvent('onload', function(){...}); ). Has anybody else ever seen this behavior, and if so, how did you fix it? Thanks in advance.

      Jamie Nordmeyer
      Portland, Oregon, USA
      http://www.feralcodemonkies.com

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      Jamie Nordmeyer wrote:

      window.attachEvent('onload', function(){...}); ).

      I have seen many issues with onload. In some browsers it appears that it gets fired before the DOM completes loading. This issue can be easily fixed with JQuery[^]

      Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

      J 1 Reply Last reply
      0
      • Y Yusuf

        Jamie Nordmeyer wrote:

        window.attachEvent('onload', function(){...}); ).

        I have seen many issues with onload. In some browsers it appears that it gets fired before the DOM completes loading. This issue can be easily fixed with JQuery[^]

        Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

        J Offline
        J Offline
        Jamie Nordmeyer
        wrote on last edited by
        #3

        Hey Yusuf. Thanks for the reply. Trust me, I know all about jQuery. I'm the guy who got it adopted at work. Unfortunately, the code I'm talking about is generated dynamically by ASP code in a 3rd party application where I work. We've actually done some research today, and it's related to how the Citrix servers were set up, though we don't know the full details yet. I'll post the results here when I find out.

        Jamie Nordmeyer
        Portland, Oregon, USA
        http://www.feralcodemonkies.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups