Citrix and IE
-
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 -
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.comJamie 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[^]
-
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[^]
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