Jump to content


Photo

Abrir Pop-up No Centro Da Tela?


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

#1 Flaviolrf

Flaviolrf

    Turista

  • Usuários
  • 25 posts
  • Sexo:Não informado
  • Localidade:Natal - RN

Posted 22/08/2003, 23:25

Como abrir uma janela pop-up no centro da tela, não importando a resolução utilizada pelo cliente?
Abraços,
Flávio França.

#2 Chinello Cybernético

Chinello Cybernético

    Simplesmente "Chinello"

  • Usuários
  • 1892 posts
  • Sexo:Masculino
  • Localidade:Canoas - RS

Posted 23/08/2003, 03:31

Bom véio, uma vez eu até postei isso aqui..

Foi um script que fiz pra uso próprio.. E é de ótima utilidade e funcionalidade.. hehe

Coloque isso entre <head> e </head>:

<script>
function Abrir(pagina,largura,altura) {

w = screen.width;
h = screen.height;
meio_w = w/2;
meio_h = h/2;
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;
window.open(pagina,'','scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,height=' + altura + ',width=' + largura + ',top='+meio1+',left='+meio2+'');

//altere as propriedades do comando acima como quizer, só nao mexa na parte que fala da altura (height) e da largura (width).. O resto pode alterar tudo
}
</script>

Aí nos links faça assim:

<a href="#" onClick="Abrir('NOME_DA_PAGINA.HTML','300','200')">Link</a>

Onde 300 e 200, significam respectivamente a largura da nova janela e a altura da nova janela..

Eras isso.. :D

Fui.. :P
Diego Sampaio - kroW - PHP Framework > http://chinelloweb.net/
chinello at gmail dot com

System > Athlon 64 3200+ Mobile | Kubuntu 7.04 Fesity Fawn AMD64 | Kernel 2.6.20-16
Coding @ KDE 3.5.7 | PHP 5.2.1 | Apache 2.2.3 | MySQL 5.0.38

#3 Lengrat

Lengrat

    Mestre

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

Posted 23/08/2003, 11:44

eu lembro Chinelo..tem muuuuuuuuito tempo. Quase ano passado..hehe e eu tenho esse script guardadinho aqui :lol: :lol: :lol: :lol:

:ok:

#4 Chinello Cybernético

Chinello Cybernético

    Simplesmente "Chinello"

  • Usuários
  • 1892 posts
  • Sexo:Masculino
  • Localidade:Canoas - RS

Posted 24/08/2003, 01:26

eu lembro Chinelo..tem muuuuuuuuito tempo. Quase ano passado..hehe e eu tenho esse script guardadinho aqui :lol: :lol: :lol: :lol:

:ok:

hehe.. Isso mesmo lengrat..

Naquele tempo eu tinha acabdo de fazer o código.. Agora ele tá aqui jogado as traças.. :lol:

hehe.. Falow.. :P
Diego Sampaio - kroW - PHP Framework > http://chinelloweb.net/
chinello at gmail dot com

System > Athlon 64 3200+ Mobile | Kubuntu 7.04 Fesity Fawn AMD64 | Kernel 2.6.20-16
Coding @ KDE 3.5.7 | PHP 5.2.1 | Apache 2.2.3 | MySQL 5.0.38

#5 Célio José

Célio José

    Novato no fórum

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

Posted 29/02/2004, 17:05

teria como aplicar isso a um botão feito em flash?

valew pela força

#6 Without a Nick

Without a Nick

    Sem culpa no cartório

  • Usuários
  • 2378 posts
  • Sexo:Não informado
  • Localidade:Guarulhos

Posted 29/02/2004, 19:08

Embutido na animação ou com a tag <a>?

#7 Klaus

Klaus

    @ ubuntu jaunty

  • Ex-Admins
  • 7924 posts
  • Sexo:Masculino
  • Localidade:127.0.0.1

Posted 29/02/2004, 19:57

Olá! :yes:

Se for no Flash, vai ficar um pouco extenso o getURL, mas dá certo...

on (press) {
  //Até eu lembrar Flash agora...
  var pagina = "exemplo.html";
  var largura = 500;
  var altura = 300;
  getURL ("java script: w = screen.width; h = screen.height; meio_w = w/2; meio_h = h/2; altura2 = altura/2; largura2 = largura/2; meio1 = meio_h-altura2; meio2 = meio_w-largura2; window.open(pagina,'janela','scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,height=' + altura + ',width=' + largura + ',top='+meio1+',left='+meio2+');'");
}


Ainda não testei... Mas de qualquer forma ta aí... :D

Edição feita por: Klaus, 29/02/2004, 20:00.

Klaus Paiva
Conheça também: Taperás

#8 Célio José

Célio José

    Novato no fórum

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

Posted 29/02/2004, 21:57

infelizmente num pegou nao.. mas valeu pela força.. to ajeitando uma tamanho q fike "mei no mei da tela" :P

#9 Without a Nick

Without a Nick

    Sem culpa no cartório

  • Usuários
  • 2378 posts
  • Sexo:Não informado
  • Localidade:Guarulhos

Posted 02/03/2004, 15:27

http://forum.wmonlin...showtopic=38061

Aí tá o link para o código do Chinello.

#10 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 21/09/2017, 02:32

Ez Online Pharmacy viagra cialis Descansar Propecia
Levothyroxine Without Subscription Where To Buy Cialis In Canada Amoxicillin Stomach Pain
Cialis Che Cos'E <a href=http://cialtobuy.com>online pharmacy</a> Cialis Ipertensione Arteriosa
Buy Viagra Zenegra online pharmacy Viagra Cialis Comparazione
Prescription Viagra
Discount Generic Fluoxetine In Internet <a href=http://cialtobuy.com>cheap cialis</a> Vendite Kamagra In Belgio
Viagra Versand Nl cialis Euro Pharmacy Online
Cephalexin 500mg Doasage
Keflex For Urinary Tract Infection Dosage <a href=http://cialtobuy.com>online pharmacy</a> Achat Propecia 1mg

#11 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 07/10/2017, 09:56

Wirkung Cialis Und Viagra online pharmacy Canada.Rx.Connection Zithromax Side Effects Sleep

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 25/10/2017, 10:32

Cialis Billig Auf Rechnung Propecia Patentablauf Capecitabine levitra 20mg prices Keflex And Breastfeeding
Viagra Come Comprarlo Synthriod Without A Script Get Isotretinoin Mastercard Accepted Discount Fedex Shipping Price viagra prescription Amoxicillin Breastfeeding Or Nursing Sildenafil Sans Prescription

#13 uapedlok

uapedlok

    24 Horas

  • Usuários
  • 414 posts
  • Sexo:Masculino
  • Localidade:Vladivostok

Posted 25/10/2017, 14:34

Discounts! new makeup releases summer 2017 progect12.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 Military tactical us army law enforcement training harness hunting dog vest airsoftsports paintball gear 9 color 5 size choose ( 22.41 $)Li-ning outdoor running shoes men light weight mesh breathable cushioning lace-up sneakers sport shoes lining arbj009 xyp270 ( 55.70 $)Multicolor Printed Box Clutch ( 178.00 $)Convoy S2+ Cree XM - L2 T6 - 4C 1000Lm 3 5 Modes 18650 LED Flashlight Torch 14.79$Auto Ionizer Ionic Air Purifier with Forest Shower Experience (Silver) ( $2.13 )For iPhone6 TPU Soft Case Protect Camera Cover Crystal Clear Transparent Silicon Ultra Thin Slim Shell for iPhone 6s 7 Plus ( 1.59 $)Yoga pants women plus size colorful bloomers dance yoga taichi full length pants smooth no shrink ( 10.98 $)U80 Smart Bluetooth Watch Call Message Reminder Sleep Monitor-8.35 $MACAW T1000 Bluetooth HiFi Sport Earbuds with Mic Volume Control-19.73 $Vernee Mars 4G Phablet-258.34 $5 Kinds of Categories Purple Blueberry Seed Windowsill Roof Fruit Seed Potted Bonsai Tree Plant Vaccinium Seed a Pack 200 Pcs ( 1.12 $)Online store ClassylookEducational Toy Insect Observation Magnifier ( $2.86 )Small quilted shoulder bag ( 138.55 $) Love MoschinoBe nice brand professional snow uv- protection multi-colordouble anti-fog skiing eye wear snowboarding skiing glasses goggles ( 38.99 $) 72.jpg
Discounts! best beauty products website

progect12.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
A suit of trendy style engraved rhinestone rings for women ( 3.10 $)
Lexin 2016 New 2PCS 1200M Motorcycle Bluetooth Helmet Intercom for 6 riders BT Wireless intercomunicador Interphone Headsets MP3 ( 94.99 $)
HOMTOM HT7 Pro 4G Phablet-94.46 $
Multicolor leather flat sandal ( 529.60 $) Valentino
Products for crafts diamond embroidery flowers colorful iris Painting rhinestones mosaic kit Pictures of crystals pattern hobby ( 13.60 $)
Chic sleeveless scoop neck solid color hollow out women's tank top ( 7.02 $)
Zolanc 2016 Genuine Leather Credit Card Wallet Cow Leather ID Card Pack Bank Card Holder Business Small Purse Brand Color Black ( 18.20 $)
LCD 4884 Joystick Shield V3 Module for Arduino Single Chip Microcomputer ( $6.73 )
NO.1 D3 Smartwatch Phone-18.69 $
Francoise Date Suede Low Boot wFringe ( 197.50 $)
Buy sports nutrition in St. Petersburg. Online store. The sports nutrition. Protein. Creatine.
Peruvian virgin hair loose wave 100 human hair soft natural black 7a top quality peruvian loose wave hair extension hair weaving ( 52.30 $)
Sunhokey PRUSA I4 3D Printer DIY Kit-496.51 $
Trendy metal and splicing design men's casual shoes ( 27.77 $)
Red Eco Leather Clutch wChain Strap ( 83.50 $)


142bb.jpg
Discounts! bestproducts my

progect12.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
EL817 5V 10A 2 Channels Optical Coupling Isolation Type Relay Module ( $3.72 )
Wholesale price t10 194 168 501 921 w5w 12 led smd car side wedge light bulb ( 0.55 $)
Flyco 3d floating head rechargeable portable body washable electric shaver led light fast charge triple blade barbeador fs376 ( 58.50 $)
2016 New Summer Sexy Bikini Set Swimsuits Push Up Swimwear Women Cross Double Halter Swim Bathing Suits ( 10.29 $)
Chic round neck color block cut out one-piece women's swimwear ( 11.57 $)
Online store of designer furniture and furnishings "Arteva home"
Factory price 18 28 45 70cm 100 real natural hair extention 3 4 full head clip ( 5.99 $)
brand men shark skin soft shell tad v 4.0 outdoor tactical military jackets waterproof sports army clothing jacket ( 58.80 $)
Cnc spindle motor speed control 220v 2.2kw vfd variable frequency drive vfd inverter 1hp or 3hp input 3hp frequency inverter ( 127.13 $)
5.0 inch Blackview BV5000 Android 5.1 4G Smartphone MTK6735 64bit Quad Core 16GB ROM 118.39$
Queen hair products brazilian virgin hair straight 100% unprocessed virgin human hair weave bundles fast shipping by queenhair ( 60.00 $)
Women Sexiest lingerie pole dancing mini skirt latex pvc vinyl dress erotic cospaly Patent leather saias feminina exotic apparel ( 8.80 $)
Ombre Brazilian Hair Brazilian Straight Hair Brazilian Virgin Hair Straight 3 Bundle Deals Blonde Brazilian Hair Weave Bundles ( 102.00 $)
Ulefone Metal 4G Smartphone-172.21 $
Siddig, Aleksandr


67bb.jpg

#14 LarPhozyHah

LarPhozyHah

    Super Veterano

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

Posted 25/10/2017, 18:04

Comprare Viagra San Marino Zovirax Generic Over The Counter viagra Donde Comprar Cialis En Capital Federal Comparaison Prix Viagra Cialis Levitra
Pharmacy Prices For Levitra Order Celebrex No Prescription buy levitra in us without prescription Fluoxetine Visa No Doctor C.O.D. Express Delivery Semen Infection Amoxicillin
Price Of Levitra 20 Mg Kamagra Online Thailand Vipro Cialis viagra Best Site To Buy Periactins Online
Viagra Ordonnance En Pharmacie Pastillas Cialis Efectos Zentel Valbazen Overnight Shipping Buy Without Perscription cheap cialis Verapamil 240mg Without Prescription Achat Kamagra Sildenafil Side Effects

#15 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 05/11/2017, 07:36

Indian Pharmacy No Prescription Viagra Prezzi Farmacia compare viagra to cialis and levitra Propecia Y Embarazo Tadalafil Acheter Viagra Originale On Line
Viagra Wann Einnehmen Le Cialis Generique Cycotec Royal Drugstore Online levitra discount Donde Comprar Viagra Por Internet Viagra 50mg Posologie
Real Doryx Vibramycin Fedex Shipping Cheapeast Cialis 10 Mg Comprimidos Cytotec Et Saignement viagra 150mg Kamagra A Buon Mercato Where To Order Legally Progesterone Website Cod Accepted




0 user(s) are reading this topic

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

IPB Skin By Virteq