Mensaje tipo Post-it para el blog – Settlement

post it
Ahora que estuve ausente se habrán dado cuenta que al entrar al blog aparecía un mensaje indicando que me encontraba fuera de la ciudad. Este mensaje tiene la opción de cerrarse para no molestar al visitante y se puede usar para poner cualquier tipo de aviso importante en el blog.

Para colocar un mensaje tipo Post-it en tu blog sólo entra aDiseño | Añadir un gadget | HTML/Javascript y pega ahí lo siguiente:
style
!--
#postit{width:300px; height:100px; padding:5px; position:absolute; background-color:yellow; border:1px solid black; visibility:hidden; z-index:50; cursor:hand; color: #000;}
--
/style


div id="postit" style="left:200px;top:50px"
div align="right"ba href="javascript:closeit()"font face="Arial" size="1"[CERRAR]/font img valign="middle" src="http://dl.getdropbox.com/u/647003/CiudadBlogger/Iconos/CloseIcon-small.png"//a/b/div

!--AQUI VA EL MENSAJE--
br/
Aquí va el mensaje que se mostrará cuando alguien ingrese al blog.
Para más trucos y tutoriales visita a href="http://ciudadblogger.com"Ciudad Blogger/a


!--FIN DEL MENSAJE--


script

//Post-it only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause postit to display every time page is loaded
var once_per_browser=0

///No need to edit beyond here///

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ns4)
crossobj=document.layers.postit
else if (ie4||ns6)
crossobj=ns6? document.getElementById("postit") : document.all.postit


function closeit(){
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
crossobj.visibility="hide"
}

function get_cookie4(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie4.length 0) {
offset = document.cookie4.indexOf(search)
if (offset != -1) { // if cookie4 exists
offset += search.length
// set index of beginning of value
end = document.cookie4.indexOf(";", offset);
// set index of end of cookie4 value
if (end == -1)
end = document.cookie4.length;
returnvalue=unescape(document.cookie4.substring(offset, end))
}
}
return returnvalue;
}

function showornot(){
if (get_cookie4('postdisplay')==''){
showit()
document.cookie4="postdisplay=yes"
}
}

function showit(){
if (ie4||ns6)
crossobj.style.visibility="visible"
else if (ns4)
crossobj.visibility="show"
}

if (once_per_browser)
showornot()
else
showit()


/script

script language="JavaScript1.2"

//drag drop function for ie4+ and NS6////
/////////////////////////////////

function drag_drop(e){
if (ie4&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
return false
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx
crossobj.style.top=tempy+e.clientY-offsety
return false
}
}

function initializedrag(e){
if (ie4&&event.srcElement.id=="postit"||ns6&&e.target.id=="postit"){
offsetx=ie4? event.clientX : e.clientX
offsety=ie4? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}
document.onmousedown=initializedrag
document.onmouseup=new Function("dragapproved=false")

/script/divdiv class="clear"//div

En la primera parte del código (la que está en color verde) puedes cambiar el color de fondo, el color de la letra, el tamaño del cuadro, etc.
Tu mensaje debes ponerlo cambiando lo que está en color rojo, puedes usar negritas, cursiva, links, etc.
Si quieres que el aviso aparezca sólo una vez por sesión cambia donde dice:
var once_per_browser=0

Y modifica el 0 por 1, de lo contrario el mensaje aparecerá cada vez que recargue la página o se abra otra página dentro del mismo blog.

Así de sencillo puedes avisar a tus lectores de lo que creas importante.

WordPress themes for designers chicago hair laser removal structured settlement agreement mesothelioma trial attorney CAR INSURANCE QUOTES UTAH best criminal lawyer in arizona car accident lawyer michigan Online casino CAR INSURANCE IN SOUTH DAKOTA Motor Replacements cheaper insurance companies DONATE YOUR CAR FOR KIDS Hard drive Data Recovery Services Learning adobe illustrator structured settlement broker Cheap car insurance for ladies Personal Injury Law Firm mesothelioma lawyers san diego Casino domains yahoo Car insurance quotes Colorado Social media campaigns Mobile casino Social media examiner Car Insurance Quotes Utah selling annuity payments for cash Structures Annuity Settlement Mortgage business administration masters Massage School Dallas Texas DALLAS MESOTHELIOMA ATTORNEYS personal injury solicitor personal injury accident lawyer Criminal Defense Attorneys Florida Make money online Australia Casino reviews Live casino CRIMINAL DEFENSE ATTORNEYS FLORIDA mesothelioma charities Criminal lawyer mesothelioma help Seo company CAR INSURANCE QUOTES MN Dwi lawyer criminal defense federal lawyer Donating Used Cars to Charity Car Insurance Quotes MN ONLINE MOTOR INSURANCE QUOTES Criminal defense lawyer Business finance group World trade center footage Bankruptcy lawyer phd in counseling education benchmark lending Met Auto Hire php developers refinance with bad credit small business administration sba Met auto california law lemon DUI lawyer Html email mesotheloma Psd to html Royalty Free Images Stock Car Insurance Quotes PA adverse remortgage Best Criminal Lawyers in Arizona Data Recovery Raid Annuity Settlements auto insurance yuba city ca Donate Car to Charity California hughes net business injury attorney baton rouge boulder personal injury lawyers Email Bulk Service average mesothelioma settlement Hire php programmers mesothelioma settlements Best Seo company Cheap domain registration hosting FORENSICS ONLINE COURSE canada personals yahoo Auto Mobile Shipping Quote los angeles auto accident attorneys Best social media platforms for business Personal Injury Lawyers donate your car for kids Business VOIP Solutions Online Christmas cards Christmas cards online criminal justice degree Donate your car for money Car Donate Service business software Asbestos Lung Cancer Php programmers for hire Automobile Accident Attorney Hire php developer Dallas Mesothelioma Attorneys Computer science classes online Php programmers Seo companies Car Insurance Companies Royalty free images stock New social media platforms register free domains tucson car accident attorney Social media platforms for business Online colledges webex costs Donate Old Cars to Charity mesothelioma information Custom WordPress theme designer Psd to WordPress

Share: