F^nT^sy Posted December 19, 2005 Report Share Posted December 19, 2005 Kako da preko index stranice otvorim 2 sajta u popup-u(naravno ne oba istovremeno) <script LANGUAGE="JavaScript"> function popup() { window.open('http://www.darko.com/blabla.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=no,width=900,height=600,left=0,top=0'); } </script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>darko</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>popup</title> Sta ovde treba dodati i gde? Ovo je jedini nacin koji ja znam.Da li postoji neko drugo resenje>? Link to comment Share on other sites More sharing options...
syndrome Posted December 19, 2005 Report Share Posted December 19, 2005 Treba ti nesto sto ce ispaliti taj popup. Popup mora da bude ispaljen sa regularne stranice; odnosno, ne mozes od postojeceg prozora napraviti popup. Btw, ovo je Client Scripting ;) -- Ispaljivanje se generalno vrsi preko linka gde umesto url-a, stavis sledeci poziv: <a href="javascript:popup();">tekst linka</a> Link to comment Share on other sites More sharing options...
miksha Posted December 20, 2005 Report Share Posted December 20, 2005 njemu treba ovo: <script LANGUAGE="JavaScript"> function popup1() { window.open('http://www.darko1.com/blabla.html','',& #39;toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=no,width=900,height=600,left=0,top=0'); } function popup2() { window.open('http://www.darko2.com/blabla.html','',& #39;toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=no,width=900,height=600,left=0,top=0'); } </script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>darko</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>popup</title> posto on te funkcije preko flasha poziva (getURL) Link to comment Share on other sites More sharing options...
F^nT^sy Posted December 20, 2005 Author Report Share Posted December 20, 2005 da to mi treba Miksa,ako ti nije problem mozes i da dodjes do mene pa da "ukucas" :D :D :) . Syndrom nisam dobro objasnio problem,u svako slucaju hvala za pomoc Link to comment Share on other sites More sharing options...
ivanhoe Posted December 21, 2005 Report Share Posted December 21, 2005 nazovite me cepidlakom, ali sta je zamisao sa dupliranim title i Content-type tagovima ??? Link to comment Share on other sites More sharing options...
syndrome Posted December 21, 2005 Report Share Posted December 21, 2005 ^ CEPIDLAKO :lol: Link to comment Share on other sites More sharing options...
F^nT^sy Posted December 21, 2005 Author Report Share Posted December 21, 2005 pazi sad kad vam objasnim.Hocu na seljacki nacin da odradim nesto posto mi je to sad najednostavnije resenje u ovom slucaju (u prevodu drugacije neznam).Jedan isti site u dve verzije.Znaci namestim 2 mc na index stranici.Jedan vodi na jednu adresu a drugi na drugu i preko index stranice resavam pitanje popup-a. Mozda nisam lep al sam zato glup :D :P Kako je to moglo drugacije da se odradi? Link to comment Share on other sites More sharing options...
miksha Posted December 21, 2005 Report Share Posted December 21, 2005 @ivanhoe nemam pojma, ja samo copy\paste, nisam ni citao posto sam znao sta mu tacno treba :D Link to comment Share on other sites More sharing options...
ivanhoe Posted December 22, 2005 Report Share Posted December 22, 2005 ma ok za otvaranje prozora, nego su ti duplirane sledece linije: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>darko</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>popup</title> Ovako ces da postignes da ti prozor u kome je flash ima naslov "popup", umesto Darko, odnosno jedan od ova dva para tagova je visak... Link to comment Share on other sites More sharing options...
F^nT^sy Posted December 23, 2005 Author Report Share Posted December 23, 2005 Moram skinuti naocare za varenje prilikom programiranja.Nisam ni video tu gresku Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now