Jump to content
php.lv forumi

snach15

Reģistrētie lietotāji
  • Posts

    181
  • Joined

  • Last visited

Everything posted by snach15

  1. un kur lai atrod video pamācības ? Youtube ?
  2. es esmu iesācējs un varteikt nejēdzu no php neko bet gribu apgūt PHP , HTML , CSS , JS prasmes bet nezinu kur to visu sākt , šajā forumā vis ir šausmīgi gudri un neko nevar saprast un apgūt ... varbūt ir kādi tutorial kur ir tieši paši pamati ? kā ko sauc ko dod un kāpēc to visu tur vajg un kāpēc ne kautko citu ... to visu gribu apgūt un saprast
  3. nu būtu kāds prasījis tad pateiktu kas nesanāaca ... man nesanāk ar to JS scriptu .. ķipa visu samontēju bet uzpiežot uz to remind tas banneris nepazud un arī līdzi neiet tātad JS nestrādā vai arī nepareizi uz viņu norādīju .. Rekur mans index .. <?php inculdes('text.js'); ?> <div style="position: absolute; top: 0px; left: 0px; width: 1424px; height: 1762px; background-color: rgb(0, 0, 0); visibility: visible; opacity: 0.7; z-index: 99998;"></div><div style="position: absolute; top: 844.667px; left: 478px; width: 468px; background-color: rgb(0, 0, 0); z-index: 99999;"><div style="color: rgb(255, 255, 255); cursor: pointer; text-align: center;">Vote for us...</div><a target="_blank" href="http://www.xtremetop100.com/in.php?site=1132212198"><img style="border: 1px solid rgb(255, 255, 255);" src="http://www.mornia.com/banner.gif"></a><div style="padding: 5px; position: absolute; top: 0px; right: 0px; font-size: 14px; font-weight: bold; color: rgb(255, 255, 255);"></div><div style="color: rgb(255, 255, 255); cursor: pointer; text-align: center;">Remind me in 10 minutes.</div></div></body></html> un JavaScript <script type='text/javascript'> var voteImage = new Asset.image('/banner.gif'); var voteLinks = ['http://topsiteling.pvv']; var voteNr = 1; var hiddenNodes = new Array(); window.addEvent('load', function(){ if(window.ie){ $$('select').each(function(el){ hiddenNodes.push(el); el.setStyle('visibility', 'hidden'); }); } var blackLayer = new Element('div', { 'styles': { 'position': 'absolute', 'top': '0px', 'left': '0px', 'width': window.getScrollWidth(), 'height': window.getScrollHeight(), 'background-color': '#000000', 'opacity': 0.7, 'z-index': 99998 } }).injectInside(document.body); var voteContainer = new Element('div', { 'styles': { 'position': 'absolute', 'top': ( window.getScrollTop() + ( window.getHeight() - voteImage.height ) / 3 ), 'left': ( window.getScrollLeft() + ( window.getWidth() - voteImage.width ) / 2 ), 'width': voteImage.width, 'background-color': '#000000', 'z-index': 99999 } }).injectInside(document.body); var voteForUs = new Element('div', { 'styles': { 'color': '#FFFFFF', 'cursor': 'pointer', 'text-align': 'center' } }).setText('Vote for us...').injectInside(voteContainer); var voteLink = new Element('a', { 'href': voteLinks[voteNr - 1], 'target': '_blank' }).injectInside(voteContainer); voteImage.setStyle('border', '1px solid #FFFFFF').injectInside(voteLink); var voteNumber = new Element('div', { 'styles': { 'position': 'absolute', 'top': '0px', 'right': '0px', 'font-size': 14, 'font-weight': 'bold', 'color': '#FFFFFF', 'padding': '5px' } }).setText('').injectInside(voteContainer); var voteAbort = new Element('div', { 'styles': { 'color': '#FFFFFF', 'cursor': 'pointer', 'text-align': 'center' } }).setText('Remind me in 10 minutes.').injectInside(voteContainer); voteAbort.addEvent('click', function(){ createCookie('morniavote', 'morniavote', '10'); if(window.ie) hiddenNodes.each(function(el){ el.setStyle('visibility', ''); }); blackLayer.remove(); voteContainer.remove(); window.removeEvents('scroll').removeEvents('resize'); Garbage.trash([blackLayer, voteContainer]); }); voteLink.addEvent('click', function(){ createCookie('morniavote', 'morniavote', '720'); voteNr++; (function(){ if(voteNr > voteLinks.length){ if(window.ie) hiddenNodes.each(function(el){ el.setStyle('visibility', ''); }); blackLayer.remove(); voteContainer.remove(); window.removeEvents('scroll').removeEvents('resize'); Garbage.trash([blackLayer, voteContainer]); }else{ voteLink.href = voteLinks[voteNr - 1]; voteNumber.setText('Click here to vote'); } }).delay(10); }); window.addEvent('scroll', function(){ voteContainer.setStyles({ 'top': ( window.getScrollTop() + ( window.getHeight() - voteImage.height ) / 3 ), 'left': ( window.getScrollLeft() + ( window.getWidth() - voteImage.width ) / 2 ) }) }); window.addEvent('resize', function(){ blackLayer.setStyles({ 'width': window.getScrollWidth(), 'height': window.getScrollHeight() }); voteContainer.setStyles({ 'top': ( window.getScrollTop() + ( window.getHeight() - voteImage.height ) / 3 ), 'left': ( window.getScrollLeft() + ( window.getWidth() - voteImage.width ) / 2 ) }) }); });</script>
  4. VNK FAIL :D palīdzības forums un vis par naudu vai? :D
  5. bet tomēr kāds var lūdzu uzataisīt scriptu?
  6. nu takā es php neprotu un scriptu pats uzrakstīt nemāku mēģināju nofenderēt bet tas bija nexekmīgi ..
  7. Sveiki , vai kāds varētu lūdzu uztaisīt scriptu varteikt tādu pašu kā šajā weba , http://www.mornia.com/ ieejot parādas banneris un zem tā ķipa Remind me in 10 min .. uzpiežot to banneris pazūd uz 10 minūtēm bet uzpiežot uz bannera atveras attiecīga weblapa . Mocījos ilgi pats bet nekā nesanāca , palīdzēsiet lūdzu ?
  8. Sveiki , vai kāds varētu lūdzu uztaisīt scriptu varteikt tādu pašu kā šajā weba , http://www.mornia.com/ ieejot parādas banneris un zem tā ķipa Remind me in 10 min .. uzpiežot to banneris pazūd uz 10 minūtēm bet uzpiežot uz bannera atveras attiecīga weblapa . Mocījos ilgi pats bet nekā nesanāca , palīdzēsiet lūdzu ?
×
×
  • Create New...