04/22/2012 03:04:48 PM EST
Yes, there is a work around.If you add gmarin-right:10px;' to the .ms-standardheader.ms-WPTitle class, the right corner will be round if the action arrow isn't visible. The trick you have to pull is find out when the arrow isn't shown. To accomplish this, you have to write some javascript that looks in the page to find if the right corner of webparts is there. Here it is://find all WPHeaders in IE (DIV)var arr = document.getElementsByTagName( DIV );var str = 0;for (i = 0; i < arr.length; i++) { if(arr[i].className == ms-HoverCellInActive') str = str + 1;}In Mozilla the right corner is not rendered as DIV, so you need to look for the IMG elements with the same className. So you need to look at the browser in javascript code and then write separate codes for IE and other browsers.Next, you have to build a separate stylesheet for the no action arrow scenario and use javascript again to switch between stylesheets based on the value of str.There it is. They say it's robot labor, but it really isn't.
Wallis and FutunaAmy
04/22/2012 08:58:07 PM EST
Hi,Great Post!. But i have one query.The scenario is : I have creetad one MOSS 2007 publishing site. In this site i have creetad few Custom Web Parts. Now in each webpart i want the same output as u have described here.And i am able to get the same output when user is logged in as Administrative. Now when user is having anonymous access at that time the dropdown will not display and cause of that the right side corner is not going to be display. I want to display that right side curve image when user is having anonymous access. Can u help me for this.
YemenMiszsosy