Jump to content

OldMan

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by OldMan

  1. OldMan

    CSS3

    Hello I did the code to shake ball, when i do mouse hover. Is possible when i remove "mouse", the ball continue shake? Thanks! <html><head><style>.ball:hover{ animation: animationFrames linear 1s; animation-iteration-count: 1; transform-origin: 50% 0%; -webkit-animation: animationFrames linear 2s; -webkit-animation-iteration-count: 1; -webkit-transform-origin: 50% 0%; -moz-animation: animationFrames linear 2s; -moz-animation-iteration-count: 1; -moz-transform-origin: 50% 0%; -o-animation: animationFrames linear 2s; -o-animation-iteration-count: 1; -o-transform-origin: 50% 0%; -ms-animation: animationFrames linear 2s; -ms-animation-iteration-count: 1; -ms-transform-origin: 50% 0%;}@keyframes animationFrames{ 0% { transform: rotate(0deg) ; } 20% { transform: rotate(15deg) ; } 40% { transform: rotate(-10deg) ; } 60% { transform: rotate(5deg) ; } 80% { transform: rotate(-5deg) ; } 100% { transform: rotate(0deg) ; }}@-moz-keyframes animationFrames{ 0% { -moz-transform: rotate(0deg) ; } 20% { -moz-transform: rotate(15deg) ; } 40% { -moz-transform: rotate(-10deg) ; } 60% { -moz-transform: rotate(5deg) ; } 80% { -moz-transform: rotate(-5deg) ; } 100% { -moz-transform: rotate(0deg) ; }}@-webkit-keyframes animationFrames { 0% { -webkit-transform: rotate(0deg) ; } 20% { -webkit-transform: rotate(15deg) ; } 40% { -webkit-transform: rotate(-10deg) ; } 60% { -webkit-transform: rotate(5deg) ; } 80% { -webkit-transform: rotate(-5deg) ; } 100% { -webkit-transform: rotate(0deg) ; }}@-o-keyframes animationFrames { 0% { -o-transform: rotate(0deg) ; } 20% { -o-transform: rotate(15deg) ; } 40% { -o-transform: rotate(-10deg) ; } 60% { -o-transform: rotate(5deg) ; } 80% { -o-transform: rotate(-5deg) ; } 100% { -o-transform: rotate(0deg) ; }}@-ms-keyframes animationFrames { 0% { -ms-transform: rotate(0deg) ; } 20% { -ms-transform: rotate(15deg) ; } 40% { -ms-transform: rotate(-10deg) ; } 60% { -ms-transform: rotate(5deg) ; } 80% { -ms-transform: rotate(-5deg) ; } 100% { -ms-transform: rotate(0deg) ; }}</style></head><body><img src="http://i.imgur.com/ZHf8dsG.png" class="ball"/></body></html>
  2. yes, working...i tried in wrong column. Thanks 4 all.
  3. I tried: select * from table WHERE col NOT LIKE '1%%%' AND col NOT LIKE '2%%%'; select * from table WHERE col NOT LIKE '%1___%' AND col NOT LIKE '%2___%'; return the same result Idk why, but don't show any result.
  4. I solve my problem with this query: select id, autor from table WHERE col NOT LIKE '2%%%' AND col NOT LIKE '1%%%'; Edit: I tried this too, but don't work. http://www.go4expert.com/articles/regular-expressions-mysql-t2337/
  5. http://prntscr.com/2canqf
  6. I also tried that. I want find fields without "2002", "1998", etc.. (all number with 4 digits)
  7. Thanks, but don't work correctly.. my content is similar to this: 1º field - 2013, Jonh, Mickey, Max2º field - Mix, 1989, Software, games
  8. Hello My field contains text and number (sometimes), what i want is find fields without numbers... ( like this 2000, 1987, etcc, always with 4 number).. How i can find fields without numbers? Table: post Column: tag
  9. Hello Hi have this code: $tpl->set ( '{text}', $text); <div class="quote"><div class="title_quote">Quote: nameuser</div><div class="quote"><div class="title_quote">Quote: nameuser</div><div class="quote">text here</div>text here</div>text 123 I want remove the tags and the content within them. <div class="quote">content</div> text 123 Result: text 123 Thanks!
  10. Yes, now i divide the code... But in old articles i need divide too, this is my problem..
  11. I know, but now i have +700 posts published, i need copy some content to another field... My database...
  12. Hello I have this content in only one field into BD.. playermovies|player||original_title|The Butler||year|2013||imdb| http://www.imdb.com/title/tt1327773/||director|Lee Daniels||format|HD||rating|6,1||genre|Biography, Drama||cover| http://twilightguide.com/tg/wp-content/uploads/2009/09/new-moon-book-movie-cover.jpg||votes|4,146||writers|Danny Strong, Wil Haygood||country|USA||language|English||color|Color I just want to copy what is ahead of genre, writers, year and director...to another field separeted by comma. Example: Lee Daniels, Danny Strong, Wil Haygood, 2013, Biography, Drama It's possible to do this? Thanks!
  13. OldMan

    Value

    The problem is in the tags <script></script> into file .js. Thanks Mudsaf
  14. OldMan

    Value

    @Mudsaf It was a mistake to copy the code here, because the original file is correct. Then, i can't put this? <script type="text/javascript" src="/js/phases.js"></script> and this: <script>document.write(mensage[rand]);</script> Code file (js/phases.js) is the same as this: Why not fetch the text? It's impossible?
  15. OldMan

    Value

    Hello I want do appear text in div with class name "example"..i try two methods but.. with this method don't work i don't know why, but with the method below works. (I'm going get the file .js correctly.) Anyone knows the problem? <html><head><script type="text/javascript" src="/js/phases.js"></script></head><body><div class="example"><script>document.write(mensage[rand]);</script></div></body></html> <html><head><script type="text/javascript"> var mensage = new Array( 'example', 'example2'); var rand = Math.floor(Math.random() * 2);</script></head><body><div class="example"><script>document.write(mensage[rand]);</script></div></body></html> Thanks!
  16. No, i'm not talking about menus.Compare the image with website, and look the effects.
  17. Open the page and see example. http://serialguru.ru/serial-legenda-ob-iskatele
  18. Hello People How make this? Font: http://serialguru.ru/serial-legenda-ob-iskatele
  19. Is that right? I see the error from syntax. Thanks! I think solved my problem with this: Edit:function gerar() { var valor = count();[rest of the code]}
  20. Hello Guys I have two function, how i can get the value from numero for the function "gerar"? function count(){var numero = 0;var val0 = document.getElementById("idvideo1").value; for (var i=0;i<1;i++) { if(eval('val'+i) != "") { numero ++; }}alert(numero);//numero = 6 - numero;//return numero;//alert(numero);}} function gerar() {var cont = '';document.getElementById("cod").value = "";while ([b]numero[/b]--) { cont += "Hello "; document.getElementById("cod").value += cont;}document.getElementById("cod").value += cont;} Anyone knows help me? Thanks!
×
×
  • Create New...