Hi all
For once there is a dev question I feel qualified to answer J! This is a detailed writeup of using javascript and audience targeting to hide controls on a page with input from Jeremy Thake. http://www.cleverworkarounds.com/freebies Paul From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Monday, 22 December 2008 8:00 AM To: [email protected] Subject: RE: Getting around _spBodyOnLoadWrapper Why not use the _spBodyOnLoadFunctionNames.push function? Because I didn't know it existed. :D Thanks Arjan. I'll take a look. From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Monday, 22 December 2008 9:24 AM To: [email protected] Subject: Getting around _spBodyOnLoadWrapper My earlier excitement at discovering I could add JavaScript directly to content editor web parts was quashed upon realising that any onload events I might require were being overridden by the master page's onload call to _spBodyOnLoadWrapper in the body tag. Has anyone found a clever way to add extra onload events to a page without modifying the core.js files? Has anyone written a wrapper function that checks for onload events and allows you to add extra functions as required? Or is there another way? Any advice appreciated. _____ List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: <http://www.codify.com/lists/ozmoss> http://www.codify.com/lists/ozmoss Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists _____ List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: <http://www.codify.com/lists/ozmoss> http://www.codify.com/lists/ozmoss Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists _____ List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: <http://www.codify.com/lists/ozmoss> http://www.codify.com/lists/ozmoss Other lists you might want to join: <http://www.codify.com/lists> http://www.codify.com/lists -------------------------------------------------------------------------------- List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
