salvadordalii Posted December 25, 2003 Report Posted December 25, 2003 Kaa lai to izdara? Es raxtu kautko liidziigu shitam popup.php?speele=skater&plac=200&garsh=300 Un tad php izveido jaunu popup logu bez toolbariem, kuraa pa visu garumu (300) un platumu (200) atver swf failu ar nosaukumu skater.swf ? :blink:
DelNet Posted December 25, 2003 Report Posted December 25, 2003 (edited) Toolbarus disablee ieksh pasha html, Savaac mainigos ar $_GET[mainigais] un tad saliec pa vitaam.. piem atveramais logs ir $_GET[speele].".swf" un tad attiecigi width =$_GET[plac] un height="$_GET[augsts] p.s. Tas ja globalji off, ja on tad vienkarshi bez $_GET p.p.s. Sore ka pedinjas nesaliku gluzhi akurati, bet tas jau nav galvenais, cik nopratu tu prasiji ka tas darams nevis kodu ;) Edited December 25, 2003 by DelNet
salvadordalii Posted December 26, 2003 Author Report Posted December 26, 2003 Kods buutu bijis noderiigs :unsure:
DelNet Posted December 26, 2003 Report Posted December 26, 2003 Nu ja ka butu bijis noderigs, bet pasaki pats sev via ad labak nav domat un darit pasam?
salvadordalii Posted December 26, 2003 Author Report Posted December 26, 2003 Vai tad nevar taa, ka to logu bez toolbariem un izmeeru uztaisa jau ar JAVASCRIPT un php fails palaizh tikai swf failu? Tad jau tur tas php skripts sanaak pavisam iiiss..
salvadordalii Posted December 26, 2003 Author Report Posted December 26, 2003 Ja vien es zinaatu kaads... <_<
Kaklz Posted December 26, 2003 Report Posted December 26, 2003 Vai tad nevar taa, ka to logu bez toolbariem un izmeeru uztaisa jau ar JAVASCRIPT un php fails palaizh tikai swf failu? Tad jau tur tas php skripts sanaak pavisam iiiss.. pateikshu priekshaa - PHP neko nav jaaver valjaa .. .swf failu veers valjaa lietotaaja paarluukprogramma .. un ja jau tu saproti tik daudz, ka logu ver valjaa JavaScript, tad suuti rataa to PHP vispaar .. PHP un loga atveershana ir divas nesaistaamas lietas.
salvadordalii Posted December 26, 2003 Author Report Posted December 26, 2003 pateikshu priekshaa - PHP neko nav jaaver valjaa .. .swf failu veers valjaa lietotaaja paarluukprogramma .. un ja jau tu saproti tik daudz, ka logu ver valjaa JavaScript, tad suuti rataa to PHP vispaar .. PHP un loga atveershana ir divas nesaistaamas lietas. Tur jau taa lieta, ka man nevajag tikai atveert jaunu logu.... Jo swf jau pats nepalaizhas. PHP uzzdevums ir vinju palaist...
Kaklz Posted December 26, 2003 Report Posted December 26, 2003 pateikshu priekshaa - PHP neko nav jaaver valjaa .. .swf failu veers valjaa lietotaaja paarluukprogramma .. un ja jau tu saproti tik daudz, ka logu ver valjaa JavaScript, tad suuti rataa to PHP vispaar .. PHP un loga atveershana ir divas nesaistaamas lietas. Tur jau taa lieta, ka man nevajag tikai atveert jaunu logu.... Jo swf jau pats nepalaizhas. PHP uzzdevums ir vinju palaist... atkaartoshu veelreiz. .swf ir flash filminja. tas ir vektorgrafikas formaats, kuru maak atteelot lietotaaja paarluukprogramma, ja tai ir uzstaadiits atbilstoshais plugins, bet servera puses programmeeshanas valodai PHP ar taa atveershanu nav absoluuti nekaada sakara, ja vien tu ar atveershanu nedomaa kaut kaada faila nosaukumu nolasiishanu no datubaazes un izdrukaashanu ieksh HTML.
Benvenuto Posted December 27, 2003 Report Posted December 27, 2003 Shitas jaaieliek starp <head> </head> <script LANGUAGE="JavaScript"> function go(url, tool, menu, loc, scroll, resize, status, left, top, width, height) { OpenWin = this.open(url, "CtrlWindow", "toolbar=" + tool + ",menubar=" + menu + ",location=" + loc + ",scrollbars=" + scroll + ",resizable=" + resize + ",status=" + status + ",left=" + left + ",top=" + top + ",width=" + width + ",height=" + height); } </SCRIPT> Shitas jaaieliek starp <body> </body> <a href="javascript:go('speele.html','no','no','no','yes','no','no','50','100','600','350')" onMouseover="window.status='Aizej, aizej.'; return true">Atvērt</a> eksperimentee ar yes un no liidz panaac vajadziigo rezultaatu. jebkura yes un no vietaa vai ciparu vietaa vari likt mainiigo, kura veertiiba buus nodefineeta piemeeram shaadi: show.php?mainigais=10&izmers=400&scr=yes utt. taalaak domaa pats. un jaa tieshaam: swf ar php nav sakara.
salvadordalii Posted December 28, 2003 Author Report Posted December 28, 2003 .swf ir flash filminja. tas ir vektorgrafikas formaats, kuru maak atteelot lietotaaja paarluukprogramma, ja tai ir uzstaadiits atbilstoshais plugins, bet servera puses programmeeshanas valodai PHP ar taa atveershanu nav absoluuti nekaada sakara, ja vien tu ar atveershanu nedomaa kaut kaada faila nosaukumu nolasiishanu no datubaazes un izdrukaashanu ieksh HTML. To es visu saprotu... Bet redzi - ja es piemeeram uzraxtu shaadu javascript`u function newWindow(url, w, h) { mywin = window.open(url, "httP://www.php.lv/logo.swf", "width="+w+",height="+h+",menubar=no,toolbar=no,scrollbars=no"); mywin.focus(); } //--></script> .. tad vienkaarshi IE piedaavaas to failu nokachaat.. Lai to apietu man ir vainu jaauztaisa katram (kuru ir liels leerums) swf failam savs html, vai arii (ko es arii gribeeju) uztaisiit php, kursh gjeneree html tieshi noteiktam swf failam...
salvadordalii Posted December 28, 2003 Author Report Posted December 28, 2003 Jeb arii never valjaa swf failus, jo man ir veca IE versija?
lame Posted December 28, 2003 Report Posted December 28, 2003 <html> <head> <script language="JavaScript" type="text/JavaScript"> <!-- function flash(url, tool, menu, loc, scroll, resize, status, left, top, width, height) { my= this.open("","Flash", "toolbar=" + tool + ",menubar=" + menu + ",location=" + loc + ",scrollbars=" + scroll + ",resizable=" + resize + ",status=" + status + ",left=" + left + ",top=" + top + ",width=" + width + ",height=" + height); my.document.open(); my.document.write("<html><head>"); my.document.write("<title>Flash</title>"); my.document.write("</head><body>"); my.document.write('<embed SRC="'+ url+'" width="'+width+'" height="'+height+'"><noembed>Get Flash !</noembed></embed>'); my.document.write("</body></html>"); my.document.close(); } --> </script> </head> <body> <a href="javascript:flash('speele.swf','no','no','no','yes','no','no','50','100','600','350')" onMouseover="window.status='Flashiks'; return true"">Flash</a> </body> </html>
Recommended Posts