Mostrando entradas con la etiqueta Trucos. Mostrar todas las entradas
Mostrando entradas con la etiqueta Trucos. Mostrar todas las entradas

Cómo hacer que el gadget de Páginas se haga flotante al bajar el scroll – Shipping – World



Hace algún tiempo vimos cómo poner unosbotones para compartir que se detienen y flotan al bajar la página. Esta vez usando el mismo script conseguiremos el mismo efecto pero con el gadget de Páginas. Lo que hace este código es queal bajar el scroll de la página el gadget de Páginas flota y se mantiene visible, y una vez que se sube el scroll de la página el gadget toma de nuevo su posición original.
Eneste blog de pruebas puedes verlo funcionando, sube y baja por la página para ver cómo se comporta el menú.

Para colocarlo en tu blog entra enPlantilla | Edición de HTML y antes de/head pega lo siguiente:
script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/
script
//![CDATA[
$(function() {
var $flotarMenu = $("#PageList1"),
$window = $(window),
offset = $flotarMenu.offset();
$window.scroll(function() {
if ($window.scrollTop() offset.top) {
$flotarMenu.css({'position' : 'fixed', 'width' : '880px', 'top' : '0px'});
} else {
$flotarMenu.css({'position' : 'relative', 'top' : 'auto'});
}
});
});
//
/script
style
#PageList1 {
width:880px; /* Ancho del gadget de Páginas */
background:#fff;/* Color de fondo del gadget */
z-index: 99;
}
/style
¿Qué hay que tener en cuenta si decides usarlo?
Si ya tuvieras jQuery omite la primera línea en color gris. Y si usarasScriptaculous/Prototypedeberás hacer unos cambios.

Lo que está encolor rojo es el ID del gadget de Páginas, así que asegúrate que el ID de tu gadget sea el mismo que el que se muestra en el código, ya que algunas veces puede variar a#PageList2,#PageList3, etc. si así fuera sólo cambia lo que está en rojo por tu verdadero ID.
Incluso puedes usarlo con cualquier otro menú, sólo tendrás que cambiar lo que está en rojo por el ID de tu menú, aunque seguramente tendrás que añadir algunos estilos extras debajo de style

Encolor azul se establece el ancho del gadget. Si ves que queda muy angosto o muy ancho ahí es donde deberás moverle.

Si usas la plantillaFantástico, S.A. (Awesome Inc.) sabrás que el menú cubre todo el ancho de la pantalla, así que quienes usen esa plantilla deberán usar este código en lugar del anterior:
script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/

script
//![CDATA[
$(function() {
var $flotarMenu = $(".tabs-outer"),
$window = $(window),
offset = $flotarMenu.offset();
$window.scroll(function() {
if ($window.scrollTop() offset.top) {
$flotarMenu.css({'position' : 'fixed', 'width' : '100%', 'top' : '0px'});
} else {
$flotarMenu.css({'position' : 'relative', 'top' : 'auto'});
}
});
});
//
/script
style
.tabs-outer {
width:100%;
background: url(http://www.blogblog.com/1kt/awesomeinc/tabs_gradient_groovy.png) repeat scroll 0px 0px#000;/* Color de fondo */
z-index: 99;
}
/style
En este caso no hace falta verificar el ID del gadget ni cambiar el ancho del gadget, pero en caso de que lo requieras puedes cambiar el color de fondo modificando lo que está en negrita.

Como has podido ver la instalación es de un solo paso y no hace falta hacer nada más excepto retocar algunos estilos en caso de ser necesario; y el resultado además de ser muy llamativo puede ser muy práctico para tus visitantes y para ti, sobre todo si quieres que tus lectores tengan siempre visibles y a la mano los enlaces de tu menú.

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetMundial Football Mesothelioma law firm,mega life and health FIFA World Cup es un buen servicio en las distintas naciones trans union pero resulto que tenia cancer y fui a asbestos cancer y me dijeron en asbestos mesothelioma que tambien padecia de prostate cancer treatment y un daño tremendo a mi organismo fui a malignant pleural mesothelioma,asi que hice un prestamo en credit repair y otro en chase credit pero de pronto un anti spam software asi que decido un auto en rental car in costa rica me registre en Facebook en internet domain registration y tambien obtuve un domain registration,Selling annuity payments for cash,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Donate Car To Charity CALIFORNIA DONATE CAR FOR TAX CREDITDONATE CARS IN MADONATE YOUR CAR SACRAMENTOHOW TO DONATE A CAR IN CALIFORNIA DONATE YOUR CAR FOR KIDS,CAR INSURANCE QUOTES COLORADO ,NUNAVUT CULTURE,DAYTON FREIGHT LINESHARDDRIVE DATA RECOVERY SERVICES,DONATE A CAR IN MARYLAND,MOTOR REPLACEMENTS,CHEAP DOMAIN REGISTRATION HOSTING,DONATING A CAR IN MARYLANDMundial Football Los Abogado de lesiones personales en Chicago,FIFA World Cup son muy buenos en chicago y nos ofrecen una Cotizacion de seguro y Cotizacion de Seguro de Vida y Cotizacion de seguro de coches,mesotelioma. Y visitar mesothelioma lawyers o tambien podriamos visitar mesothelioma symptoms y lexington law tambien many people lexington law firm and merlin olsen mesothelioma many people mesothelioma trial lawyers and atlanta mesothelioma lawyers Mesothelioma law firm, massachusetts mesothelioma attorney EEUU,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Hire php developer Donate cars Illinois Php programmers for hire Futuristic architecture domain registration yahoo Php programmers domain name yahoo selling annuity payments for cash quotes car Cheap Car Insurance in Virginia semi truck accident lawyers auto accident attorney Torrance Criminal lawyer Learning adobe illustrator Italian cooking school Donating a Car in Maryland Online casino HOME PHONE INTERNET BUNDLE anti spam exchange server Forensics Online Course webex costs motorcycle lawyer los angeles structured settlement company best criminal lawyer in arizona STRUCTURED ANNUITY SETTLEMENT business administration masters Donate your Car for Money new york mesothelioma law firm Casino Paperport Promotional Code Best social media platforms for business Donate a Car in Maryland Cheap Auto Insurance in VA Dwi lawyer car insurance quotes Royalty Free Images Stock Bankruptcy lawyer Hire php programmers Mobile casino buy structured settlements Criminal defense lawyer Custom WordPress theme designer refinance with poor credit Home Phone Internet Bundle DUI lawyer ONLINECLASSES phd in counseling education car insurance in south dakota Attorney DONATE A CAR IN MARYLAND Make money online Australia florida car insurance company Annuity Settlements Casino reviews Live casino miami personal injury lawyer donate car for tax credit Donate Car to Charity California Social media strategies Email Bulk Service Motor Insurance Quotes houston mesothelioma attorney CAR INSURANCE IN SOUTH DAKOTA Personal Injury Law Firm Hire php developers ONLINE COLLEDGES New social media platforms WORLD TRADE CENTER FOOTAGE register free domains SELL ANNUITY PAYMENT Seo companies Cheap Car Insurance for Ladies fast cash for house Service business software mesothelioma attorney illinois Asbestos Lawyers mesothelioma personal injury lawyers Auto Mobile Shipping Quote Psd to WordPress Seo services Home phone internet bundle Donate Cars in MA Computer science classes online ONLINE MOTOR INSURANCE QUOTES motor insurance quotes online colledges accident attorney orange county Life insurance co Lincoln structured settlement annuity companies Health Records Personal Health Record Cheap car insurance in Virginia PHD IN COUNSELING EDUCATION Custom Christmas cards Donate Cars Illinois structured settlements companies structered settlement mesothelioma compensation WordPress hosting pharmacist jobs in chicago Auto Accident Attorney mesothelioma attorney florida Business finance group yahoo web hosting Social media platforms for business cheap domain registration hosting Hard drive Data Recovery Services AUTOMOBILE ACCIDENT ATTORNEY Business management software Donate Old Cars to Charity Online Colleges donating used cars to charity miami personal injury attorney Best Seo company forensics online course Photo Christmas cards

Share:

Blogger: Cómo poner entradas relacionadas en formato texto – dinero – php


Blogger: Cómo poner entradas relacionadas en formato texto
Las entradas relacionadas ayudan a que el lector permanezca en nuestro blog, ya que muestran otros artículos con contenido similar al que está visualizando en ese momento, invitándole a que siga navegando en nuestro sitio.

Este tema está muy vinculado a lastécnicas de posicionamiento (SEO On-Page). Una buena costumbre cuando escribes tus entradas, es poner enlaces hacia otras entradas de tu mismo blog, ayudando a que el usuario profundice en algunos temas y no se pierda el contenido que de otra forma quizás nunca hubiese visto.

La herramienta que vamos a utilizar, va a automatizar la generación de enlaces relacionados con una entrada específica. De tal forma, que una vez la incluyas en tu blog, sólo te preocuparás de asignar etiquetas a tus entradas y la herramienta hará el resto.

Además de ayudar a bajar latasa de rebote(usuarios que salen de nuestro sitio sin interactuar con él), también le echará un cable a los motores de búsqueda, ya que si algunos de los enlaces de las entradas relacionadas no estaban indexados, el motor los encontrará e indexará.

Por tanto, si es bueno para el SEO y es bueno para nuestros lectores, entonces es bueno para nosotros. He implementado un pequeño código en javascript que hace el trabajo sucio, vamos a aprovecharlo para incluirlo en el código de nuestra plantilla en el mejor sitio posible: al final de las entradas.

Dependiendo de la temática de tu blog, te puede interesar incluir lasentradas relacionadas con imágenes en miniatura o como enlaces de texto. El ejemplo que veremos aquí, genera un índice de entradas relacionadas en formato texto, de forma muy limpia para que le puedas aplicar los estilos CSS que quieras.

Si quieres incluir enlaces relacionados con imágenes en miniatura,LinkWithinofrece un servicio excelente. En su página explican los pasos a seguir para incluirlo.

Incluir entradas relacionadas en formato texto

  1. Nos vamos a la edición del código HTML de la plantilla
    Plantilla Editar HTML
  2. Copia este código justo antes de la etiqueta "/head"
    Ctrl+ F y buscamos "/head"
    !-- Entradas relacionadas --
    script type='text/javascript'
    var baerTitulo="También te puede interesar";
    /script
    script src='https://googledrive.com/host/0B-DHLEFnmkpLcENZLUZKdHBJTFE/js/entradas-relacionadas-min.js' type='text/javascript'/
  3. Copia el código siguiente, justo después de "data:post.body/"
    Ctrl+ F y buscamos "data:post.body/", si aparece más de una vez pégalo después del data:post.body/ que se encuentre dentro de b:if cond='data:blog.pageType == "item"'
    !-- Entradas relacionadas --
    div id='baer'
    b:loop values='data:post.labels' var='label'
    script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=entradas_relacionadas&max-results=8"' type='text/javascript'//b:loop
    script type='text/javascript'
    var baerMaximo=5;eliminar_duplicados(); mostrar_entradas_relacionadas("data:post.url/");
    /script
    /div
  4. Guarda la plantilla y visualiza el blog
Recuerda, antes de hacer cualquier modificación, es recomendable realizar una copia de seguridad de tu plantilla. En Blogger Plantilla "Crear/Restablecer copia de seguridad".
Si has seguido los pasos anteriores, al acceder a alguna de las entradas del blog, obtendremos un resultado similar a éste:

Entradas relacionadas en formato texto

Configurar las entradas relacionadas

Ya tienes funcionando los enlaces relacionados con los valores que he puesto por defecto: 5 enlaces relacionados como máximo y como titular aparece el texto "También te puede interesar". Estos parámetros son personalizables y muy fáciles de modificar.

Cambiar el titular

Si te fijas en elcódigo del paso 2, he resaltado el texto del titular: «var baerTitulo="También te puede interesar";», sustitúyelo por el que quieras. Si tienes un blog de cocina, podrías poner "Otras recetas similares", "Si te gustó esta receta, también te va a gustar", etc.

Número máximo de enlaces

En elcódigo del paso 3, he resaltado la variable que debes modificar (var baerMaximo=5).En el ejemplo se muestran 5 enlaces, cambia ese valor por el número máximo de enlaces que desees.

Cambiar el aspecto de las entradas relacionadas

Los enlaces se incluyen dentro de una lista desordenada ul, en elementos li. Toda la lista está contenida en un div con identificador "baer". Sabiendo ésto, puedes aplicar los estilos que más te gusten, ya depende del conocimiento que tengas de CSS.

En la mayoría de casos, bastará con el aspecto que se muestra por defecto, puesto que utiliza los estilos de tu plantilla. Veamos un ejemplo sencillo de cómo se puede cambiar el aspecto de la lista mediante CSS.

Edita tu plantilla de blogger, ve al código HTML y pega el siguiente código CSS, justo antes de/b:skin
#baer ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#baer li {
font-size: 1.2em;
border-bottom: 1px solid #ccc;
}
#baer li:last-child {
border: none;
}
#baer li a {
text-decoration: none;
color: #000;
display: block;
-webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
-moz-transition: font-size 0.3s ease, background-color 0.3s ease;
-o-transition: font-size 0.3s ease, background-color 0.3s ease;
-ms-transition: font-size 0.3s ease, background-color 0.3s ease;
transition: font-size 0.3s ease, background-color 0.3s ease;
}
#baer li a:hover {
color: #e8550b;
background: #F7F7F1;
}

Éste es el resultado, aplicando los estilos:

Entradas relacionadas en formato texto con CSS

En este ejemplo, se resaltan las entradas al pasar el ratón por ellas, utilizando un efecto de transición. Partiendo del ejemplo, puedes adaptar los estilos de tus entradas relacionadas para darle el aspecto que desees.

Cómo funciona

Para los más curiosos, vamos a explicar cómo es el comportamiento de los enlaces relacionados.

Al crear una entrada en blogger le podemos asignar una o más etiquetas, el javascript se basará en éstas etiquetas para encontrar otras entradas similares. Cuanto mejor tengas asignadas tus etiquetas, mejor se comportará tus entradas relacionadas.

Se descartarán los enlaces de entradas repetidas, además del enlace de la misma entrada en la que se está. Del conjunto de enlaces relacionados, se seleccionará aleatoriamente el número máximo que se ha pasado por parámetro, de tal forma que no aparezcan siempre los mismos enlaces.

Si por ejemplo, a una entrada le habíamos asignado las etiquetas A y B, el javascript buscará todas las entradas con etiquetas A o B (supongamos 40), descartará las repetidas y de la lista seleccionará aleatoriamentebaerMaximoentradas (supongamos 5).

Conclusión

Aunque hubiese sido más sencilloincluir las entradas relacionadas como un gadget HTMLal final de las entradas, el resultado no sería tan efectivo. Ten en cuenta que si los enlaces se presentan de forma natural en nuestras entradas, será visible en elfeedy tenido más en cuenta por los buscadores, además de que el usuario lo verá mucho más natural.

En un próximo artículo haremos lo mismo, pero añadiendo imágenes en miniatura, tal como hace LinkWithin. La ventaja es que podremos personalizarlo mucho más, tal y como hemos hecho con éste.

Espero que te haya resultado útil, coméntame cualquier duda que tengas, estaré encantado de poder resolverla. Si lo has logrado incluir en tu blog, puedes dejar el enlace en los comentarios para echarle un vistazo :-)

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private Jet

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetPero tuve que ser Mundial Football consolidating FIFA World Cup web host rating,register web address,online psychology degree,her first lesbian sex, make extra money ,make money fast and easy,addwords y mejor obtuve un credit application,visa gift carda,Mesothelioma law firm,voip phone service,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Psd to html Online casino saskatchewan auto insurance Online Classes canada personals yahoo MORTGAGE ADVISER Car insurance quotes pa DONATE YOUR CAR FOR KIDS mesothelioma help compare life assurance donate your car for kids structured settlement blog Forex Trading Platform Hire php developer Criminal lawyer Best social media platforms for business Custom Christmas cards Bankruptcy lawyer Asbestos Lawyers Live casino Social media campaigns best mesothelioma lawyers Donate Car To Charity CALIFORNIA Hard drive Data Recovery Services Tech school Casino World trade center footage Make money online Australia Hire php developers Hire php programmers forensics online course Futuristic Architecture Life insurance co Lincoln CAR INSURANCE QUOTES UTAH mesothelioma lawyer texas Dwi lawyer CAR INSURANCE QUOTES MN data recovery raid cheap domain registration hosting SELL ANNUITY PAYMENT Massage School Dallas Texas Mobile casino BETTER CONFERENCING CALLS New social media platforms Italian cooking school mesothelioma lawyer houston Donate your Car for Money Better Conference Calls Life Insurance Co Lincoln buy structured settlements Casino reviews mesothelioma symptoms Paperport Promotional Code mesothelioma attorney assistance DUI lawyer Auto Mobile Shipping Quote chicago hair laser removal maritime lawyer houston cash out annuity Social media platforms for business criminal defense attorneys florida Psd to WordPress Social media platforms Business management software Social media examiner personal injury accident lawyer donate old cars to charity Donate Cars in MA Donate Cars Illinois Motor Replacements california law lemon asbestos exposure lawyers Php programmers VIRTUAL DATA ROOMS Service business software structured annuity settlement CHEAP CAR INSURANCE IN VIRGINIA How to Donate A Car in California HOW TO DONATE A CAR IN CALIFORNIA FORENSICS ONLINE COURSE Car Donate Criminal defense lawyer firm law mesothelioma Business Voip Solutions Php programmers for hire ashely madis CAR INSURANCE QUOTES COLORADO supportpeachtreecom Social media management injury lawyers virtual data rooms EMAIL BULK SERVICE la personal injury lawyer Met Auto car insurance quotes pa Mortgage Adviser baltimore mesothelioma attorneys Computer science classes online mesothelioma attorneys Structures Annuity Settlement Dedicated Hosting Dedicated Server Hosting Seo companies auto accident lawyer san francisco CRIMINAL DEFENSE ATTORNEYS FLORIDA best consolidation loan student auto insurance yuba city ca Business finance group Custom WordPress theme designer car accident lawyers west palm beach Seo services Best Seo company Data Recovery Raid Donate Car for Tax Credit Mesothelioma Law Firm Personal Injury Law Firm

Share:

Blogger: Cómo poner un formulario de contacto con Foxyform – Hosting – Virtual

Blogger: Cómo poner un formulario de contacto con FoxyForm
Una de las secciones que no deben faltar en tu blog es elformulario de contacto. Mediante esta opción facilitas que los usuarios de tu blog puedan comunicarse contigo,a través del correo electrónico. Esto te permitirá recibir retroalimentación sobre el estado de tu blog, críticas, dudas, etc. En definitiva, mantener un vínculo entre tú y tu comunidad de usuarios.

Blogger nos viene de serie con ungadget que cumple con este cometido, pero está ideado para incluirlo en una sección de nuestro blog. Si lo que quieres es añadir una página con un formulario de contacto, esta opción no nos sirve, al menos directamente.

Aunque existen muchas formas de incluir una página de contacto, las más utilizadas son:
  • Incluir un formulario facilitado por terceros, como FoxyForm
  • Modificar el gadget nativo de blogger, para que aparezca en una página
  • Utilizar un formulario de Google Docs e incrustarlo en nuestro Blog

¿Cuál crees que es la mejor opción?... pues como pasa siempre, la que mejor se adapte a tus necesidades. No es que no me quiera mojar, es que realmente ninguna es mejor que otra, todo depende de lo que quieras hacer.

Yo te propongo lo siguiente:
  • FoxyForm o similares.- Si quieres algo que funcione, sin complicaciones
  • Toqueteando el gadget de Blogger.- Si no le tienes miedo al código y no quieres depender de terceros
  • Formulario de Google Docs.- Si amas a Google

Hoy vamos a analizar la primera opción, veremoscómo incluir un formulario de contacto con Foxyform y aprenderemos a personalizarlo, más allá de las opciones que nos ofrecen por defecto.

Poner un formulario de contacto con Foxyform

Hay muchas empresas que nos facilitan la vida, nos dejan amablemente unas herramientas estupendas que integramos en nuestro blog en un periquete. Vamos a aprovecharnos de una denominadaFoxyform, que funciona y además muy bien.

Paso 1: Configurar Foxyform

  1. Entramos en la página oficial de Foxyform
  2. En opciones básicas, seleccionamos los campos que necesitemos en nuestro formulario
    Foxyform - Opciones básicas
    Marca las opciones que necesites en tu formulario de contacto, para guiarte échale un vistazo a la vista previa que se va generando en la parte inferior. Recuerda marcar como obligatorio, los campos que quieras forzar a introducir al usuario.
  3. Seleccionamos opciones de la configuración avanzada
    Foxyform - Configuración avanzada
    Éstas son las únicas opciones que podemos controlar del aspecto del formulario, selecciona las que mejor vayan con la plantilla que estés utilizando. Luego veremos como modificar otras opciones de la presentación desde Blogger.
  4. Introducimos dirección de correo electrónico, donde se enviarán los datos del formulario
    Foxyform - Correo electrónico
  5. Pulsamos el botón Crear Formulario
    Foxyform - Crear formulario
  6. Se generará el código HTML, que necesitarás para el siguiente paso
    Foxyform - Código generado

Paso 2: Poner FoxyForm en una página de Blogger

  1. Creamos una página en blanco
    Blogger Páginas Página Nueva Página en blanco
  2. Le ponemos un título a la página, por ejemplo "Contacto"
  3. Pulsamos sobre botón HTML y pegamos el código obtenido al final de paso 1
  4. Publicamos
Si has seguido los pasos anteriores, ya tienes disponible el formulario de contacto en tu blog. Si añadimos el código generado en esta misma entrada, éste es el resultado:
Formulario de contacto generado con Foxyformfoxyform

Como puedes observar, es muy sencillo de incluir. Si quieres modificar alguna opción, basta con iniciar los pasos anteriores, generar un nuevo código y volverlo a pegar en la página de contacto.

Cómo personalizar Foxyform

La herramienta que nos facilita Foxyform desde su página web, no permite modificar muchas opciones del aspecto del formulario. Vamos a utilizar algunos trucos, para tener un mayor control sobre la presentación.

Modificar el ancho del formulario

Por defecto, el formulario es muy estrecho. Puedes cambiar el ancho, modificando el parámetrowidthdel código que proporciona Foxyform. Al final del paso 1, se te generó un código parecido a éste:
!-- Do not change the code! --
a id="foxyform_embed_link_131472" href="http://es.foxyform.com/"foxyform/a
script type="text/javascript"
(function(d, t){
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = "http://es.foxyform.com/js.php?id=131472&sec_hash=15f3e67be28&width=350px";
s.parentNode.insertBefore(g, s);
}(document, "script"));
/script
!-- Do not change the code! --
Edita la página que creaste en el paso 2 y modifica el valor resaltado (350px), por el ancho que mejor se adapte a la plantilla que tengas (500px por ejemplo).

Eliminar barra de desplazamiento vertical

El código que genera Foxyform incrusta un iframe que, en algunos casos, hace aparecer una barra vertical poco estética. Para eliminarla debemos ajustar el alto del iframe, vamos a emplear CSS para hacerlo:
style
.post-body iframe {
height: 600px;
}
/style

Edita la página creada en el paso 2 en formato HTML y copia el código al principio del documento. Ajusta el alto del ejemplo (600px), por el que mejor se adapte según tu formulario de contacto.

Avanzado: hackeando Foxyform

Foxyform no permite personalización CSS mucho más allá de lo que hemos hecho, debido a que genera estilos propios a nivel interno. Para lograr personalizarlo aún más, tendríamos que recurrir a javascript o utilizar código directo.

El código que nos proporciona Foxyform, genera un elemento iframe de esta forma:
iframe src="http://es.foxyform.com/form.php?id=131472&sec_hash=15f3e67be28" width="500px" height="474px" style="border: none;" frameborder="0"/iframe

Si usamos este código, en vez del que nos proporciona Foxyform, tenemos la libertad de modificar el ancho y el alto directamente en los atributos de iframe, además, vamos a incluirle un nuevo atributoscrolling="no", que evitará que aparezcan las molestas barras de desplazamiento. El código resultante quedaría así:
iframe src="http://es.foxyform.com/form.php?id=131472&sec_hash=15f3e67be28" scrolling="no" width="500px" height="450px" style="border: none;" frameborder="0"/iframe
Sustituye el código que te proporcionó Foxyform por éste otro, recuerda poner tuidysec_hash y no el que aparece en el ejemplo.
Si utilizamos este método también eliminaremos los créditos de Foxyform. El parámetro id y sec_hash de Foxyform se genera cada vez que creamos un formulario, estos valores los puedes copiar del código que te genera Foxyform.
Éste es el resultado del código anterior, donde hemos especificado un ancho de 500px, alto de 450px y hemos forzado a que no aparezcan barras de desplazamiento:

Formulario de contacto Foxyform, incrustado directamente

Conclusión

Tanto si ya tenías unformulario de contacto con Foxyform, como si no, espero que esta guía te haya ayudado a conocerlo un poco mejor y a mejorarlo. Como ya comenté inicialmente, existen otros tipos de formulario y lo veremos en detalle en próximos artículos.

Ya sabes que me tienes disponible para cualquier duda, sírvete de miformulario de contacto. Que, por cierto, está hecho con Foxyform ;-)

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetMundial Football Mesothelioma law firm,mega life and health FIFA World Cup es un buen servicio en las distintas naciones trans union pero resulto que tenia cancer y fui a asbestos cancer y me dijeron en asbestos mesothelioma que tambien padecia de prostate cancer treatment y un daño tremendo a mi organismo fui a malignant pleural mesothelioma,asi que hice un prestamo en credit repair y otro en chase credit pero de pronto un anti spam software asi que decido un auto en rental car in costa rica me registre en Facebook en internet domain registration y tambien obtuve un domain registration,Selling annuity payments for cash,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetPero tuve que ser Mundial Football consolidating FIFA World Cup web host rating,register web address,online psychology degree,her first lesbian sex, make extra money ,make money fast and easy,addwords y mejor obtuve un credit application,visa gift carda,Mesothelioma law firm,voip phone service,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

DONATING A CAR IN MARYLAND World Trade Center Footage car crash attorneys buyer of structured settlement annuity structured settlement annuity companies Online casino Bankruptcy lawyer Donate old cars to charity Donating Used Cars to Charity Seo company LIFE INSURANCE CO LINCOLN Dwi lawyer HOLLAND MICHIGAN COLLEGE Casino reviews georgia truck accident lawyer Social media platforms ONLINE MOTOR INSURANCE QUOTES Learning adobe illustrator Casino Donate your car for kids mesothelioma litigation Live casino truck accident attorney los angeles Cheap Car Insurance in Virginia structured settlement purchasers business email web hosting car accident lawyers injury lawyers west palm beach donate old cars to charity Car Donate Mesothelioma Law Firm Mobile casino Business management software ashely madis adverse credit remortgage AUTO ACCIDENT ATTORNEY New social media platforms Business finance group car accident lawyer michigan Best social media platforms See more at http//wwwginfostopnet/ Make money online Australia MORTGAGE ADVISER mesothelioma care car accident lawyers west palm beach Low Credit Line Credit Cards Structures Annuity Settlement sell my structured settlement miami personal injury attorney mesothelioma charities Social media examiner Car Insurance Quotes Utah lease management software Tech school Donating a Car in Maryland Attorney Hire php programmers saskatchewan auto insurance holland michigan college DUI lawyer Donate Car To Charity CALIFORNIA Seo companies MOTOR REPLACEMENTS injury lawyers DALLAS MESOTHELIOMA ATTORNEYS PHD IN COUNSELING EDUCATION los angeles auto accident attorneys Hire php developers donate your car for money Criminal Defense Attorneys Florida Php programmers Auto Mobile Insurance Quote Photo Christmas cards city college in miami hughes net business DAYTON FREIGHT LINES business administration masters Personal Injury Lawyer donating used cars to charity benchmark lending Donate Old Cars to Charity online criminal justice degree Car Insurance Quotes auto accident attorney Torrance Criminal lawyer Php programmers for hire mesothelioma law firms Donating a car in Maryland fortis health insurance temporary anti spam exchange server selling my structured settlement Virtual Data Rooms Service business software Seo services STRUCTURED ANNUITY SETTLEMENT personal injury lawyer sarasota fl Life Insurance Co Lincoln Donate Car for Tax Credit Nunavut culture Criminal defense lawyer ANNUITY SETTLEMENT How to Donate A Car in California Forex Trading Platform Hire php developer Computer science classes online PSYCHIC FOR FREE Cheap Domain Registration Hosting Best social media platforms for business caraccidentlawyer Futuristic Architecture what is structured settlement Social media campaigns illinois mesothelioma lawyer Custom Christmas cards AUTOMOBILE ACCIDENT ATTORNEY

Share:

Personalizar la barra de desplazamiento (scrollbar) con jScrollPane – Miami

jScrollPane es un script de jQuery que permitecambiar la barra de desplazamiento del blog, es decir,el scrollbar del navegador.
Si bien podemos usar CSS para modificarlo, el problema es que no está estandarizado, por lo que con CSS sólo podemos hacerlo funcionar en Chrome y Safari; y en el caso de Internet Explorer también tiene su propio código pero obviamente sólo funciona en ese navegador (no sé en cuáles versiones). Así que lo que haremos a continuación es darle un nuevo aspecto al scrollbar pero usando jQuery, de esta manera el cambio será visible en todos los navegadores.

Puedes ver un ejemplo eneste blog de pruebas, verás que la barra de desplazamiento tiene otra forma y color.

Paracambiar el scrollbar de tu blog primero entra enPlantilla | Edición de HTML y antes de/head pega este código:
script src='//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'/

style
.jspContainer {overflow: hidden;position: relative;}.jspPane {position: absolute;}
.jspVerticalBar {position: absolute;top: 0;right: 0;width: 16px;height: 100%;background: #ccc;}
.jspHorizontalBar {position: absolute;bottom: 0;left: 0;width: 100%;height: 16px;background: #ccc;}
.jspVerticalBar *,.jspHorizontalBar * {margin: 0;padding: 0;}
.jspCap {display: none;}.jspHorizontalBar .jspCap {float: left;}

.jspTrack {
background: #dde;/* Color de fondo de la barra */
position: relative;
}
.jspDrag {
background: #bbd;/* Color del botón de desplazamiento */
position: relative;
top: 0;
left: 0;
cursor: pointer;
}
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
float: left;
height: 100%;
}
.jspArrow {
background: #50506d;/*Color de los límites */
text-indent: -20000px;
display: block;
cursor: pointer;
}
.jspArrow.jspDisabled {
cursor: default;
background: #80808d;/*Color de los límites cuando el botón llega hasta ellos */
}
.jspVerticalBar .jspArrow {
height: 16px;
}
.jspHorizontalBar .jspArrow {
width: 16px;
float: left;
height: 100%;
}
.jspVerticalBar .jspArrow:focus {outline: none;}.jspCorner {background: #eeeef4;float: left;height: 100%;}* html .jspCorner {margin: 0 -3px 0 0;}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#blog-container {
height: 100%;
margin: 0;
padding: 0;
overflow: auto;
}
/style
script
//![CDATA[
/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
* Version: 3.1.3
*/

(function (factory) {
if ( typeof define === 'function' && define.amd ) {
define(['jquery'], factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {

var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'];
var toBind = 'onwheel' in document || document.documentMode = 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'];
var lowestDelta, lowestDeltaXY;

if ( $.event.fixHooks ) {
for ( var i = toFix.length; i; ) {
$.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks;
}
}

$.event.special.mousewheel = {
setup: function() {
if ( this.addEventListener ) {
for ( var i = toBind.length; i; ) {
this.addEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
},

teardown: function() {
if ( this.removeEventListener ) {
for ( var i = toBind.length; i; ) {
this.removeEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
}
};

$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
},

unmousewheel: function(fn) {
return this.unbind("mousewheel", fn);
}
});

function handler(event) {
var orgEvent = event || window.event,
args = [].slice.call(arguments, 1),
delta = 0,
deltaX = 0,
deltaY = 0,
absDelta = 0,
absDeltaXY = 0,
fn;
event = $.event.fix(orgEvent);
event.type = "mousewheel";
if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta; }
if ( orgEvent.detail ) { delta = orgEvent.detail * -1; }
if ( orgEvent.deltaY ) {
deltaY = orgEvent.deltaY * -1;
delta = deltaY;
}
if ( orgEvent.deltaX ) {
deltaX = orgEvent.deltaX;
delta = deltaX * -1;
}
if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY; }
if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = orgEvent.wheelDeltaX * -1; }
absDelta = Math.abs(delta);
if ( !lowestDelta || absDelta lowestDelta ) { lowestDelta = absDelta; }
absDeltaXY = Math.max(Math.abs(deltaY), Math.abs(deltaX));
if ( !lowestDeltaXY || absDeltaXY lowestDeltaXY ) { lowestDeltaXY = absDeltaXY; }
fn = delta 0 ? 'floor' : 'ceil';
delta = Math[fn](delta / lowestDelta);
deltaX = Math[fn](deltaX / lowestDeltaXY);
deltaY = Math[fn](deltaY / lowestDeltaXY);
args.unshift(event, delta, deltaX, deltaY);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
}));

/*
* jScrollPane - v2.0.0beta5 - 2010-09-18
* http://jscrollpane.kelvinluck.com/
* Copyright (c) 2010 Kelvin Luck
* Dual licensed under the MIT and GPL licenses.
*/
(function(b,a,c){b.fn.jScrollPane=function(f){function d(C,L){var au,N=this,V,ah,v,aj,Q,W,y,q,av,aB,ap,i,H,h,j,X,R,al,U,t,A,am,ac,ak,F,l,ao,at,x,aq,aE,g,aA,ag=true,M=true,aD=false,k=false,Z=b.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";aE=C.css("paddingTop")+" "+C.css("paddingRight")+" "+C.css("paddingBottom")+" "+C.css("paddingLeft");g=(parseInt(C.css("paddingLeft"))||0)+(parseInt(C.css("paddingRight"))||0);an(L);function an(aH){var aL,aK,aJ,aG,aF,aI;au=aH;if(V==c){C.css({overflow:"hidden",padding:0});ah=C.innerWidth()+g;v=C.innerHeight();C.width(ah);V=b('div class="jspPane" /').wrap(b('div class="jspContainer" /').css({width:ah+"px",height:v+"px"}));C.wrapInner(V.parent());aj=C.find(".jspContainer");V=aj.find(".jspPane");V.css("padding",aE)}else{C.css("width",null);aI=C.outerWidth()+g!=ah||C.outerHeight()!=v;if(aI){ah=C.innerWidth()+g;v=C.innerHeight();aj.css({width:ah+"px",height:v+"px"})}aA=V.innerWidth();if(!aI&&V.outerWidth()==Q&&V.outerHeight()==W){if(aB||av){V.css("width",aA+"px");C.css("width",(aA+g)+"px")}return}V.css("width",null);C.css("width",(ah)+"px");aj.find(".jspVerticalBar,.jspHorizontalBar").remove().end()}aL=V.clone().css("position","absolute");aK=b('div style="width:1px; position: relative;" /').append(aL);b("body").append(aK);Q=Math.max(V.outerWidth(),aL.outerWidth());aK.remove();W=V.outerHeight();y=Q/ah;q=W/v;av=q1;aB=y1;if(!(aB||av)){C.removeClass("jspScrollable");V.css({top:0,width:aj.width()-g});n();D();O();w();af()}else{C.addClass("jspScrollable");aJ=au.maintainPosition&&(H||X);if(aJ){aG=ay();aF=aw()}aC();z();E();if(aJ){K(aG);J(aF)}I();ad();if(au.enableKeyboardNavigation){P()}if(au.clickOnTrack){p()}B();if(au.hijackInternalLinks){m()}}if(au.autoReinitialise&&!aq){aq=setInterval(function(){an(au)},au.autoReinitialiseDelay)}else{if(!au.autoReinitialise&&aq){clearInterval(aq)}}C.trigger("jsp-initialised",[aB||av])}function aC(){if(av){aj.append(b('div class="jspVerticalBar" /').append(b('div class="jspCap jspCapTop" /'),b('div class="jspTrack" /').append(b('div class="jspDrag" /').append(b('div class="jspDragTop" /'),b('div class="jspDragBottom" /'))),b('div class="jspCap jspCapBottom" /')));R=aj.find(".jspVerticalBar");al=R.find(".jspTrack");ap=al.find(".jspDrag");if(au.showArrows){am=b('a class="jspArrow jspArrowUp" /').bind("mousedown.jsp",az(0,-1)).bind("click.jsp",ax);ac=b('a class="jspArrow jspArrowDown" /').bind("mousedown.jsp",az(0,1)).bind("click.jsp",ax);if(au.arrowScrollOnHover){am.bind("mouseover.jsp",az(0,-1,am));ac.bind("mouseover.jsp",az(0,1,ac))}ai(al,au.verticalArrowPositions,am,ac)}t=v;aj.find(".jspVerticalBar.jspCap:visible,.jspVerticalBar.jspArrow").each(function(){t-=b(this).outerHeight()});ap.hover(function(){ap.addClass("jspHover")},function(){ap.removeClass("jspHover")}).bind("mousedown.jsp",function(aF){b("html").bind("dragstart.jsp selectstart.jsp",function(){return false});ap.addClass("jspActive");var s=aF.pageY-ap.position().top;b("html").bind("mousemove.jsp",function(aG){S(aG.pageY-s,false)}).bind("mouseup.jsp mouseleave.jsp",ar);return false});o()}}function o(){al.height(t+"px");H=0;U=au.verticalGutter+al.outerWidth();V.width(ah-U-g);if(R.position().left==0){V.css("margin-left",U+"px")}}function z(){if(aB){aj.append(b('div class="jspHorizontalBar" /').append(b('div class="jspCap jspCapLeft" /'),b('div class="jspTrack" /').append(b('div class="jspDrag" /').append(b('div class="jspDragLeft" /'),b('div class="jspDragRight" /'))),b('div class="jspCap jspCapRight" /')));ak=aj.find(".jspHorizontalBar");F=ak.find(".jspTrack");h=F.find(".jspDrag");if(au.showArrows){at=b('a class="jspArrow jspArrowLeft" /').bind("mousedown.jsp",az(-1,0)).bind("click.jsp",ax);x=b('a class="jspArrow jspArrowRight" /').bind("mousedown.jsp",az(1,0)).bind("click.jsp",ax);
if(au.arrowScrollOnHover){at.bind("mouseover.jsp",az(-1,0,at));x.bind("mouseover.jsp",az(1,0,x))}ai(F,au.horizontalArrowPositions,at,x)}h.hover(function(){h.addClass("jspHover")},function(){h.removeClass("jspHover")}).bind("mousedown.jsp",function(aF){b("html").bind("dragstart.jsp selectstart.jsp",function(){return false});h.addClass("jspActive");var s=aF.pageX-h.position().left;b("html").bind("mousemove.jsp",function(aG){T(aG.pageX-s,false)}).bind("mouseup.jsp mouseleave.jsp",ar);return false});l=aj.innerWidth();ae()}else{}}function ae(){aj.find(".jspHorizontalBar.jspCap:visible,.jspHorizontalBar.jspArrow").each(function(){l-=b(this).outerWidth()});F.width(l+"px");X=0}function E(){if(aB&&av){var aF=F.outerHeight(),s=al.outerWidth();t-=aF;b(ak).find(".jspCap:visible,.jspArrow").each(function(){l+=b(this).outerWidth()});l-=s;v-=s;ah-=aF;F.parent().append(b('div class="jspCorner" /').css("width",aF+"px"));o();ae()}if(aB){V.width((aj.outerWidth()-g)+"px")}W=V.outerHeight();q=W/v;if(aB){ao=1/y*l;if(aoau.horizontalDragMaxWidth){ao=au.horizontalDragMaxWidth}else{if(aoau.horizontalDragMinWidth){ao=au.horizontalDragMinWidth}}h.width(ao+"px");j=l-ao;ab(X)}if(av){A=1/q*t;if(Aau.verticalDragMaxHeight){A=au.verticalDragMaxHeight}else{if(Aau.verticalDragMinHeight){A=au.verticalDragMinHeight}}ap.height(A+"px");i=t-A;aa(H)}}function ai(aG,aI,aF,s){var aK="before",aH="after",aJ;if(aI=="os"){aI=/Mac/.test(navigator.platform)?"after":"split"}if(aI==aK){aH=aI}else{if(aI==aH){aK=aI;aJ=aF;aF=s;s=aJ}}aG[aK](aF)[aH](s)}function az(aF,s,aG){return function(){G(aF,s,this,aG);this.blur();return false}}function G(aH,aF,aK,aJ){aK=b(aK).addClass("jspActive");var aI,s=function(){if(aH!=0){T(X+aH*au.arrowButtonSpeed,false)}if(aF!=0){S(H+aF*au.arrowButtonSpeed,false)}},aG=setInterval(s,au.arrowRepeatFreq);s();aI=aJ==c?"mouseup.jsp":"mouseout.jsp";aJ=aJ||b("html");aJ.bind(aI,function(){aK.removeClass("jspActive");clearInterval(aG);aJ.unbind(aI)})}function p(){w();if(av){al.bind("mousedown.jsp",function(aH){if(aH.originalTarget==c||aH.originalTarget==aH.currentTarget){var aG=b(this),s=setInterval(function(){var aI=aG.offset(),aJ=aH.pageY-aI.top;if(H+AaJ){S(H+au.trackClickSpeed)}else{if(aJH){S(H-au.trackClickSpeed)}else{aF()}}},au.trackClickRepeatFreq),aF=function(){s&&clearInterval(s);s=null;b(document).unbind("mouseup.jsp",aF)};b(document).bind("mouseup.jsp",aF);return false}})}if(aB){F.bind("mousedown.jsp",function(aH){if(aH.originalTarget==c||aH.originalTarget==aH.currentTarget){var aG=b(this),s=setInterval(function(){var aI=aG.offset(),aJ=aH.pageX-aI.left;if(X+aoaJ){T(X+au.trackClickSpeed)}else{if(aJX){T(X-au.trackClickSpeed)}else{aF()}}},au.trackClickRepeatFreq),aF=function(){s&&clearInterval(s);s=null;b(document).unbind("mouseup.jsp",aF)};b(document).bind("mouseup.jsp",aF);return false}})}}function w(){F&&F.unbind("mousedown.jsp");al&&al.unbind("mousedown.jsp")}function ar(){b("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");ap&&ap.removeClass("jspActive");h&&h.removeClass("jspActive")}function S(s,aF){if(!av){return}if(s0){s=0}else{if(si){s=i}}if(aF==c){aF=au.animateScroll}if(aF){N.animate(ap,"top",s,aa)}else{ap.css("top",s);aa(s)}}function aa(aF){if(aF==c){aF=ap.position().top}aj.scrollTop(0);H=aF;var aI=H==0,aG=H==i,aH=aF/i,s=-aH*(W-v);if(ag!=aI||aD!=aG){ag=aI;aD=aG;C.trigger("jsp-arrow-change",[ag,aD,M,k])}u(aI,aG);V.css("top",s);C.trigger("jsp-scroll-y",[-s,aI,aG])}function T(aF,s){if(!aB){return}if(aF0){aF=0}else{if(aFj){aF=j}}if(s==c){s=au.animateScroll}if(s){N.animate(h,"left",aF,ab)}else{h.css("left",aF);ab(aF)}}function ab(aF){if(aF==c){aF=h.position().left}aj.scrollTop(0);X=aF;var aI=X==0,aH=X==j,aG=aF/j,s=-aG*(Q-ah);if(M!=aI||k!=aH){M=aI;k=aH;C.trigger("jsp-arrow-change",[ag,aD,M,k])}r(aI,aH);V.css("left",s);C.trigger("jsp-scroll-x",[-s,aI,aH])}function u(aF,s){if(au.showArrows){am[aF?"addClass":"removeClass"]("jspDisabled");ac[s?"addClass":"removeClass"]("jspDisabled")}}function r(aF,s){if(au.showArrows){at[aF?"addClass":"removeClass"]("jspDisabled");
x[s?"addClass":"removeClass"]("jspDisabled")}}function J(s,aF){var aG=s/(W-v);S(aG*i,aF)}function K(aF,s){var aG=aF/(Q-ah);T(aG*j,s)}function Y(aN,aL,aF){var aJ,aH,s=0,aG,aK,aM;try{aJ=b(aN)}catch(aI){return}aH=aJ.outerHeight();aj.scrollTop(0);while(!aJ.is(".jspPane")){s+=aJ.position().top;aJ=aJ.offsetParent();if(/^body|html$/i.test(aJ[0].nodeName)){return}}aG=aw();aK=aG+v;if(saG||aL){aM=s-au.verticalGutter}else{if(s+aHaK){aM=s-v+aH+au.verticalGutter}}if(aM){J(aM,aF)}}function ay(){return -V.position().left}function aw(){return -V.position().top}function ad(){aj.unbind(Z).bind(Z,function(aI,aJ,aH,aF){var aG=X,s=H;T(X+aH*au.mouseWheelSpeed,false);S(H-aF*au.mouseWheelSpeed,false);return aG==X&&s==H})}function n(){aj.unbind(Z)}function ax(){return false}function I(){V.unbind("focusin.jsp").bind("focusin.jsp",function(s){if(s.target===V[0]){return}Y(s.target,false)})}function D(){V.unbind("focusin.jsp")}function P(){var aF,s;C.attr("tabindex",0).unbind("keydown.jsp").bind("keydown.jsp",function(aJ){if(aJ.target!==C[0]){return}var aH=X,aG=H,aI=aF?2:16;switch(aJ.keyCode){case 40:S(H+aI,false);break;case 38:S(H-aI,false);break;case 34:case 32:J(aw()+Math.max(32,v)-16);break;case 33:J(aw()-v+16);break;case 35:J(W-v);break;case 36:J(0);break;case 39:T(X+aI,false);break;case 37:T(X-aI,false);break}if(!(aH==X&&aG==H)){aF=true;clearTimeout(s);s=setTimeout(function(){aF=false},260);return false}});if(au.hideFocus){C.css("outline","none");if("hideFocus" in aj[0]){C.attr("hideFocus",true)}}else{C.css("outline","");if("hideFocus" in aj[0]){C.attr("hideFocus",false)}}}function O(){C.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp")}function B(){if(location.hash&&location.hash.length1){var aG,aF;try{aG=b(location.hash)}catch(s){return}if(aG.length&&V.find(aG)){if(aj.scrollTop()==0){aF=setInterval(function(){if(aj.scrollTop()0){Y(location.hash,true);b(document).scrollTop(aj.position().top);clearInterval(aF)}},50)}else{Y(location.hash,true);b(document).scrollTop(aj.position().top)}}}}function af(){b("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack")}function m(){af();b("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack",function(){var s=this.href.split("#"),aF;if(s.length1){aF=s[1];if(aF.length0&&V.find("#"+aF).length0){Y("#"+aF,true);return false}}})}b.extend(N,{reinitialise:function(aF){aF=b.extend({},aF,au);an(aF)},scrollToElement:function(aG,aF,s){Y(aG,aF,s)},scrollTo:function(aG,s,aF){K(aG,aF);J(s,aF)},scrollToX:function(aF,s){K(aF,s)},scrollToY:function(s,aF){J(s,aF)},scrollBy:function(aF,s,aG){N.scrollByX(aF,aG);N.scrollByY(s,aG)},scrollByX:function(s,aG){var aF=ay()+s,aH=aF/(Q-ah);T(aH*j,aG)},scrollByY:function(s,aG){var aF=aw()+s,aH=aF/(W-v);S(aH*i,aG)},animate:function(aF,aI,s,aH){var aG={};aG[aI]=s;aF.animate(aG,{duration:au.animateDuration,ease:au.animateEase,queue:false,step:aH})},getContentPositionX:function(){return ay()},getContentPositionY:function(){return aw()},getIsScrollableH:function(){return aB},getIsScrollableV:function(){return av},getContentPane:function(){return V},scrollToBottom:function(s){S(i,s)},hijackInternalLinks:function(){m()}})}f=b.extend({},b.fn.jScrollPane.defaults,f);var e;this.each(function(){var g=b(this),h=g.data("jsp");if(h){h.reinitialise(f)}else{h=new d(g,f);g.data("jsp",h)}e=e?e.add(g):g});return e};b.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:10,arrowButtonSpeed:10,arrowRepeatFreq:100,arrowScrollOnHover:false,trackClickSpeed:30,trackClickRepeatFreq:100,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false}})(jQuery,this);
//
/script

script
$(document).ready(function() {
$('.scroll-pane').jScrollPane({showArrows: true});
});
/script
Luego busca la etiqueta:
body
O esta línea:
body expr:class='"loading" + data:blog.mobileClass'
Debajo de cualquiera de ellas dos agrega esto:
div class='scroll-pane' id='blog-container'
Por último busca la etiqueta/body y arriba de ella pega esto:
/div
Guarda los cambios y listo. En color verde verás dónde se cambian los colores de la barra de desplazamiento y sus diferentes áreas, como es CSS puedes añadirle otros estilos si lo deseas, somo sombras, bordes redondeados, etc.
Si quisieras que no aparezcan los límites superior e inferior (como en el ejemplo) entonces elimina lo que está en color rojo.

Recuerda que el script usa jQuery, así que si ya lo tuvieras no pongas de nuevo el script (la primera línea del código). Si usas Scriptaculous o Mootoolsdeberás hacerle unos ligeros cambios para que funcione.

Parece largo el código pero siempre es mejoralojar los scripts directo en la plantilla que subirlo a un hosting, de estar forma los scripts siempre estarán disponibles y cargarán más rápido. Independientemente de todo eso el resultado final es bastante estético, ¿no lo creen?

Donate Car To Charity CALIFORNIA DONATE CAR FOR TAX CREDITDONATE CARS IN MADONATE YOUR CAR SACRAMENTOHOW TO DONATE A CAR IN CALIFORNIA DONATE YOUR CAR FOR KIDS,CAR INSURANCE QUOTES COLORADO ,NUNAVUT CULTURE,DAYTON FREIGHT LINESHARDDRIVE DATA RECOVERY SERVICES,DONATE A CAR IN MARYLAND,MOTOR REPLACEMENTS,CHEAP DOMAIN REGISTRATION HOSTING,DONATING A CAR IN MARYLANDNos ofrece Mundial Football eloan com, FIFA World Cupuna gran variedad para contratar mesothelioma info y obtener un equity line of credit y una buena estructura de negocio SEO consolidate loans y visitar su casa matriz Mesothelioma law firm,home equity loans domain name searchSelling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Donate Car To Charity CALIFORNIA DONATE CAR FOR TAX CREDITDONATE CARS IN MADONATE YOUR CAR SACRAMENTOHOW TO DONATE A CAR IN CALIFORNIA DONATE YOUR CAR FOR KIDS,CAR INSURANCE QUOTES COLORADO ,NUNAVUT CULTURE,DAYTON FREIGHT LINESHARDDRIVE DATA RECOVERY SERVICES,DONATE A CAR IN MARYLAND,MOTOR REPLACEMENTS,CHEAP DOMAIN REGISTRATION HOSTING,DONATING A CAR IN MARYLANDMundial Football history FIFA World Cup,smart,huge/big,scienciemedia,blog spot and amazes,unites pero for you gives ,, inspires and future now help and pero mas aya del visita and Mesothelioma law firm CHEAP CAR INSURANCE IN VIRGINIA,Selling annuity payments for cashSelling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Car Insurance Quotes insurance medical temporary mesothelioma suit Online Colleges domains yahoo Car Insurance Quotes Utah Online Stock Trading Auto Mobile Insurance Quote Business finance group AUTOMOBILE ACCIDENT ATTORNEY mesothelioma survival rates NEUSON buying structured settlements Live casino structured settlement need cash now home phone internet bundle mesothelioma claims personal injury law firm sell annuity payment arizona auto accident attorney accident attorney in los angeles maritime lawyer houston Cheap Domain Registration Hosting Online Christmas cards Online casino Dayton Freight Lines Annuity Settlements Casino reviews refinance with bad credit anti spam exchange server CHEAP CAR INSURANCE FOR LADIES Casino Mobile casino Cheap car insurance for ladies accident car florida lawyer car insurance quotes webex costs Social media tools Dwi lawyer Email Bulk Service Dallas Mesothelioma Attorneys Criminal defense attorneys Florida fast cash for house Criminal lawyer Miami mesothelioma law firms Car insurance in South Dakota mesothelioma lawyer texas Donate your car Sacramento structured settlement broker uk homeowner loans Social media management WebEx costs mesotheliama PHD on Counseling Education Seo companies Auto Accident Attorney LOW CREDIT LINE CREDIT CARDS Online colledges DUI lawyer Make money online Australia personal injury attorney torrance Car insurance quotes MN mesothelioma attorney california Business management software Business Voip Solutions car insurance quotes mn primary pulmonary hypertension MORTGAGE ADVISER Personal Injury Law Firm Psd to WordPress better conferencing calls Donate a car in Maryland Insurance Companies Donate Cars in MA Hire php developers Donate your car for kids Hire php programmers Car Insurance in South Dakota donate car for tax credit Criminal lawyer Donate Old Cars to Charity Service business software attorney lawyer mesothelioma online colledges Criminal defense lawyer Php programmers for hire Photo Christmas cards NUNAVUT CULTURE Hire php developer Social media strategies World Trade Center Footage Computer science classes online federal criminal defense attorney Bankruptcy lawyer structured settlements companies Car insurance quotes Colorado DONATE CARS ILLINOIS motorcycle accident attorney sacramento New social media platforms small business administration sba what is structured settlement data recovery raid Proud Italian cook asterisk call center software Php programmers Mesothelioma Law Firm washington mesothelioma attorney Cheap Car Insurance for Ladies Best social media platforms for business los angeles auto accident attorneys cheap auto insurance in va Donate car to charity California Html email domain registration yahoo MASSAGE SCHOOL DALLAS TEXAS

Share:

Enlaces de navegación que aparecen al bajar la página y muestran el nombre de las entradas – Rooms – Credito


Losenlaces de navegación son esos que aparecen al final de la página que dicen"Entradas antiguas","Entradas recientes" y"Página principal" y nos sirven para desplazarnos por las entradas del blog. Lo que haremos con esta entrada son dos cosas:

  1. Cambiar los textos "Entradas antiguas" y "Entradas recientes" por los títulos de las entradas.
  2. Hacer que éstos datos aparezcan en un recuadro "desvaneciente" cuando se baje el scroll de la página.

Puedes verlo en funcionamiento eneste blog de pruebas, al bajar el scroll aparecerán los enlaces de navegación mostrando los títulos de las entradas que anteceden y preceden al post.

Esta forma de mostrar los enlaces de navegación sólo se verá en las entradas individuales, ya que en la portada y demás partes del blog se seguirán mostrando como siempre.

La instalación es muy sencilla en realidad. Primero entra enPlantilla | Edición de HTML, marca la casillaExpandir plantillas de artilugios y busca esta línea:
b:include name='nextprev'/
Y cámbiala por esto:
b:if cond='data:blog.pageType != "item"'
b:include name='nextprev'/
/b:if
b:if cond='data:blog.pageType == "item"'
div id='blog-pager-note'
h4También hemos publicado:/h4
b:include name='nextprev'/
/div
/b:if
Ahora pega antes de/head lo siguiente:
b:if cond='data:blog.pageType == "item"'
script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'/
script
// ![CDATA[
$(function() {
$('#blog-pager-note').toggle()
.css({
width: '520px',
height: '150px',
position: 'fixed',
padding: '1em',
bottom: 0,
right: 0,
background: 'url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpWUj1MXazHx1DTTf0WVa4xHx5DwU_AZACMOyA4DrOh9KVa2x95MWhOIawUEp9BB2AKX835wDHkV5kldtrxz5OznKDZvPu-zCfRha2zYF3vIjH9tWP9BZR0uL0xjy2x0OEBILXeP-S-T8/s10/negro85.png)'
});

$(window).scroll(function() {
if($(this).scrollTop()150) {
$('#blog-pager-note').fadeIn();
} else {
$('#blog-pager-note').fadeOut();
}
});
});
$(document).ready(function(){
var newerLink = $("a.blog-pager-newer-link").attr("href");
$("a.blog-pager-newer-link").load(newerLink+" .post-title:first", function() {
var newerLinkTitle = $("a.blog-pager-newer-link:first").text();
$(".blog-pager-newer-link").html("divEntrada anterior:/div" + newerLinkTitle);
});
var olderLink = $("a.blog-pager-older-link").attr("href");
$("a.blog-pager-older-link").load(olderLink+" .post-title:first", function() {
var olderLinkTitle = $("a.blog-pager-older-link").text();
$(".blog-pager-older-link").html("divEntrada siguiente:/div" + olderLinkTitle);
});
});
//
/script

style type='text/css'
!--
#blog-pager-newer-link {float:left;clear:both;line-height:30px;}
#blog-pager-older-link {float:left;clear:both;line-height:30px;}
.home-link {display:none;}
.blog-pager-older-link, .blog-pager-newer-link {
background-color: transparent !important;
background-image: none !important;
border:0 !important;
color:#0577AB !important;/* Color de los títulos de las entradas */
float: left;
width: 500px;
clear:both;
}
a.blog-pager-older-link:hover, a.blog-pager-newer-link:hover {
text-decoration:none !important;
}
a.blog-pager-newer-link:before {
content: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYIoUiMA-J_B4xzt_Q9X1U8KSvtR-ArYl0Fc6k1awCXzMacAEhMzu_UJq48cNq7nhuFFm8WQGiT_0qbwfqqeRTZRMLcuorkLokZZcskR5nsz6rsvLOlZBKKM9lMWgP8_9NsQqICYOAHnc/s32/flecha2.png);
float:left;
}
a.blog-pager-older-link:before {
content: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiypH1Jv90QlTs1zTykvINrRWTflQr1wsxA8LYR-sJaTUFid398PlKkcaJPV-5IOBTRcUyj4iPKvFral_ybcpuNIeS3DUmebg0mmpyg9IJjjf5v6fAsOgDcvWy-CDZYXbkbHAclQubFeEg/s32/flecha1.png);
float:left;
}
#blog-pager {
width:500px;
background-color: transparent !important;
background-image: none !important;
border:0 !important;
text-align:left;
}
#blog-pager div {
color:#fff;/* Color de los textos "Entrada anterior" y "Entrada siguiente" */
font-weight:bold;
margin-bottom: -5px;
}
a#blog-pager div:hover {
text-decoration:none !important;
color:#fff;/* Color de los textos "Entrada anterior" y "Entrada siguiente" */
}
#blog-pager-note {
z-index:9;
}
#blog-pager-note h4 {
margin:0;
padding:0;
color:#4898B9; /* Color del título del recuadro */
font-size:16px; /* Tamaño del título del recuadro */
}
--
/style
/b:if
Hay tres URLs en color azul, la primera es la imagen de fondo semitransparente del recuadro, las otras dos corresponden a los íconos de las flechas.
En color verde puedes ver dónde cambiar los colores de los textos.
El número en color rojo es la distancia en pixeles que activa el gadget, es decir, que como está ahora, el recuadro aparecerá cuando se haya bajado el scroll 150px. Puedes usar un valor más alto en caso de que tus entradas suelan ser largas y por lo tanto la "altura" del scroll sea mayor.

Cabe mencionar que este gadget usa jQuery, así que procura tenersólo una versión, y si usas Scriptaculous deberásaplicar un hack, de lo contrario podría no funcionar.

También puedescambiar las palabras "Entrada anterior" y "Entrada siguiente" por alguna otra frase.

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetPero tuve que ser Mundial Football consolidating FIFA World Cup web host rating,register web address,online psychology degree,her first lesbian sex, make extra money ,make money fast and easy,addwords y mejor obtuve un credit application,visa gift carda,Mesothelioma law firm,voip phone service,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetAsi que mejor me fue a un hotel y motel FIFA World Cup Mundial Football New Orleans mesothelioma lawyer y mas que todo que la pase bien en ese hostal y me me fui de viaje a tennessee mesothelioma attorney donde EEUU me pidio la visa pero mejor aun many people in mesothelioma trial lawyers pero me fui a travel Alaska nebraska mesothelioma attorney pero mas aun con mesothelioma attorney nebraska mas siempre fue asi des hace mucho time merlin olsen lawsuit,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

Best social media platforms for business structured settlement brokers Data Recovery Raid most profitable internet business Dallas mesothelioma attorneys hosted predictive dialers DONATING A CAR IN MARYLAND mesothelioma claims Best social media platforms Holland Michigan College CRIMINAL DEFENSE ATTORNEYS FLORIDA new york mesothelioma law firm World trade center footage domain yahoo structured settlement agreement Mobile casino Online Motor Insurance Quotes Online casino Criminal defense lawyer Casino Social media strategies cloud identity and access management Donating Used Cars to Charity miami personal injury attorney Php programmers motorcycle accident lawyer san francisco business administration masters DONATE CARS IN MA mesothelioma lawyers san diego BETTER CONFERENCING CALLS Custom WordPress theme designer truck accident attorney texas Business finance group Virtual Data Rooms ASBESTOS LAWYERS Make money online Australia selling annuity payments for cash car donate Bankruptcy lawyer structured settlements companies Car Accident Lawyers Hard drive data recovery services Casino reviews domain registration yahoo Online College Course Live casino DUI lawyer Computer science classes online MET AUTO mesothelioma lawyer texas register free domains Hire php developer domains yahoo Hire php developers MOTOR REPLACEMENTS How to Donate A Car in California Hire php programmers Donating used cars to charity adverse remortgage Dwi lawyer Criminal lawyer Sell Annuity Payment buying an annuity calculator Service business software Hard drive Data Recovery Services car accident lawyers student loan consolidation program baltimore mesothelioma attorneys STRUCTURED ANNUITY SETTLEMENT DONATE YOUR CAR FOR MONEY Php programmers for hire WORLD TRADE CENTER FOOTAGE Html email data recovery raid asbestos lung cancer mesothelioma lawyer dallas Mesothelioma Law Firm PHD IN COUNSELING EDUCATION Seo companies business email web hosting boulder personal injury lawyers Psd to WordPress CAR INSURANCE QUOTES UTAH HOME PHONE INTERNET BUNDLE ROYALTY FREE IMAGES STOCK structured settlements annuities mesothelioma Social media platforms for business best mesothelioma lawyers personal injury lawyer mesotheolima mesothelioma suit selling annuity WordPress hosting Donate Car to Charity California Personal Injury Lawyers Donate car for tax credit New social media platforms personal injury law firm Donating a Car in Maryland earthlink business internet forensics online course Business management software Seo services Email bulk service Car Insurance Quotes Utah Car insurance quotes pa Italian cooking school google affiliate Best Seo company Donate Cars in MA donate car for tax credit Seo company Cheap Auto Insurance in VA mesothelioma law firm

Share: