20. srpna 2012 9:33
In master page I have the below custom java script function to resize tags on the page, the script doesn't fire for anaonymous users I have published the page and have verified that the function is present on the page (checked it thru view source). When I browse the page as owner all the alerts fire and the resizes4WP function sets the property fine where as for anonymous users only the alerts outside tot he function fire this means ExecuteOrDelayUntilScriptLoaded is not firing, so in the function call I tried using sp.js / core.js thinking that init.js may not be available for anonymous users but result is the same resize function does not fire. I am lost of ideas to fix it, stuck with this issue :( any help is appreciated.
20. srpna 2012 13:41
Init.js is available for anonymous users. All the alerts at the top are firing for the anonymous users? And the lengths are greater than 0?
If I were debugging this, I would open this page in Firefox with Firebug turned on. This is the easiest way to see if any errors are being thrown in the scripts and may lead you to your problem.
Brandon Atkinson - Blog: http://brandonatkinson.blogspot.com/
21. srpna 2012 12:01