Posts Tagged ‘javascript’

jQuery en 10 minutos | guia para impacientes

¿Quieres aprender jQuery rápido, gratis y fácilmente? Si sabes ya algo de javascript, esto va a ser coser y cantar. Incluir la librería Siempre es recomendable delegar el hosting de la librería a google. ¿Por qué? lee esto. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> Acceder a un elemento del DOM Hay varias formas de acceder a los elementos [...]

WP-COMFY: change post rotation interval [SOLVED]

Those of you who are using WP Comfy (aka Comfy Magazine) theme for wordpress might be wondering how to change post rotation time (interval) so that posts rotate more quickly or slowly. Well, the fix is quite easy. Edit /wp-content/themes/wp_comfy/scripts/tabs.js, look for: if (parseInt(this.automodeperiod)>500 && this.hottabspositions.length>1){ this.autoruntimer=setInterval(function(){tabinstance.autorun()}, this.automodeperiod) More slow rotation: if (parseInt(this.automodeperiod)>1000 && this.hottabspositions.length>1){ [...]

SMF 2.0 RC3: Flickr HTML code to BBCode mod [working]

We are developing a photographic website (with an SMF 2.0 RC3 forum) and most of our users have their photos hosted in Flickr. (Note: I have installed WYSIWYG Quick Reply v2 RC3 package) So I’d like to make their lifes easier when sharing their photos by adding a custom button (here in the post wysiwyg [...]

Spoiler div con HTML and Javascript

En muchas ocasiones disponemos de un texto largo que no queremos mostrar por completo en nuestra página. Únicamente queremos mostrar una parte de ese texto y, en caso de que al usuario le interese leer esta información completa, pueda darle a un enlace que “desplegue” el contenido de ese texto por completo. Lo que se [...]

CDS Invenio: Internet Explorer 8, https, css and images not loading [SOLVED]

I have to admit I hate IE8. I do not use it except for testing that pages are displayed right. Some days ago a user wrote complaining about the visualization of Your options – Your submissions page: the CSS and images were not being loaded. Internet Explorer 8 assumes that, in an SSL (https) connection, [...]

Javascript – sort tables (by column values) [easy and opensource]

If you see a table in a client-side application, you’ll expect to be able to click on the headers and have the table sort, would you not? I know it always annoys me when you can’t. A fair few web applications do allow this; most of them, which are pulling this data by submitting a [...]

W3C validator issues with ampersand (&) in javascript location.href

When I tried to validate the code for http://www.hyips.es (one of my freelance projects) the validator kept complaining: cannot generate system identifier for general entity langpair. This error is caused by the validator parsing the code inside of a <script> tag. Below are the lines which were producing the error (related to a function which [...]

DeepZoom & Seadragon AJAX: add new button with on-hover-changing-style

Introduction In my previous posts you will find how to create a viewing interface for JPG TILE images using SEADragon Ajax and jCarousel (jQuery). Please take a look at the following posts before you continue reading: [Part 1] [Part 2] [Part 3] [Part 4] Add a new button Let’s take a close look at the [...]

Browser detection with javascript

In a perfect world, all the major browsers would co-exist happily together, supporting the same set of objects and features. But then again, in that world, I’d be on an island enjoying the sun. Before we reach that place, this tutorial looks at how to detect support for a particular JavaScript property or method before [...]

DeepZoom & SEADragon (IV)

IMHO SEADragon should include some controls to go to next/previous image and not restrict the navigation between images to clicking the thumnails. So I decided to build these new custom buttons. Documentation Before you continue reading these post you should be familiar with SEADragon, DeepZoom and jCarousel. If you are not, please read the following [...]

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.