Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Thu Jun 20, 2013 4:51 am

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Hide New Item Image
PostPosted: Thu Jun 17, 2010 4:47 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
I have tried to nail the syntax to hide the new item image in a list, but I keep missing the mark. Can anyone provide the code to hide the New item image?


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Thu Jun 24, 2010 3:10 pm 
Offline

Joined: Mon Jan 04, 2010 6:12 pm
Posts: 92
Jax,
The following article should answer your question
http://www.endusersharepoint.com/2009/1 ... th-jquery/
Greg


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Mon Aug 02, 2010 1:38 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
Thanks, although that post did not directly answer my request. I used IE Dev Tool to identify the img and hid it
Code:
<script type="text/javascript"> 
     if(typeof jQuery=="undefined"){ 
         var jQsrc="/JavaScripts/jquery-latest.min.js";
         document.write(unescape("%3Cscript src='"+jQsrc+"' type='text/javascript'%3E%3C/script%3E"));
     } 
</script>
<script type="text/javascript">
$(document).ready(function(){ 
     $('.ms-vb img[alt="New"]').hide(); 
});
</script>


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Mon Aug 02, 2010 2:00 pm 
Offline
User avatar

Joined: Mon Jan 04, 2010 1:15 am
Posts: 1839
Location: North Carolina
It could also be set to 0 by an stsadm command, http://technet.microsoft.com/en-us/library/cc287681(office.12).aspx.


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Thu Aug 05, 2010 3:50 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
Thanks Eric. I don't have access to the box so that way wouldn't work for me, but sure it would be helpful to the Admins


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Thu Aug 19, 2010 12:03 pm 
Offline
User avatar

Joined: Fri Jan 08, 2010 5:52 pm
Posts: 32
Location: Cary, North Carolina
I seem to remember there being a global setting somewhere too, that allows you to set the time scale for "new" to be displayed. I believe it was farm or collection-wide though, so it may not solve your issue directly if you wanted to isolate where it was turned off.


Top
 Profile  
 
 Post subject: Re: Hide New Item Image
PostPosted: Thu Aug 19, 2010 12:30 pm 
Offline
User avatar

Joined: Mon Jan 04, 2010 1:15 am
Posts: 1839
Location: North Carolina
Yes, that link I provided explains that via stsadm. The link was broken, so I just fixed that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group