Connecting Tech Pros Worldwide Help | Site Map

How to show two news-scrollers in one page?

  #1  
Old August 29th, 2008, 12:20 PM
Member
 
Join Date: Jun 2007
Posts: 32
If i put only one of them it's work good but when I put both of them together there show an error message.

please hlep me, How to put both of them together ...

[HTML]<html><head><title></title></head><body bgcolor="#FFFFFF"><div id="disspageie" style="position:absolute;background:#FFFFFF;width: 160; height:400;left:0; top:0;margin:0px;overflow:hidden;padding:0px;borde r-style:solid; border-width:1px; border-color:#5C5C5C;"><div id="spageie" style="position:absolute; width:160; height:400; left:0; top:0; border-width:0px; overflow:hidden;clip:rect(4 160 395 0);"></div></div><script language="javascript">var OPB=false;uagent = window.navigator.userAgent.toLowerCase();OPB=(uage nt.indexOf('opera') != -1)?true:false;if((document.all)&&(OPB==false)){doc ument.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"scroller_barcoletanewsticie.js\"></scr"+"ipt>");}else{document.write("<div id=\"spagensbrd\" style=\"position:absolute; width:158; height:398; left:0; top:0; border-style:solid; border-width:1px; border-color:#5C5C5C;overflow:hidden;\"><div id=\"spagens\" style=\"position:absolute; width:158; height:398; left:0; top:0; border-width:0px; overflow:hidden;clip:rect(4 160 395 0);\"></div></div>");document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"scroller_barcoletanewsticns6.js\"></scr"+"ipt>");}</script></body></html>
<html><head><title></title></head><body bgcolor="#FFFFFF"><div id="disspageie" style="position:absolute;background:#FFFFFF;width: 160; height:400;left:0; top:0;margin:0px;overflow:hidden;padding:0px;borde r-style:solid; border-width:1px; border-color:#5C5C5C;"><div id="spageie" style="position:absolute; width:160; height:400; left:0; top:0; border-width:0px; overflow:hidden;clip:rect(4 160 395 0);"></div></div><script language="javascript">var OPB=false;uagent = window.navigator.userAgent.toLowerCase();OPB=(uage nt.indexOf('opera') != -1)?true:false;if((document.all)&&(OPB==false)){doc ument.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"scroller_poezinewsticie.js\"></scr"+"ipt>");}else{document.write("<div id=\"spagensbrd\" style=\"position:absolute; width:158; height:398; left:0; top:0; border-style:solid; border-width:1px; border-color:#5C5C5C;overflow:hidden;\"><div id=\"spagens\" style=\"position:absolute; width:158; height:398; left:0; top:0; border-width:0px; overflow:hidden;clip:rect(4 160 395 0);\"></div></div>");document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"scroller_poezinewsticns6.js\"></scr"+"ipt>");}</script></body></html>[/HTML]
  #2  
Old August 29th, 2008, 06:48 PM
FLEB's Avatar
Newbie
 
Join Date: Aug 2008
Posts: 30

re: How to show two news-scrollers in one page?


I'm assuming you're using a third-party news scroller script. You would probably have better luck looking into that script specifically-- searching for help on it, or finding information from the developers.

My first guess is that the script is not designed for multiple instances by default. There may be some extra steps or parameters that will allow you to have multiple scrollers. Or, you may just have to find a different news scroller that supports multiple instances.
  #3  
Old September 2nd, 2008, 05:49 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,521
Provided Answers: 12

re: How to show two news-scrollers in one page?


If you're seeing an error message, it's a JavaScript problem. What's the message?

PS. moved to the JavaScript forum.
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
TWO REPEATERS IN ONE PAGE ????????? news.microsoft.com answers 6 November 21st, 2005 12:55 PM
TWO REPEATERS IN ONE PAGE?????? news.microsoft.com answers 4 November 19th, 2005 06:24 AM
Using two frames in one page.. Irfan Akram answers 5 November 19th, 2005 05:30 AM
2 forms in one web app problem excelleinc.com answers 5 November 18th, 2005 07:58 PM