Jump to content
php.lv forumi

Mikijs

Reģistrētie lietotāji
  • Posts

    644
  • Joined

  • Last visited

About Mikijs

  • Birthday 03/16/1990

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Rīga

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mikijs's Achievements

Newbie

Newbie (1/14)

  1. Mikijs

    Top 5

    besi ara.. 1. Kas ir charakters ? 2. Kas ir lvl - limenis ? 3. par ko vispar ir runa ? 4. kur tu glaba datus ? 5. ja turi sql`a tad izmanto kodu ko dod anoniims.
  2. Mikijs

    function

    nesaprotu kur rodas tadi :D tiesam, veci tak pirms raksti šeit, no sākuma pārbaudi vai nevari uziet info, teiksim es parasti daru šādi 1. mani interesē funkcijas 2. www.php.net/function 3. opā atradu komentāru kā to darīt 1. mani interesē masīvi 2. www.php.net/array 3. opā atradu kā to darīt.. echo "<html><head>".mans_head_func()."</head><body>".mans_lapas_func()."</body></html>";
  3. <div align="center"> <object type="application/x-shockwave-flash" data="http://www.youtube.com/v/dIopXUPVGFE&rel=0" width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/dIopXUPVGFE&rel=0" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <p><a href="http://www.youtube.com/watch?v=dIopXUPVGFE">[video (flash player not installed)]</a> </object> </div>
  4. Mikijs

    Janhouse

    hmm, izskatas sauseligi viegls skripts, domaju ka pats uztaisishu ja bus vajadziba, bet paldies ka piedava :)
  5. Mikijs

    IPB attalums

    Hmm.. izmanto radoshumu, pameigini tam ramim, laikam "container" stilam uzlikt shadu te border-left:1px solid #000000; border-right:1px solid #000000; height:100%; margin:0 auto; padding:0; width:902px; shis css nak no tas lapas ko iedevi. ja rodas problemas, paeksperimenta ar margin margin-left:-10px; etc..
  6. Sveiki PHP! Radās tāds jautājums, teiksim, ja klientam nav ieslēgts javascript, vai ir iespēja viņam padot linku, uz kuru viņš nospiežot, pārlūkam ieslēgtu javascript? <noscript> <a href="#" onclick="...">Ieslēgt Javascript</a> </noscript>
  7. Sveiki, varbūt spēsiet palīdzēt saprast kas īsti neiet, strādāju uz servera kurš nerāda kļūdas paziņojumus, arī ja pats uzlieku E_ALL... <?php echo '<table>'; $bank="http://www.bank.lv/vk/xml.xml"; $objDOM = new DOMDocument(); $objDOM->load($bank); $cur = $objDOM->getElementsByTagName("Currency"); foreach($cur as $items) { $ID = $items->getElementsByTagName("ID"); $ID = $ID->item(0)->nodeValue; $units = $items->getElementsByTagName("Units"); $units = $units->item(0).nodeValue; $rate = $items->getElementsByTagName("Rate"); $rate = $rate->item(0).nodeValue; echo "<tr><td class='cur-id'>$ID</td><td class='cur-rate'>$rate</td></tr>"; } echo '</table>'; ?>
  8. Sveiki PHP.lv Kā lai es pārvēršu datumu "Sun, 31 May 2009 00:00:00 +0300" par "2009.05.31" ? Centos date("Y.m.d","Sun, 31 May 2009 00:00:00 +0300"); bet nesanāca.
  9. mja paldies, ne atslegu vertibas nav svarigas. <?=sort($masivs)?> ja nu kadsn esaprata..
  10. Sveiki PHP. Nāku pie Jums ar lūgu padalīties informācijā / skriptā kā sakārtot masīvu array ( [vertiba_0] => 35 [vertiba_1] => 12 [vertiba_2] => 22 [vertiba_3] => 62 [vertiba_4] => 43 [vertiba_5] => 31 [vertiba_6] => 27 ); augošā secībā array ( [vertiba_0] => 12 [vertiba_1] => 22 [vertiba_2] => 27 [vertiba_3] => 31 [vertiba_4] => 35 [vertiba_5] => 43 [vertiba_6] => 62 ); ceru uz atsaucību.
  11. Sveiki, man ir fails "styles1.css" ,kurš izskatas aptuveni šādi @font-face { font-family: editor1; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0023Eur_.ttf); } @font-face { font-family: editor2; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0121Eur_.ttf); } @font-face { font-family: editor3; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0208Eur_.ttf); } @font-face { font-family: editor4; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0628Eur_.ttf); } @font-face { font-family: editor5; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0729Eur_.ttf); } @font-face { font-family: editor6; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/0895Eur_.ttf); } @font-face { font-family: editor7; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/bloodcyr.ttf); } @font-face { font-family: editor8; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/comic.ttf); } @font-face { font-family: editor9; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/MTCORSVA.TTF); } @font-face { font-family: editor10; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rilitb.ttf); } @font-face { font-family: editor11; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimbelb.ttf); } @font-face { font-family: editor12; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimbrsc.ttf); } @font-face { font-family: editor13; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimcaxr0.ttf); } @font-face { font-family: editor14; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimffr.ttf); } @font-face { font-family: editor15; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimhg.ttf); } @font-face { font-family: editor16; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimsall.ttf); } @font-face { font-family: editor18; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimster.ttf); } @font-face { font-family: editor19; font-style: normal; font-weight: normal; src: url(../coding/fonts/lv/rimviv.ttf); } css fails: /root/www/css/styles1.css fontu fails: /root/www/coding/fonts/lv html fails: /root/www/index.html HTML faila saturs: <html> <Head> <link rel="stylesheet" href="./css/styles1.css" type="text/css" /> </head> <body> <script type="text/javascript"> function makeFont(font) { document.getElementById("maketsText").style.fontFamily=font; } </script> <h3>Teksts</h3> Fonts: <select name='fonts' onchange='makeFont(this.options[this.selectedIndex].value);'> <option value='verdana'>Verdana</option> <option value='arial'>Arial</option> <option value='serif'>serif</option> <option value='sans-serif'>Sans-Serif</option> <option value='monospace'>Monospace</option> <option value='fantasy'>Fantasy</option> <option value='editor1'>Custom1</option> <option value='editor2'>Custom2</option> <option value='editor3'>Custom3</option> <option value='editor4'>Custom4</option> <option value='editor5'>Custom5</option> <option value='editor6'>Custom6</option> <option value='editor7'>Custom7</option> <option value='editor8'>Custom8</option> <option value='editor9'>Custom9</option> <option value='editor10'>Custom10</option> <option value='editor11'>Custom11</option> <option value='editor12'>Custom12</option> <option value='editor13'>Custom13</option> <option value='editor14'>Custom14</option> <option value='editor15'>Custom15</option> <option value='editor16'>Custom16</option> <option value='editor17'>Custom17</option> <option value='editor18'>Custom18</option> <option value='editor19'>Custom19</option> </select> <div id="maketsText">Paraug teksts </div> </body> </html> Lūdzu palīdziet saprast kā lai integrēju manis paša izvēlētos custom fontus iekš savas lapas. Jo pagaidām viss strādā, izņemot "Custom1-19") fonti. fonti atrodās failā /coding/fonti/lv un visam vajadzētu but kārtibā, bet viņus nerāda.
  12. Atgriežoties pie bubu teiktā, šādi būtu nepareizi ? (nestrāda). document.getElementByTagName('button').onmouseover = function(){if(this.className='icons-delete') alert(12); else alert(00);};
  13. Hmm, nesen googlē, meklēju kaut ko līdzīgu un atceros bija tāds "getElementByClass('klase')" bet, centos lietot, nestradā.
×
×
  • Create New...