04.272011
0 0

Scrolling Site Title Bar Script

Copy and Paste below cod in website head section : <head> <title>Site Name &nbsp;&nbsp; ::: &nbsp;&nbsp;Welcome to A &nbsp;</title> <script type=”text/javascript” language=”javascript”> var repeat=2 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1 var title=document.title var leng=title.length var start=1 function titlemove() { titl=title.substring(start, leng) + title.substring(0, start) document.title=titl start++ if (start==leng+1) {…

Read More
04.142011
0 0

Create Batch File to Deploy a Webpart in a SharePoint Site

Create new text file setup.bat and paste below code and save it : @rem====================================================================== @rem setup.bat @rem @rem====================================================================== @echo off setlocal pushd . goto LInitialize @rem———————————————————————- @rem LInitialize @rem———————————————————————- :LInitialize set SPLocation=%CommonProgramFiles%\Microsoft Shared\web server extensions\12 set SPAdminTool=%SPLocation%\BIN\stsadm.exe set Install= set Uninstall= set PackageFile=WSPPAckageNAme.wsp set PackageName=WSPPackageName.wsp set DefaultWebUrl=http://ServerName:29393 set DefaultSiteUrl=http://ServerNAme:29393 set TargetWebUrl=http://ServerName:29393 set TargetSiteUrl= set SPTemplateLocation=%SPLocation%\template…

Read More