Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Dėl naujienų apdorojimo

Parašė egisss· 2009 Gru. 16 20:12:37
#1

Sveiki turiu koduka kuris šeip veikia bet jis tesiasi į apačia ilgai ir padrikai, noriu kad po nuotraukomis ir užsibaigtų panelė o nesitęstų kaip šitoje foto:
http://img20.imageshack.us/img20.../aaasp.jpg

o štai ir kodas kuri reikėtu pataisyti:

openside("name");
?>
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td align="left"><img src="http://feelsound.lt/images/folder.png"></td>
<td class="capmain" align="center" width="100%">Naujienos iš muzikos pasaulio</td>
<td align="right"><img src="http://feelsound.lt/images/folder.png"></td>
</tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" width="100%">

<tbody><tr>
<td class="sideline" border="0" height="100%" width="2"></td>
<td class="main-body" align="left">
<center><script type="text/javascript">


var sliderwidth="480px"
var sliderheight="250px"
var slidespeed=3
slidebgcolor="#000000"


//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''

leftrightslide[0]='<a href="http://www.mes/news.php?readmore=15 " title="M.Mikutavičius po Naujųjų atsiduos mokslams"><img src="http://img710.imageshack.us/img710/1011/file22668966d61514a377b.jpg" border=0 ></a>'

leftrightslide[1]='<a href="http://www.mes/news.php?readmore=30 " title="Dainininkės Milanos daina atrinkta konkurse „Eurodanceweb Award 2009""><img src="http://img43.imageshack.us/img43/1810/meirr5vs.jpg" border=0 ></a>'



//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=5

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script><span id="temp" style="visibility: hidden; position: absolute; top: -100px; left: -9000px;"><nobr><a href="http://www.failai.lt/aayyj8dn1bmj/The_Goods._Live_Hard_Sell_Hard_%28sample_by_anglisss%29.wmv.htm" title="Trijų dienų vadybininkai"><img src="http://img27.imageshack.us/img27/5815/rszthegoodslivehardsell.jpg" border="0"></a> <a href="http://www.failai.lt/40sfy33c8cog/Max_and_Mary_%28sample_by_anglisss%29.wmv.htm%20" title="Maksas ir Merė"><img src="http://img27.imageshack.us/img27/1022/rsz4720.jpg" border="0"></a> <a href="http://www.failai.lt/o9lhkp86gjmz/Scooby_Doo._The_Mystery_Begins_sample_by_Roberta.wmv.htm" title="Skubis Dū. Pradžia"><img src="http://img15.imageshack.us/img15/7311/rszscoobydoothemysteryb.jpg" border="0"></a> <a href="http://www.failai.lt/jjj59utzo9wz/Four.Christmases.Sample.by.bernisz.wmv.htm" title="Ketverios Kalėdos"><img src="http://img519.imageshack.us/img519/7872/rsz4christmases.jpg" border="0"></a> <a href="http://www.failai.lt/458najc34ti7/In_the_Shadow_of_the_Moon_-_Sample_%5BPagal_Nocciole%5D.avi.htm" title="Mėnulio šešėlyje"><img src="http://img40.imageshack.us/img40/9730/rsz2intheshadowofthemoo.jpg" border="0"></a> <a href="http://www.failai.lt/ff900fhqqgqx/Next.Day.Air.Sample.avi.htm" title="Kitos dienos paštas"><img src="http://www.movietrimmer.com/content/default/english/images/movies/375468_3.jpg" border="0" height="370" width="256"> </a> <a href="http://www.failai.lt/duw3dn7hb67b/Year_One_sample_by_Machkuz.avi.htm" title="Pirmieji metai. Pasitikime protėvius!"><img src="http://static.obuolys.lt/uploads/cache/photos/uploads/photos/movie/12213_090715092617_0_display.jpg" border="0" height="370" width="256"></a></nobr></div><div id="test3" style="position: absolute; left: 1113px; top: 0px;"><nobr><a href="http://www.failai.lt/aayyj8dn1bmj/The_Goods._Live_Hard_Sell_Hard_%28sample_by_anglisss%29.wmv.htm" title="Trijų dienų vadybininkai"><img src="http://img27.imageshack.us/img27/5815/rszthegoodslivehardsell.jpg" border="0"></a> <a href="http://www.failai.lt/40sfy33c8cog/Max_and_Mary_%28sample_by_anglisss%29.wmv.htm%20" title="Maksas ir Merė"><img src="http://img27.imageshack.us/img27/1022/rsz4720.jpg" border="0"></a> <a href="http://www.failai.lt/o9lhkp86gjmz/Scooby_Doo._The_Mystery_Begins_sample_by_Roberta.wmv.htm" title="Skubis Dū. Pradžia"><img src="http://img15.imageshack.us/img15/7311/rszscoobydoothemysteryb.jpg" border="0"></a> <a href="http://www.failai.lt/jjj59utzo9wz/Four.Christmases.Sample.by.bernisz.wmv.htm" title="Ketverios Kalėdos"><img src="http://img519.imageshack.us/img519/7872/rsz4christmases.jpg" border="0"></a> <a href="http://www.failai.lt/458najc34ti7/In_the_Shadow_of_the_Moon_-_Sample_%5BPagal_Nocciole%5D.avi.htm" title="Mėnulio šešėlyje"><img src="http://img40.imageshack.us/img40/9730/rsz2intheshadowofthemoo.jpg" border="0"></a> <a href="http://www.failai.lt/ff900fhqqgqx/Next.Day.Air.Sample.avi.htm" title="Kitos dienos paštas"><img src="http://www.movietrimmer.com/content/default/english/images/movies/375468_3.jpg" border="0" height="370" width="256"> </a> <a href="http://www.failai.lt/duw3dn7hb67b/Year_One_sample_by_Machkuz.avi.htm" title="Pirmieji metai. Pasitikime protėvius!"><img src="http://static.obuolys.lt/uploads/cache/photos/uploads/photos/movie/12213_090715092617_0_display.jpg" border="0" height="370" width="256"></a></nobr></div></div></div></td></tr></tbody></table></center>

</td>
<td class="sideliner" border="0" height="100%" width="4"></td>
</tr><tr>
<td style="height: 0px; background-color: rgb(0, 0, 0);"></td>
</tr>
</tbody></table>
   </tr></tbody></table>
<table class="spacer"><tbody><tr><td></td><td>
</td></tr>
</tbody></table>
<?;
closeside();