PDA

View Full Version : need help finding original



A O K1
10-05-2007, 12:52 AM
1) Script Title:

2) Script URL (on DD): not sure im looking for it

3) Describe problem: i need the original code

ok well hi, im looking for the original code of a code im about to post. my friend gave me it and i want the origanal before i do anything with is, so here is the code.



<div align=center><br>
<table cellpadding="10" cellspacing="0" width="792">
<tr><td class="boardtable">

<table width="100%" cellspacing="6" id="submenu">
<tr>
<td><a href=''></a>&nbsp;· <a href=" ">Rules</a>&nbsp;· <a href=" ">Portal</a></td>
<td align="right">
<img src="http://209.85.62.25/style_images/1/atb_help.gif" border="0" alt="" />&nbsp;<a href=' '>Help</a>
&nbsp; &nbsp;&nbsp;<img src="http://209.85.62.25/style_images/1/atb_search.gif" border="0" alt="" />&nbsp;<a href=' '>Search</a>
&nbsp; &nbsp;&nbsp;<img src="http://209.85.62.25/style_images/1/atb_members.gif" border="0" alt="" />&nbsp;<a href=' '>Members</a>
&nbsp; &nbsp;&nbsp;<img src="http://209.85.62.25/style_images/1/atb_calendar.gif" border="0" alt="" />&nbsp;<a href=' '>Calendar</a>
<!--IBF.CHATLINK-->
</td>
</tr>
</table>

<table width="100%" id="userlinks" cellspacing="6">
<tr>

<br />


<!-- New PM Flasher code, flases red when someone get new Pm -->
<script>//New PM Flasher - By Markup
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Inbox"))
{
newMsg=false;
a=userLinks.getElementsByTagName("A");
for(i=0;i<a.length;i++)if(a[i].innerHTML.match(/Inbox\s\([0-9]+\)/)&&a[i].innerHTML.match(/[0-9]+/)>0)newMsg=i;
if(newMsg)
{
inbox=a[newMsg];
inbox.style.fontWeight="Bold";
inbox.style.color="Red";
flash();
}
}
function flash()
{
if(inbox.style.visibility=="hidden")inbox.style.visibility="visible";
else inbox.style.visibility="hidden";
setTimeout("flash()",500)
}
</script>
<!-- End of New PM Flasher code -->




<div class="tableborder" style="width: 790ght: 140">
<div class='maintitle' align='left' style="width: 300height: 19">
<b></b>


</div>
<td class="row2" _base_href="http://127.0.0.1/" valign="top" width="40%">
<br><font color="red"></font>
<center><u><font style='color: white; font-weight: normal; filter:glow(color=gold, strength=3); height: 1px;'><b></b></center>
</font></u><br>
<font size="2"></font><marquee height="250" width="300" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="2" style=""

<br>
<br>

<br><br>
</marquee></b>

<center>
</b></td>
<td class="row2" _base_href="http://127.0.0.1/" valign="top" width="20%">
<font color="red"><b></b></font>
<br><center

<marquee height="160" width="130" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="2" style="">


<br>
</marquee>
<br>
<br>
<b
<br>
<br>


<br><center>





</td>
</tr>
</table>
</div>

<table width="100%" align="center" border="0"><tr><td>
<div class="tableborder">
<div class='maintitle' align='center'><img src='http://209.85.62.23/style_images/1/nav_m.gif' border='0' alt='' width='8' height='8'>






</div>
<table width="100%" align="center" border="0" cellspacing="1" cellpadding="4"><tr><td class="row1">

<script language="JavaScript1.2">

//Tweaked for optimal use by InvisionFree by DyNaMiX

/*
Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="725px"
//Specify the marquee's height
var marqueeheight="35px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1.25
//configure background color:
var marqueebgcolor="#000000"
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<nobr>


</nobr>'

////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"

}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script>
</td>
</tr>
</table>
</div>
</td></tr></table>

jscheuer1
10-05-2007, 04:14 AM
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm