jQuery plugin: fontSizer

7/Ago/2008 330

Un nuevo plugin para el grandioso jQuery ha nacido. Por un proyecto en el cual estoy involucrado, era necesario un método parametrizable para manejar aumento/disminución del tamaño de fuentes. Busqué mucho un plugin para esto, y me frustré bastante dado la carencia del ideal, así que gracias a la habilidad del web developer Rodrigo Augosto, surge este nuevo aporte a la accesibilidad web.

Ver ejemplo

Modo de Uso

  1. Adjuntar jquery.js y jquery.fontSizer.js entre las etiquetas <head></head>
  2. Definir id’s para ambos links, por ejemplo #aumentar (+) y #disminuir (-)
  3. Inicializar el plugin, como en el ejemplo:
$(document).ready(function(){
$("#aumentar").fontSizer({
action: "up"
});
$("#disminuir").fontSizer({
action: "down",
});
});

Eso es. El único parámetro obligatorio es indicar la acción de cada link mediante action. Los parámetros son:

  • action: "up/down" (requerido).
  • elements: "elemento" (un id, class o etiqueta donde actuará el cambio de tamaño de fuente).
  • increment: número (en cuántos pasos serán el cambio de tamaño; por defecto es de 1 en 1).
  • max: número (tamaño máximo del tamaño de fuente; por defecto es 30px).
  • min: número (tamaño mínimo del tamaño de fuente; por defecto es 8px).

Por ahora solo ha sido probado con jQuery 1.2.6, pero no debería de tener problemas con versiones desde 1.2+

Descargar (.zip)

Comentarios

  1. www.iherb.com [#]

    I need to to thank you for this fantastic read!!
    I absolutely loved every little bit of it. I have got
    you book marked to check out new things you post… quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

  2. coub.com [#]

    Thanks for finally talking about > jQuery plugin: fontSizer |
    CSSLab | Laboratorio de ideas web < Liked it! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

  3. Rurleme [#]

    http://buypriligyhop.com/ – cheap priligy

  4. supreme clothing [#]

    I am also writing to make you understand of the awesome experience my wife’s girl went through visiting your web page. She figured out such a lot of issues, including how it is like to possess an awesome giving mindset to have men and women really easily fully understand some hard to do subject areas. You actually did more than visitors’ expectations. Many thanks for churning out the important, safe, edifying and in addition fun thoughts on this topic to Julie.

  5. golden goose outlet [#]

    I wanted to send you a very little word just to say thanks the moment again regarding the precious tactics you have shared in this case. This is certainly tremendously open-handed with you to give publicly precisely what some people would’ve marketed as an ebook to make some cash for their own end, precisely since you could have tried it if you ever decided. These advice also served as the easy way to understand that other people online have the same keenness much like my own to find out good deal more in regard to this condition. Certainly there are thousands of more enjoyable periods ahead for individuals that scan your site.

  6. golden goose outlet [#]

    Thanks a lot for providing individuals with an exceptionally superb chance to discover important secrets from this site. It really is very amazing and stuffed with a good time for me and my office friends to visit the blog no less than three times weekly to see the new guidance you will have. And of course, I am just certainly contented for the cool hints served by you. Selected 2 facts in this posting are in truth the very best we have ever had.

  7. jordan 6 [#]

    I intended to write you the little note in order to thank you very much over again over the striking opinions you have documented on this website. It has been so strangely open-handed of you to provide without restraint all a number of us would have offered as an electronic book in making some cash for themselves, particularly seeing that you might well have done it if you ever decided. The creative ideas as well served as a fantastic way to fully grasp other people have the identical zeal the same as my personal own to learn a lot more with reference to this condition. I’m sure there are some more pleasant periods in the future for people who browse through your blog post.

  8. http://bit.ly/3nkdKIi [#]

    It’s impressive that you are getting ideas from this post as well as
    from our dialogue made at this time. ps4 https://bitly.com/3z5HwTp ps4 games

  9. zithromaxeska [#]

    sithro z pack mg dosage zithro

  10. modafiniladhd [#]

    how to get modafinil provigil reviews

  11. drineeunjj [#]

    trimethoprim side effects in elderly bactrim ds dosage

  12. walmart cetirizine [#]

    cetirizine – http://allergyd.com

  13. Paulblabs [#]

    buy provigil from canada

  14. como tomar ivermectina [#]

    Global Dope Here this by-product
    https://ivermectinstrom.com ivermectin over the counter
    https://ivermectstromect.com buy ivermectin pills for dogs
    https://ivermectinstrom.com ivermectin 3 mg tab
    https://stromectolivermect.com coronavirus treatment news
    https://ivermectinsts.com how to get ivermectin

  15. Sueblabs [#]

    online pharmacy uk

  16. ivermectin over counter [#]

    ivermectin 10 ml http://stromectolforte.com/# ivermectin tablets dosage ivermectin where to buy

  17. stone island t shirt [#]

    I precisely wished to thank you very much once more. I do not know the things I could possibly have gone through without these creative concepts shown by you directly on such area of interest. It had become a real daunting circumstance for me, nevertheless looking at a professional technique you solved it forced me to cry over contentment. I am just happy for your guidance and as well , hope that you comprehend what a great job that you are putting in teaching the others by way of your site. I know that you’ve never met any of us.

  18. jordan shoes [#]

    I have to express some thanks to you for rescuing me from such a predicament. Right after looking out throughout the world wide web and seeing proposals which are not pleasant, I thought my entire life was done. Existing without the presence of approaches to the problems you’ve solved by way of your guideline is a serious case, as well as the kind that could have adversely affected my entire career if I hadn’t come across your website. The know-how and kindness in dealing with almost everything was useful. I don’t know what I would’ve done if I had not come across such a solution like this. I am able to at this point look forward to my future. Thanks for your time very much for this reliable and sensible guide. I won’t hesitate to recommend your web blog to anybody who wants and needs support on this area.

  19. supreme [#]

    I not to mention my pals were actually viewing the best tricks from the website while all of the sudden developed a horrible feeling I never thanked the website owner for those secrets. All of the people had been joyful to see them and have truly been using them. Thanks for really being really helpful and then for finding these kinds of superb issues millions of individuals are really desperate to learn about. My personal honest regret for not expressing appreciation to you earlier.

  20. kyrie 7 shoes [#]

    I must show my appreciation to this writer for bailing me out of this matter. Because of scouting throughout the online world and finding solutions which were not beneficial, I was thinking my life was gone. Living without the presence of strategies to the problems you’ve solved all through your good short post is a serious case, as well as those which could have negatively damaged my entire career if I hadn’t come across your blog post. Your main mastery and kindness in dealing with a lot of stuff was tremendous. I am not sure what I would’ve done if I had not come upon such a stuff like this. I can also at this moment look ahead to my future. Thank you so much for your professional and sensible help. I will not be reluctant to endorse your web page to any individual who needs to have direction about this issue.

  21. lebron shoes [#]

    I want to point out my passion for your generosity supporting persons that really want help with that situation. Your special commitment to passing the solution all over had been really invaluable and have really enabled somebody like me to get to their aims. Your personal insightful instruction implies a lot to me and extremely more to my peers. Thanks a lot; from each one of us.

  22. curry 6 shoes [#]

    I precisely wished to say thanks once again. I’m not certain the things that I would have made to happen in the absence of the type of techniques provided by you relating to this question. It seemed to be a very distressing scenario in my position, but observing a new specialized tactic you dealt with it took me to leap with delight. Now i’m happier for this assistance and in addition pray you know what a powerful job you’re doing training the others all through your site. I know that you’ve never met all of us.

  23. curry 7 shoes [#]

    I and my pals have been viewing the great things found on your web page and then immediately got an awful suspicion I had not thanked the website owner for those techniques. My young boys appeared to be certainly joyful to see them and now have absolutely been tapping into those things. Many thanks for genuinely very helpful as well as for finding some remarkable subject matter millions of individuals are really desirous to be aware of. My very own sincere regret for not saying thanks to earlier.

  24. GustavoVet [#]

    buy essays online
    resume writing services atlanta

  25. whatisprovigil [#]

    modalert 200 reddit modafinil reviews

  26. modafinilgeneric [#]

    modalert online what is provigil

  27. bactrim [#]

    trimoxazole tablets Trimethoprim side effects

  28. Paulblabs [#]

    cialis daily generic

CSSLab