Jump to content


Photo

Abre Div Fecha Div


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

#1 gmps

gmps

    Amsdã

  • Usuários
  • 969 posts
  • Sexo:Não informado

Posted 22/10/2006, 21:27

galera eu tenho:

echo "<a href=\"java script:ajaxpage('mostra_version.php?empresa=$empresa&cidade=$cidade', 'mostra_version');\">";
echo "&nbsp;<p><b>Características de Equipamentos</b></p>";

?>
<div id="mostra_version">
</div>

qdo eu clicar no link, ele vai mandar os dados dentro dessa dib mostra_version, dai tem como eu clicar de novo no link e a div sumir?!?!

[]´z
"Se você não puder ajudar, atrapalhe; afinal, o importante é participar..."

#2 Alex Gotardi

Alex Gotardi

    Normal

  • Usuários
  • 62 posts
  • Sexo:Não informado

Posted 22/10/2006, 23:42

galera eu tenho:

echo "<a href=\"java script:ajaxpage('mostra_version.php?empresa=$empresa&cidade=$cidade', 'mostra_version');\">";
echo "&nbsp;<p><b>Características de Equipamentos</b></p>";

?>
<div id="mostra_version">
</div>

qdo eu clicar no link, ele vai mandar os dados dentro dessa dib mostra_version, dai tem como eu clicar de novo no link e a div sumir?!?!

[]´z



echo "<a href=\"java script:ajaxpage('mostra_version.php?empresa=$empresa&cidade=$cidade', 'mostra_version');AbreFechaDiv();\">";
echo "&nbsp;<p><b>Características de Equipamentos</b></p>";

?>

<script>
function AbreFechaDiv() {
var objeto = document.getElementById('mostra_version');

if(objeto.style.display == 'none') {
objeto.style.display = 'block';
} else {
objeto.style.display = 'none';
}
}
</script>

<div id="mostra_version" style="display: none">
</div>

"O amor seja não fingido" - Rm 12:9

#3 gmps

gmps

    Amsdã

  • Usuários
  • 969 posts
  • Sexo:Não informado

Posted 23/10/2006, 21:08

deu certo nao..eu clico e agora nem abre mais a div, clico e nao acontece nada...

<a href="java script:ajaxpage('mostra_version.php?empresa=<? echo $loop2['empresa']; ?>&cidade=<? echo $loop2['cidade']; ?>', 'mostra_version'); AbreFechaDiv();">
&nbsp;<b>Características de Equipamentos</b></a>

<script>
function AbreFechaDiv() {
var objeto = document.getElementById('mostra_version');

if(objeto.style.display == 'none') {
objeto.style.display = 'block';
} else {
objeto.style.display = 'none';
}
}
</script>

<div id="mostra_version" style="display: none">
</div>

"Se você não puder ajudar, atrapalhe; afinal, o importante é participar..."

#4 Alex Hiroshi

Alex Hiroshi

    Super Veterano

  • Ex-Admins
  • 4923 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP

Posted 23/10/2006, 23:11

Tire o espaço entre java e script no href.
Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador

#5 gmps

gmps

    Amsdã

  • Usuários
  • 969 posts
  • Sexo:Não informado

Posted 26/10/2006, 12:39

oxe..fiz aqui e aparece:
linha 0
objeto esperado

<a href="java script:ajaxpage('mostra_version.php?empresa=<? echo $loop['empresa']; ?>&cidade=<? echo $loop['cidade']; ?>', 'mostra_version'); AbreFechaDiv();">
&nbsp;<b>Características de Equipamentos</b></a>
<script>
function AbreFechaDiv() {
var objeto = document.getElementById('mostra_version');
if(objeto.style.display == 'none') {
objeto.style.display = 'block';
} else {
objeto.style.display = 'none';
}
}
</script>
<div id="mostra_version" style="display: none">
</div>

se eu entro em: mostra_version.php?empresa=... aparece o conteudo normal....e o javascript esta junto, aqui no forum que ele sai separado

q q ta errado?!?!?!

=/

Edição feita por: gmps, 26/10/2006, 12:43.

"Se você não puder ajudar, atrapalhe; afinal, o importante é participar..."

#6 Dudu

Dudu

    Viva la vida

  • Usuários
  • 1437 posts
  • Sexo:Masculino
  • Localidade:Uberlândia - MG
  • Interesses:PHP

Posted 28/10/2006, 13:21

Testa aí:

<a href="java script:AbreFechaDiv('mostra_version.php?empresa=<? echo $loop['empresa']; ?>&cidade=<? echo $loop['cidade']; ?>', 'mostra_version');">
&nbsp;<b>Características de Equipamentos</b></a>
<script>
function AbreFechaDiv() {
var objeto = document.getElementById('mostra_version');
if(objeto.style.display == 'none') {
objeto.style.display = 'block';
} else {
objeto.style.display = 'none';
}
}
</script>
<div id="mostra_version" style="display: none">
teste
</div>

Lembre de juntar o java scrip no <a href> !!!

Edição feita por: _Dudu_1533, 28/10/2006, 13:21.

Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Moderador


Twitter: HostCheap


#7 gmps

gmps

    Amsdã

  • Usuários
  • 969 posts
  • Sexo:Não informado

Posted 28/10/2006, 15:03

sim..juntei e tb nem deu nada
"Se você não puder ajudar, atrapalhe; afinal, o importante é participar..."

#8 gmps

gmps

    Amsdã

  • Usuários
  • 969 posts
  • Sexo:Não informado

Posted 30/10/2006, 23:44

nesse codigo ai esta somente para a div mostra_version, e se for para qualquer diav? se eu tiver varias div, uma em baixo da outra, com nomes alterados?!?!
"Se você não puder ajudar, atrapalhe; afinal, o importante é participar..."

#9 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 18/09/2017, 19:20

Cialis Und Co Erfahrungen cialis price Dutasteride By Money Order
Kamagra Order Levitra Pour Femme
Viagra A Sharm <a href=http://cialtobuy.com>buy cialis</a> Cailis Over Night Deiieving
Occasion Levitra 10 Mg Orodispersible cialis buy online Propecia Vente Canada Amoxicillin And Std'S For Sale Doxycycline Cialis Sovradosaggio buy cheap accutane online cialis online Original Kamagra Kaufen
Does Alcohol Affect Amoxicillin cialis Buy Strattera Online Usa Pharmacy
Viagra Online Prescription Cialis Order Online Viagra 100mg Buy
Buy Celebrex Online <a href=http://cialtobuy.com>cialis price</a> Priligy Dapoxetine Online Drugstore

#10 LarPhozyHah

LarPhozyHah

    Super Veterano

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

Posted 19/09/2017, 05:18

Synthroid Online Canada cialis Viagra Online Cheap Viagra Cost Per Tablet Generic Viagara Online Us Bo Levitra 20 Misotrol No Prescription cialis Cialis Comprar En Farmacia
Generic Avanafil cialis Viagra 50 France
Worldwide Levaquin Price
Kamagra Oral Jelly Gefahrlich <a href=http://cialtobuy.com>online pharmacy</a> Baclofene Pour La Boulimie

#11 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 06/10/2017, 07:26

Cialis Prix Suisse Levitra Naturel Zithromax Canada viagra Promethazine And Codeine For Sale Levitra Quante Ore Dura
Achat Viagra Sur Internet Propecia Y Alcohol Amoxicillin Trihydrate For Dogs cialis Viagra E Glande What Is Ic Cephalexin Teva Mail Order Fedex Acticin Medication Free Consultation
How To Buy Viagra In Germany Cialis Doux Cialis Mas Viagra vardenafil canadian pharmacy Free Shipping Stendra Want To Buy No Script Needed
Finasteride Tab Internet Pharmacy viagra prescription Forum Achat Cialis En Ligne Generic Propecia Reviews

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 24/10/2017, 00:16

Can I Take Aleve With Amoxicillin viagra Comprar Viagra En Sevilla Doxycycline 20mg
Synthroid For Sale Gnc viagra prescription Get Tab Worldwide Dutasteride In Internet Fedex Shop Real Legally Acticin Free Shipping Next Day Delivery
Free Viagra At No Cost Levitra Effet Clomid By Avents cialis price 326 Best Viagra Seller

#13 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 03/11/2017, 19:34

Buy Voltaren Online With Out Of Pre length of levitra patent Cialis Precio Con Receta
Buy Zithromax For Chlamydia Olympic China Vardinafil Priligy 60 Mg viagra cialis Cialis 5 Mg Price Walmart Verfallsdatum Viagra Cialis Levitra Cialis Super Actif Plus
Amoxicillin Prescribing Info levitra canada Compra Segura Viagra Cialis Super Actif Plus Revue Priligy

#14 lapedlok

lapedlok

    Ativo

  • Usuários
  • 350 posts
  • Sexo:Feminino
  • Localidade:Braunschweig

Posted 04/11/2017, 08:36

Discounts! beauty cream progect13.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE Simple life european retro decorative candle holders wedding decoration props decoration furniture romantic candlelight dinner ( 25.09 $)+the sky +is too high грэм коксонMignon - Patent Mini Case ( 45.00 $)Tirion Lannister1pcs 18MM 9W Led Eagle Eye DRL Daytime Running Lights Source Backup Reversing Parking Signal Lamps Waterproof ( 1.49 $)написание рецензии +на книгуFly fishing mesh vest general size adjustable mutil-pocket outdoo fishing hiking ( 44.99 $)Casual solid color and metal design women's sandals ( 27.14 $)Grade 7a brazilian virgin hair straight 3 bundles deal unprocessed hair bundles virgin brazilian straight hair extension weave ( 75.00 $)counter strike 1.6 condition zeroInbike cycling glasses sunglasses men women polarized bike bicycle eyewear goggle sport sunglasses ig16916 ( 29.99 $)Premium Protection Heavy Duty Case For iPhone 4 4S Strong Armor Shockproof Waterproof Metal Aluminum Case Back Cover for iPhone4 ( 12.99 $)Solid Pure Silk Satin Silk Tie ( 49.56 $)http www shoppinglive ru фJewelrypalace 8.7ct nano russian emerald ring pendant clip earrings jewelry set 925 sterling silver fine jewelry 45cm box chain ( 59.98 $) 233.jpg
Discounts! beauty product websites

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Three tone 5pcs ombre kanekalon braiding hair 24'' beautiful braiding hair kanekalon jumbo braid hair extensions synthetic hair ( 32.80 $)
O two o glow kit powder highlighter maquillage imagic illuminator brightening face baked highlighter powder ( 6.69 $)
ST203 Hot selling children clothing set baby clothes glasses pattern short-sleeved T + stripe pants fashion boys clothes ( 6.40 $)
Reon, Ivan
Teclast TBOOK 16 2 in 1 Ultrabook Tablet PC Intel Cherry Trail Z8300 64bit Quad Core 1.44GHz 11.6 inch Windows 10 + Android 5.1 IPS Capacitive Touchscreen 4GB RAM 64GB ROM 250.99$
2016 newst gold silver flowers scarf buckle wedding brooch christmas pins crystal holder silk scarf jewelry ( 0.89 $)
Hot Sale 60 Slots Women Men Credit Card Holder Genuine Leather Buckle Large Capacity Business ID Holders Organizer Free Shipping ( 16.14 $)
мужская резиновая обувь
Rechargeable rabbit g-spot vibrators dildo vibrator 8 speed massager erotic adult product female masturbation sex toys for women ( 24.59 $)
Luxury branded bags, shoes, jewellery, leather bags & gifts | FORZIERI
Sallavan, Margaret
New Sale Real Italina Rings for Women Genuine Austria Crystal 18K gold Plated Fashion #RA10314Rose ( 0.99 $)
Understand English by hearing - Puzzle English
50pcs lot size 11mm kawaii flower 5 colors buttons rhinestone buttons for shirt scrapbooking accessories plastic ( 3.88 $)
Ms01k men ski suit pants + jacketsset winter sports snowboard clothing men's skiing sets waterproof windproof ( 105.80 $)


23bb.jpg
Discounts! consumer product design

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Stylish owl pattern zipper design scoop neck long sleeve sweatershirt for women ( 17.22 $)
Pool leather and black suede majorelle sandal ( 331.66 $) Pierre Hardy
Womens Cashmere Lined Dark Brown Italian Leather Gloves ( 119.00 $)
Original Xiaomi Mi Rabbit Bluetooth 4.0 Wireless Speaker $26.23
Konec epohi, uhod legendi: ne stalo Evgeniya Evtushenko
So573 3mm neoprene scuba dive wetsuit for men spearfishing wet suit surf diving equipment split suits spear fishing s-xxl ( 78.52 $)
Large size 6xl summer dress 2016 plus size midi dress casual patchwork loose dresses plus size 5xl women clothing big sizes 4xl ( 16.66 $)
Healing stone pendant bullet jade suspension crystal necklaces pendants fashion bijoux choker necklace jewelry for women ( 1.98 $)
Odenkerk, Bob
www soft4pk ru dns
Optical Print Silk Self-tie Bow Tie ( 34.30 $)
counter strike condition zero прохождение скачать
Fashionable Spaghetti Strap Criss-Cross Floral Print Women’s Bikini Set $12.74
«Snezhkom obescvecheni…»
Vicuna polo vintage hasp open genuine leather wallet high large capacity unique decor crazy horse genuine leather man wallet ( 42.92 $)


94.png
Discounts! top 5 facial products

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
2015 new brand designer women small messenger bag pu leather solid color shoulder bag fashion vintage girls evening party bag ( 12.05 $)
Hot Oval Makeup brushes Tools Cosmetic Foundation Cream Powder Blush Make up Brush Set Woman's Toiletry Kit brush ( 1.99 $)
JJRC H26 2.4G 4CH RC Quadcopter-57.79 $
Fashion hip hop jewelry engraved letter gun necklace long chain logo punk pendant necklaces hiphop for ( 1.86 $)
Herald fashion designer women leather handbags large black shoulder bags rivet ladies tote bags motorcycle bag bolsa feminina ( 25.79 $)
8a peruvian virgin hair body wave peruvian body wave 4 bundles,virgin peruvian hair bundles unprocessed #1b human hair body wave ( 72.00 $)
Simplicity double layer body chain for women ( 3.03 $)
Black Gloves ( 112.00 $)
shop 24 телемагазин официальный сайт товары каталог
Ophir pro 0.5mm dual action airbrush kit with air tank compressor for model hobby makeup nail art cake air brush set_ac090+ac006 ( 103.39 $)
4 bundles 7a brazilian virgin hair natural wave brazilian hair weave bundles brazilian human hair curly weave human hair bundles ( 82.81 $)
Seeedstudio Grove Variable Color LED Module ( $4.51 )
Brand New Beautiful Floral Henna Paisley Mandala Palace Flower Phone Cases Cover For iPhone 7 5 5G 5S 5C SE 6 6G 6S 6Plus ( 1.79 $)
Hat Whip Silver Plated Tie Clip ( 33.00 $)
2016 new guitars 39-5 39 inch high quality acoustic guitar rosewood fingerboard guitarra with guitar strings ( 111.86 $)


30.jpg
Discounts! best product ideas

progect13.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Men's solid color v-neck short sleeves t-shirt ( 11.56 $)
amethyst cross finger ring for lady paved cz zircon luxury hot Princess women Wedding Engagement Ring purple pink color jewelry ( 2.36 $)
Slimming round neck stripes ombre print men's short sleeves t-shirt ( 10.48 $)
Red Tiger Eye Gold Skull Charm Bracelet ( 190.00 $)
Pink Roses Brooch ( 87.60 $)
0 3mm 2 5d 9h tempered glass screen protector protective guard shield film for samsung galaxy ( 1.80 $)
7A Brazilian Body Wave Closure 1B 4x4 Inches Swiss Lace Closure Bleached Knots Virgin Human Hair Closure Piece ( 28.13 $)
Kkocktail choupette pouch wglitter ( 116.08 $) Karl Lagerfeld
Electric Fire Rescue Toy Car with Music Light Radio Educational Toy-12.75 $
4 Bundles 7A Brazilian Virgin Hair Natural Wave Brazilian Hair Weave Bundles Brazilian Human Hair Curly Weave Human Hair Bundles ( 82.81 $)
Practical Specified DC 5V Cooler Cooling Fan for Raspberry Pi B+ Aluminum Alloy Box ( $3.30 )
2pcslot Cute Anime Cartoon Silicone Stitch Minion Key Cover For Women Key Caps Keychain Key Chain Key Ring Key Holder Gift ( 1.68 $)
New 2016 Bamboo Sunglasses Men Wooden glasses Women Brand Designer Original Wood Sun Glasses fo WomenMen Oculos de sol masculin ( 4.83 $)
2016 popular play dead rabbit keychain real rabbit fur pom pom key chains rabbit bag car hanging pendant ornaments jewelry gifts ( 14.70 $)
Roxy - Official online shop: all for surf and snowboard


88.jpg

#15 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 25/11/2017, 16:31

Discount Direct Dutasteride Without Perscription Delivered On Saturday Cardiff Vente Viagra viagra Kidney Infection Can Amoxicillin Cause Canadian Pharmacy In Florida
Diclofenac 150 Buy Propecia Success Stories Priligy Venta Online viagra online pharmacy Amoxicilina For Sale On Line Pharmacy Apo Cephalexin For Dogs
Amoxil Medication Proscar Y Propecia cheap levitra Levitra Sans Effet Buy Prevacid Solutab Online Acheter Cialis Au Meilleur Prix




0 user(s) are reading this topic

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

IPB Skin By Virteq