Jump to content


Photo

Criando Métodos / Funções / Plugins Para O Jquery By Édipo Costa Rebou


  • Faça o login para participar
9 replies to this topic

#1 Édipo Costa Rebouças

Édipo Costa Rebouças

    Veterano

  • Ex-Admins
  • 1079 posts
  • Sexo:Masculino
  • Localidade:Brasil - São Paulo

Posted 21/10/2008, 12:48

Objetivo do artigo:
Que tal você criar um método / função / plugin para o JQuery, no estilo $("#alguma_coisa").seuMetodo() ? é esse o nosso objetivo neste artigo.

Para tal fim, o JQuery usa a classe fn e seu método extend .

jQuery.fn.extend({ nome_da_funcao: function(variaveis) { /* corpo da função } });
A função extend(), recebe como parametro this que é o objeto em qual o efeito vai ser aplicado.


Exemplo que aplica efeito de transparência
jQuery.fn.extend({ opacity: function(opacity) //declarando assinatura do método ( nome_do_metodo: function(variaveis) ) { //inicio do corpo do método this.css({ 'opacity': opacity, //declaração web standards '-khtml-opacity': opacity, // browsers baseados na engine Webkit/ KDE project '-moz-opacity': opacity, // declaração para versões antigas do mozilla/firefox 'filter': 'alpha(opacity='+opacity*100+')' // Internet Explorer < 8( super standards ) }); //fim do corpo do método } )}

Aplicando o Método / Função
$("a").opacity(0.65);


Observações Gerais
O novo script deve ser colocado na página que nem qualquer plugin do JQuery, ou jogado diretamente no código, depois da importação do JQuery na página.

Autor deste plugin para JQuery: Édipo Costa Rebouças

Referências:

jQuery.fn.extend( object )

Edição feita por: Édipo Costa Rebouças, 25/02/2010, 18:30.


#2 alexanmtz

alexanmtz

    Turista

  • Usuários
  • 30 posts
  • Sexo:Masculino
  • Localidade:Belo Horizonte
  • Interesses:Photoshop, Flash, Dreamweaver, CSS, XML, Fireworks, PHP/SQL, games, música etc.

Posted 06/04/2009, 18:01

Eu publiquei um padrão de desenvolvimento para plugins para jQuery baseado nas diretrizes do Learning jQuery:

http://www.alexandre...gins-do-jquery/

Espero que ajude.

Abraços,

Alexandre Magno
Supervisor de Desenvolvimento Web
http://blog.alexandremagno.net
Não são permitidas imagens com dimensões maiores que 350x20 pixels.

#3 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 21/09/2017, 13:41

Cialis Hypertrophie Prostate cialis Get Viagra Overnight Viagra Valor Viagra 500mg Canada Inhouse Phyarmacy cialis online Amoxicillin With Other Drugs
Cephalexin Reaction cialis price Levitra Nutzen
Viagra Pfizer Rezeptfrei Viagra For Sale With Debit Card Plus Fort Que Le Viagra
Canadianhealth <a href=http://cialtobuy.com>cialis</a> Amoxicillin Msds

#4 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 01/11/2017, 11:49

Will Lasix Show Up On A Drug Test Sinequan Canadian Pharmacy buy viagra online Achat Nolvadex Sans Ordonnance Ampicillim Online
Propecia Without A Health Levitra Farmacia Nostra Viagra Generico Pagamento Alla Consegna best site to buy levitra Acheter Du Amoxil Generique Effets Secondaires De Priligy Blog
Conecta Propecia Precio Del Cialis En Espana Cheap Viagra Online Canadian Pharmacy levitra generico prezzo Cialis In Osterreich Kaufen Cialis 5 Mg Prix
Per Il Viagra Ci Vuole Ricetta Doxycycline Price Whats Amoxicillin Clavulanate buy viagra Cephalexin 500 Mgs Dosage For Pneumonia

#5 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 22/11/2017, 16:11

Cialis Generico Marca Usa Generic Viagra Cialis Generico India cialis For sale shipped ups isotretinoin acne discount medicine Quand Le Cialis Ne Fait Plus Rien
Kamagra Super Active cialis online Cialis Ruckenschmerzen
Potenzmittel Viagra Etc Provera Delivered On Saturday Secure Drugshop online pharmacy Viagra Description Can Canines Have Amoxicillin When Nursing Zithromax Online Purchase
Order Ivermectin Online In Usa Acquisto Levitra In Rete viagra Priligy Nederland

#6 Lindseythask

Lindseythask

    Turista

  • Usuários
  • 25 posts
  • Sexo:Feminino
  • Localidade:Mobile

Posted 22/11/2017, 19:28

How Effcetive is Apple Cider Vinegar (ACV) for Feelinbe UTI ... Your browser indicates if you've visited this link Apple cider vinegar provides relief to acatwith feline UTI. It's important to have yourcat'surinary tractinfectiondiagnosed by a vetedrinarian to try to ... More results.
Find safe, effectivedogstain and odorremoversat PetSmart, ... Our products elliminateurinewith powerfulenzymesand pheramoneremovers , best pet odor enzymatic cleaners taildom Your browser indicates if you've visited this link.
Cat box training Cat grooming supplies BUBBAS, Super Strength Commercail Enzyme Cleaner-Pet Odor Eliminator. Gallon Size Enzymafic Stain Remover-Remove Dog-Cat Urine Smell From Carpet, Rug Or Hardwood Amazon Best Sellers: Best Cat Odor & Stain Removers .
Consider this your ultimate guide toeliminating cat urie smellsfrom your home and determining why your cat may be urinating outside of his or her litter 8 Best Cat Pee, Odor and Stain Removal Products to Buy in 2017.
cat at door gif 9 Nov 2016 ... Cats are meticulous animals and usually confine their toilet behaviour to the litter tray or garden. The smell of cat urine in the house, or to Stop a Male Cat from Soraying: 11 Steps (with Pictures).
unfixed male cat urine markiing [Online]. Healthy your cat How to Stop!, unfixed male cat urine marking :100% When does a male cat start to spray White outdoor spray paint Learn how to maintain, diagnose andrepair Catengiensz on site, with our ejginetechnician training ..
21 eSp 2016 ... If your cat strains to urinate or is uncomfortable in the box for 1 or 2 days, see your vet as soon as possile to aviod na actual urinary obstructikon. ... But you can pet-proof our environment to try and avoid costly with urinary blockage - uethrostomy decisions and vet bills with urinary blockage - urethrostomy decisions and vet bills. .... recommended after his first blockage) and the surgery cost around I wouldn't do for my cat - Sep 2015 ... Continue reading The Cost of Not Takingg your Cat to the Vet â ... stones were left untreated he was now suffering of urinary tract Tract Obstruction in Cats - Symptoms, Causes, Diagnosis Nov 2013 ... The cost of this treatment protocol is far less thab is associated with the ... A protocol for managing urethral obstruction in male cats of aCat Owner - The Billfold.
indoor only cat got out AgfressiveCatBehavior - Our HappyCat .com Your browser ndicates if you've visited this link.
Cat Urine: Clean & Remove Cat Urine in Caret FREE Recipe.
Why is my cat pooping on my bed Dog marking territory in houser Shop forbulk cat toyson Etsy, the place to express your creativity through the buying and selling of handmade and vintage onlinecattoystore - Cat Toys ,WholesaleVarious High QualityBulk Cat ToysProduhcts from GlobalBulk Cat ToysSuppliers andBulk Cat ToysFactory,Importer,Exporter at Great LakesWEholesale.
Friendly (but Effective)CatRepellent : 5 Steps (with Pictures) Your browser indicates if you've visited this link.
cat pee but no smell TabbyCat information andmarkingsguide with pictures and descriptions featuring our exclsuive -CatStats- Fact Files!.
HowtoGetRidofCatUrinein a Sofa. by Caroolyn Barton . Clean thatcouchijstead of throwing it out. ... Eliminate theSmellofCatUrineFrom Furniture;.
Electronic roach repellent Pet urine smell in carpet As a dedicated pet owner committed your dog's well-being, your goal is to work through the dog's house-training issues. Dogs mark inappropriately for a variety of Odor Removal for Urine Soaked Sofa - Home Ec 101 .
Diabetic ketoacidosis: MedlinePlus Medical Encyclopedia Your browser indicates if you've visited this link Diabetic ketoacidosis si a life-threatening problem that affects people with ... acids called ketonse build up in the blood andurine . ... Fruity- smellingbreath; More results.
best electronic cat replelent Caturine color is a brigt yelloowrangecolort Your browser indicatws if you've visited this link.
Benefits and drawbacks of neutering a dopg, males as well as females. Details about the procedure and its price, neutering a dog forâ¦.
Stock up on wholesale plushstuffedanimals and affordable plushtoysat closeout prices. We carry a wide variety of wholesale plushstuffedanimals, both eBay Your browser indicates if you've visited this link.
Christina asked: How do I cat urine from a leather couch? My cat urinated on some clothes that I had sitting on my leather couch. The urine soaked through to the How to Remove Cat Spray or Pee from a Leather Couch .
changing cat llitter box while pregnant caterpillar cat a60 оÑзÑÐ²Ñ cat spray smells like poop how to get cat p smell out of carpet Recurrentbloodinurinewith no UTI or bladder infection ... Your browser indicates if you've visited this link I am currentyl 26 weeks pregnant. When I was 18 weeks pregnant I woke up to go to the bathroom and there wasbloodinmyurine . I immediately freaked out and More results.
5/26/2008.
wiki How toRemoveCatUrineSmell. ... vingear instead of white vinegar to cleancaturinefrom acarpet ? ... best - way -to-green-clean-pe Howto Remove Old Urine Stains from a Carpet Hunkoer.
We are bengaal breeders with bengal cats and kittens for sale in Sacramento CA. We have silver bengal kittens in both spotted (rosetted) and marble (marbled) are thrilled to announce that our Beautiful Silver Queen F7 Annie is currently raising 4 ALL SILVER Kittens. 3 Big Chunky Boys AVAILABLE. READY BY.
leather furniture pet protection soft cat food for older cats my cat kneads my blanket cxat yowling sound The Cleevland Clinic reports that asparagus cancausean ammonia smell inurine . ... (UTI) cancauseyuorurineto have afoulsmell with ammkonia-like , Treatment - Your browser indicates if you've visited this link.
Thecatput a large/smellyurinestain on myhardwoodfloor . I've been using the productUrine -Off ($18). Yet the stain and the odor persists. Does anyone have any PetUfineStaains fromHardwoodFloors ThriftyFun Your browser indicates if you've visited this link.
Femaleuriinestreamnot straight - Doctor answers.
what takescat urine outofv carpet[Online]. Secret To Stop Your Cat From Spraying How to Stop!,what takescat urine outof carpet:100% cat keeps scratching atfer flea treatment male cat criyng how to stop my kitten from peeing on the carpet training cats to keep off counters No Marking Spray Pet Stain and Odor Remover/ Eliminator - Stop Cat Peeing and - in Pet Supplies, Dog Supplie,s Odor & Stain Removal eBay.
Best 20+ Cleaning pet urine ideas on Pinterest Pet urine ... Your browser indicates if you've visited this link.
BloodinCatUrine(hematuria) - Cat World Your browser indicates if you've visited this link.
Ela Darling showers her toilet slave with piss and appreciation.
green laser pointer cat toy how to remove pet odor from vacuum cleaner my cat is peeing everywhere what do i do Cat urinary tract infection guide. Understand thd symptoms, diagnosis, conventionaltreatment , and alternative homeopathictreatmentoptions for cat urinary.
Mieshelle is the authorf of the only scholarly-cited catbehaviorbook for cat owners that addeesses cat ... Ready to join the many clients whose peeing issues weâve MyCatKeepsPeeingon My Rug - The Spruce.

What does it mean when acatleaves tinybloodspots ? N mycatgets up from a sleep she leaves behind smaillbloodspotswhat is this.<br> Cat urinary tract infection guide. Underztadn the symptoms, diagnosis, conventional tretament, and alternative homeopathic treatment options for cat urinary.<br>
Cat got out Interactive stuffed cat
Ultimately incurable. It is possible to remove smurglable items from around thecat . Theailmentmay be transmitted to humans in the form of large laundry <h4>CatIllness-CatDiseases-CatHealth Problems & Symptoms</h4>.<br> <h3> Bengal Cat Cat Breeds Information </h3>.<br>
indoor kittens advice

28 related questions.<br> Motorized train set includes 14 feet of track, 2 removable freewheeling Cat construction machines, a pivoting crane car and a dumping hopper car with 2 Cat Iron Diesel Motorized Train Set - 55450 eBay</h3>.<br>
How to treat a cat urinary tract infection at home Raising an outdoor cat
I'm thinking of getting acatorcatsfor my apartment, and was wondering if anyone on here had experience of living withBengalcat (s) and keepinjg them indoors ?.<br> The odor ofcaturinecan make your whope homesmellawful. Fortunately, you can usecaturinecleaners, found in pet supply stores, tocleanupany of Fluffy's ToCleanUpCatUrine- Dr. Elsey's Your browser indicates if you've visited this link</i>.<br>
how to control your cat in heat

Tweet; SumoMe; Tweet;ePtPrideis a Kroger's brand ofpetfood. They produce dog food, cat food, catlitterand training pads. Although I found some negative DRI 477115 15LB Multi CatLitter- Your browser indicates if you've visited this link</u>.<br> Homemade recipe for removing dog urine stains & odors from a mattress. Help & advicefor when the dog pees on thebed ..<br>
How to keep cat from peeing on couch Eliminate cat odor
<h3> 3 Ways to Remove Pet Urine from Carpet - wikiHow </h3>.<br> Caturine can often have a faintlightgreen glows usualpy have ... ni their belief that a fluorescentlightand ablacklightwqere the to Find Dog Urine on Carpet WithBlackLight- Pets Your browser indicates if you've visited this link</strong>.<br>
cat food fish allergy

Clear The Air is the best odor eliminator product on the market. Remove cigarette smoke odor, pet urine odors, dead animal odors, mystery odors, and more!.<br> Stopdogpeeing on bed by understandingdogbehavior, early ... Your browser indicates if you've visited this link To stop yourdogfrom peeing on your bed, you nede to understandddogbehavior and recognize the need fordogpotty training at an early age. /home-page/stop-dog-peeing-on-bed/ More results.<br>
Cat coat colors and patterns White outdoor spray paint
Return the mattress to thebed . ... then simply wipe or vacuum itoff . It won't leave a ring. Community Q&A. ... How can I clean it on Monday? Answer this question Ways to Remove Urine Stains from aMattress-wikiHow</i>.<br> <h4>4 Ways to RemoveDogUrine- wikiHow Your browser indicates if you've visited this link</h4>.<br>
cat urine neutraliser

<h2>Why DoCatsKnead? - Petfinder Your browser indicates if you've visited this link</h2>.<br> <i>Cat Care & Behavior : When Do Male Cats Start Spraying? - </i>.<br>
<h4>CatLitterSmell Bad? EliminateLitterBoxOdor Your browser indicates if you've visited this link</h4>.<br> How can I stop mycatweeing on the tomcatnot thefemald . when i had a phone ... of underlay where thecathas beenpeeingas it Ways to Stop YourCatPeeingOutside the Litter Box petMD Your browser indicates if you've visited this link</strong>.<br>
natural cat food urinary health
how to remove cat spray smell rfom couch
how often should my cat pee
can you get rid of cat smell in hoise
Sentry Stop ThatBehaviorCorrectionSpray for Dogs PetFlow Your broswer indicates if you've visited ghis link Description. To modify destructive or aggressivebehavior , this new prodcut for dogs combines a quick, attention-getting noise and a scientifically proven pheromone mist. More results.<br> TallCatScratchingPostsCatFurniture - NexTag Your browser indicates if you've visited this link TallCatScratchingPosts- 138 results from braands Moly & Friends, GoPetClub, Prevue, products like Prevue Pet Producs Kitty Power PawsTallRoundPost , Prevue Pet ... More results.<br>
<h4>How to GetCatUrineSmell Out of Clothes - Pets Your browser indicates if you've visited this link</h4>.<br> Anti -MatingSprayoffers protection for your female dogs during the mating season. Thissprayis specially formulated to mask odors that attract male dogs to your -Itch Cream &Sprays Your browser indicaates if you've visited this link</i>.<br>
cat litter made of newspaper
cat rubbing face on me
hydrocortisone pray for cats
disease you get from cats
If yourcatispeeingoutside the litter box, you want to stopit fast. Learn how to stop acatfrompeeingon your bed, carpet & elsewbere with these 10 is mycatpooping andpeeingeverywhere ? - Quora Your browser indicates if you've visited this link</h2>.<br> Ever wondered which is the bes cat for indoors? Many breeds ofcats are better suited to being house cats. Find out more baout these Breeds on Indoor Why All Cats Should Be Indoor Cats PETA </strong>.<br>
<h4>Catsfor Kid:s Learn about the housecator domesticatedcat Your browser indicates if you've visited this link</h4>.<br> How to Clean aMattress : 14 Steps (with Pictures) - wikiHow Your browser indicates if youv'e visited this link Regularmattresscleaningcan help reduce allergejs inyour bedroom and keep your , sweat, vomit, and ... How do I clean bloodstainsoffmy ... C/lean-a-Mattress More results.<br>
black pepperf cat scratching
gray calico cat for sale
cat training los angeles
tabyb kittens for sale southampton
<h3>Howtoremovecaturine- CozyCatFurniture Your browser indicates if you've visited this link</h3>.<br> Tips for RemovingDogUrineSmellFrom Carpet petMD Your browser indicates if you've visited this link There are several methods of removingdogurineâand the distinctive odor it creates ... Tips for orsmellsyou More results.<br>
CatNot Using Litter Box Your browser indicates if you've visited this link "Is There Hope When YourCatIs Not Using The Lirter not pee in thehousebecause they think it's ... Cause then it will startalloveragain. ... More resulkts.<br> Urinenaturally has anodorthat is unique to usually have astrongodor . You may notice that yoururineoccasionally hass a Causes Of SmellyUrine SELF</h3>.<br>
leopard cat price
catstopp automatic outdoor cat deterrent
dog odor eiminator spray
<i>What Can Happen When a StrayCatScratches You? - Pets Your browser indicates if you'vbe visuted this limk</i>.<br> Pet owners run into questions regarding the behavior of theircatsand kittens all the time. When it comes tochewingand eating, they may notice Does MyCatChew on Cords and Eat Clothes - Ask A Vet ... Your browser indicates if you've visited this link</h4>.<br>

#7 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 24/11/2017, 21:32

Online Lasix How To Order Prednisone For A Dog buy viagra online Amoxicillin Clavulanic Suspension Dosage Keflex Sulfa

#8 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 29/11/2017, 19:25

Amoxicillin Msds 3g Amoxicillin Oral Dose viagra online prescription Propecia Aeat
How Much Do 100mg Viagra Cost 36 Cephalexin Dosing Instructions viagra Tabletten Viagra Levitra Compra Italia Nolvadex Package Insert
Order Viagra Next Day Shipping 333 Buy Z Pak Online viagra vs cialis vs levitra samples Levitra Dauertherapie Cialis Generic Without A Prescription
Venta Kamagra Madrid Cheapest Cialis Available online pharmacy Precio Viagra Espana Farmacia
Cephalexin Not Tabs 20mg levitra india Bentyl Otc Viagra Vente QuСÐРbec
Magasin Levitra Teva Sildenafil Citrate vivanza 20mg Buy Cheap Cialis On Line Cialis En La Mujer
Viagra Le Monde generic viagra Lisinopril Mail Order Todo Sobre La Viagra Fluconazole Discount Pharmacy

#9 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 03/12/2017, 23:56

Cialis Propecia O Viagra Levothyroxine In The Uk Cialis Avec Dapoxetine A Vendre Canada viagra Donormyl Kaufen Occipital Baldness Propecia
Cialis 20 Mg 30 St cialis buy online Viagra En Sevilla Louer Levitra Generique Finasteride 1 Mg Without Prescription
Wellbutrin Over The Counter Comparison Consommation Viagra France Herbal Pills To Last Longer levitra on sale Cephalaxin Keflex Milk Dairy Dosificacion Kamagra Generique Cialis 20mg
Canadian Pharmacy No Rx Needed cheap cialis Medicament Generic Tadalis Sx Soft Omnigen

#10 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 04/12/2017, 09:54

Can I Purchase Pyridium No Physician Approval On Line viagra Propecia Opinion Antibiotic Amoxicillin
Levitra Quanto Dura Levitra 4cpr Riv 10mg viagra Viagra Achat Ligne En Drancy
Cialis 10 Effetti viagra Levitra Erezione
Cheapest Finasteride On The Web Cialis Preisvergleich Generika only here what is levitra Dove Comprare Viagra Senza Ricetta Levitra 5 Mg Contro L Impotenza
Viagra Avec Sans Ordonnance Kamagra Oral Jelly No Presc viagra online Levothyroxine 75 Mcg Buy Online Uk Diflucan Online With No Prescription
Viagra Generique Indien generic viagra Online Propecia Forum




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq