Click here to Skip to main content
15,886,362 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionkubuntu kate and utf-8 encoding Pin
Granny200710-Aug-09 10:50
Granny200710-Aug-09 10:50 
AnswerRe: kubuntu kate and utf-8 encoding Pin
Moreno Airoldi10-Aug-09 23:21
Moreno Airoldi10-Aug-09 23:21 
GeneralRe: kubuntu kate and utf-8 encoding Pin
Sebastian Schneider12-Aug-09 3:28
Sebastian Schneider12-Aug-09 3:28 
GeneralRe: kubuntu kate and utf-8 encoding Pin
Moreno Airoldi12-Aug-09 6:54
Moreno Airoldi12-Aug-09 6:54 
GeneralRe: kubuntu kate and utf-8 encoding Pin
Indrora23-Sep-09 6:43
Indrora23-Sep-09 6:43 
QuestionMoving Line Pin
sanforjackass10-Aug-09 4:30
sanforjackass10-Aug-09 4:30 
AnswerRe: Moving Line Pin
Luc Pattyn10-Aug-09 5:16
sitebuilderLuc Pattyn10-Aug-09 5:16 
AnswerRe: Moving Line Pin
Marc Firth10-Aug-09 23:01
Marc Firth10-Aug-09 23:01 
Some common js code

<script>
var marqueeWidth='950';                       
var marqueeHeight='18px';                    
var pauseMarquee=true;                             
var fontFamily = 'arial,sans-serif';
var marqueeSpeed=1;           
var speedTwo=marqueeSpeed;
var textSpan, marquee;
var fontSize = parseInt(marqueeHeight) - 6;

function marquee(){
     var content = document.getElementById('scroller').getAttribute('content');
     if (document.getElementById){
          var scrollit = '<div style="position:relative; margin:auto; width:'+marqueeWidth+'px;height:'+marqueeHeight+';overflow:hidden;color:#FFFFFF;"';
          if (pauseMarquee) scrollit += ' onmouseover="speedTwo=0" onmouseout="speedTwo=marqueeSpeed"';
          scrollit +='><div id="marquee" style="position:absolute;left:0px;top:0px;font-family:'+fontFamily+';font-size:'+fontSize+'px;white-space:nowrap;"><\/div><\/div>';
          document.getElementById('scroller').innerHTML = scrollit;
          marquee = document.getElementById("marquee");
          marquee.style.left=(parseInt(marqueeWidth))+"px";
          marquee.innerHTML='<span id="text">'+content+'<\/span>';
          textSpan = document.getElementById("text").offsetWidth;
          setInterval("scrollscroller()",17);
     }
}

function scrollscroller(){
     marquee.style.left = (parseInt(marquee.style.left)>(-10 - textSpan)) ?parseInt(marquee.style.left)-speedTwo+"px" : parseInt(marqueeWidth)+4+"px";
}

window.onload=marquee;

</script>

use with:
<div id="scroller" content="scrollling text"></div>


QuestionHow to GET similar pages like mine? Pin
CoderForEver8-Aug-09 9:50
CoderForEver8-Aug-09 9:50 
AnswerRe: How to GET similar pages like mine? Pin
Marc Firth10-Aug-09 1:55
Marc Firth10-Aug-09 1:55 
Questionunix projects Pin
dewpra8-Aug-09 7:52
dewpra8-Aug-09 7:52 
AnswerRe: unix projects Pin
LloydA11113-Aug-09 9:29
LloydA11113-Aug-09 9:29 
QuestionHelp with checkbox and drop down menu values Pin
Artakazezs7-Aug-09 3:19
Artakazezs7-Aug-09 3:19 
AnswerRe: Help with checkbox and drop down menu values Pin
fly9047-Aug-09 3:47
fly9047-Aug-09 3:47 
QuestionHow to get value on variable ? Pin
udch6-Aug-09 16:51
udch6-Aug-09 16:51 
AnswerRe: How to get value on variable ? Pin
fly9046-Aug-09 20:22
fly9046-Aug-09 20:22 
GeneralRe: How to get value on variable ? Pin
udch7-Aug-09 3:01
udch7-Aug-09 3:01 
GeneralRe: How to get value on variable ? Pin
fly9047-Aug-09 3:21
fly9047-Aug-09 3:21 
GeneralRe: How to get value on variable ? Pin
udch7-Aug-09 3:50
udch7-Aug-09 3:50 
Questionwhat's the best php IDE for windows Pin
Jeff Circeo6-Aug-09 16:42
Jeff Circeo6-Aug-09 16:42 
AnswerRe: what's the best php IDE for windows Pin
fly9046-Aug-09 20:30
fly9046-Aug-09 20:30 
GeneralRe: what's the best php IDE for windows Pin
Jeff Circeo7-Aug-09 0:10
Jeff Circeo7-Aug-09 0:10 
AnswerRe: what's the best php IDE for windows Pin
Aman Bhullar7-Aug-09 3:19
Aman Bhullar7-Aug-09 3:19 
GeneralRe: what's the best php IDE for windows Pin
Jeff Circeo7-Aug-09 4:15
Jeff Circeo7-Aug-09 4:15 
QuestionDoes ! work as an operator to check whether handles are null or not, especially file handles ? Pin
parth_patel6-Aug-09 13:54
parth_patel6-Aug-09 13:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.