Click here to Skip to main content
16,020,666 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: how to edit more then 10000 html pages. Pin
Member 311322517-Aug-09 3:12
Member 311322517-Aug-09 3:12 
GeneralRe: how to edit more then 10000 html pages. Pin
Anurag Gandhi17-Aug-09 6:02
professionalAnurag Gandhi17-Aug-09 6:02 
GeneralRe: how to edit more then 10000 html pages. Pin
Member 311322517-Aug-09 20:57
Member 311322517-Aug-09 20:57 
Questionhow to show weather ,temperature,time country wise Pin
smiley_jatin16-Aug-09 19:26
smiley_jatin16-Aug-09 19:26 
AnswerRe: how to show weather ,temperature,time country wise Pin
Marc Firth16-Aug-09 22:10
Marc Firth16-Aug-09 22:10 
Questionnewsticker Pin
vikas shukla16-Aug-09 19:08
vikas shukla16-Aug-09 19:08 
AnswerRe: newsticker Pin
smiley_jatin16-Aug-09 19:54
smiley_jatin16-Aug-09 19:54 
AnswerRe: newsticker Pin
Marc Firth16-Aug-09 22:09
Marc Firth16-Aug-09 22:09 
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;










That js should get you started - you need to change it so that it goes up and down not left though.


QuestionDisplaying a div at the bottom of another div Pin
Ersan Ercek16-Aug-09 2:52
Ersan Ercek16-Aug-09 2:52 
AnswerRe: Displaying a div at the bottom of another div Pin
Abhishek Sur16-Aug-09 7:38
professionalAbhishek Sur16-Aug-09 7:38 
QuestionHow to Select different Printer for different document? Pin
suzy_bcny15-Aug-09 6:21
suzy_bcny15-Aug-09 6:21 
AnswerRe: How to Select different Printer for different document? Pin
Abhishek Sur15-Aug-09 13:23
professionalAbhishek Sur15-Aug-09 13:23 
AnswerRe: How to Select different Printer for different document? Pin
Abhishek Sur15-Aug-09 13:25
professionalAbhishek Sur15-Aug-09 13:25 
GeneralRe: How to Select different Printer for different document? Pin
suzy_bcny16-Aug-09 8:38
suzy_bcny16-Aug-09 8:38 
GeneralRe: How to Select different Printer for different document? Pin
Abhishek Sur16-Aug-09 21:35
professionalAbhishek Sur16-Aug-09 21:35 
GeneralRe: How to Select different Printer for different document? Pin
suzy_bcny17-Aug-09 2:56
suzy_bcny17-Aug-09 2:56 
GeneralRe: How to Select different Printer for different document? Pin
Abhishek Sur17-Aug-09 6:09
professionalAbhishek Sur17-Aug-09 6:09 
GeneralRe: How to Select different Printer for different document? Pin
suzy_bcny17-Aug-09 8:15
suzy_bcny17-Aug-09 8:15 
QuestionFlash SWF Variable Pin
GreenKhan14-Aug-09 21:05
GreenKhan14-Aug-09 21:05 
AnswerRe: Flash SWF Variable Pin
Marc Firth16-Aug-09 22:12
Marc Firth16-Aug-09 22:12 
GeneralRe: Flash SWF Variable Pin
GreenKhan17-Aug-09 2:24
GreenKhan17-Aug-09 2:24 
GeneralRe: Flash SWF Variable Pin
Marc Firth17-Aug-09 2:32
Marc Firth17-Aug-09 2:32 
QuestionCreate javascript popup window Pin
dcode2514-Aug-09 6:50
dcode2514-Aug-09 6:50 
AnswerRe: Create javascript popup window Pin
Abhishek Sur15-Aug-09 13:28
professionalAbhishek Sur15-Aug-09 13:28 
GeneralRe: Create javascript popup window Pin
dcode2516-Aug-09 7:34
dcode2516-Aug-09 7:34 

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.