iens6 What is it?

Was exploring my site and noticed I had a couple errors showing. One of them read “iens6 is not defined in mywx.htm (my weather site)”

Is this something I can define from the control panel setups or do I need to go into template and change?

What exactly is it? Googling said something about a scrolling script that this is.

Thank you!

a quick google leads me to believe you should have a manual scroller on your page

Have a look at that yellow box at the top of your page, perhaps its something as simple as that ) thats showing out of place

I dont know but thats the script in question, although, i do not see any iens6 error in Chrome, this on your page is the iens6

<center>
<div style="background-color:#FFFF00;width:155px"><center><a href="javascript:movedown()">Down</a>  <a href="javascript:moveup()">Up</a>
<a href="javascript:stopscroll()">Stop</a>  <a href="javascript:movetop()">Top</a></center>)
</div>

<SCRIPT language="JavaScript1.2">
var speed=2

iens6=document.all||document.getElementById
ns4=document.layers

if (iens6){
document.write(''<div id="container" style="position:relative;width:0px;height:0px;overflow:hidden;border:2px ridge white">'')
document.write(''<div id="content" style="position:absolute;width:0px;left:0px;top:0px">'')
}
</script>

<ilayer name="nscontainer" width=0 height=0 clip="0,0,0,0">
<layer name="nscontent" width=0 height=0 visibility=hidden>

<!--INSERT CONTENT HERE-->
<p><pre>
CAZ013
Wind Advisory issued February 08 at 3:18PM PST until February 09 at 4:00PM PST by NWS
...
WIND ADVISORY REMAINS IN EFFECT UNTIL 4 PM PST THURSDAY...
 * TIMING...
THIS AFTERNOON THROUGH THURSDAY AFTERNOON. STRONGEST WINDS EXPECTED THURSDAY MORNING. * WINDS...
SOUTH 30 TO 40 MPH WITH GUSTS TO 55 MPH IN THE VALLEY AND 
FOOTHILLS. LOCAL GUSTS 50 TO 70 MPH ACROSS HIGHER TERRAIN OF THE NORTHERN MOUNTAINS 
AND SOUTHERN CASCADE RANGE.
Wind Advisory
****************
...WIND ADVISORY REMAINS IN EFFECT UNTIL 4 PM PST THURSDAY...
* TIMING...THIS AFTERNOON THROUGH THURSDAY AFTERNOON. STRONGEST
WINDS EXPECTED THURSDAY MORNING.
* WINDS...SOUTH 30 TO 40 MPH WITH GUSTS TO 55 MPH IN THE VALLEY AND
FOOTHILLS. LOCAL GUSTS 50 TO 70 MPH ACROSS HIGHER TERRAIN OF
THE NORTHERN MOUNTAINS AND SOUTHERN CASCADE RANGE.
* IMPACTS...POSSIBLE DOWNED TREES AND POWER OUTAGES ALONG WITH
DIFFICULT DRIVING CONDITIONS, ESPECIALLY FOR HIGH PROFILE
VEHICLES.
Interact with us via social media
www.facebook.com/nws.sacramento
www.twitter.com/nwssacramento
A Wind Advisory means that wind gusts of 40 mph or greater are
expected. Winds this strong can make driving difficult,
especially for small cars and high profile vehicles. Use extra
caution.
<!--END CONTENT-->
</p></pre>
</layer>
</ilayer>

        <script language="JavaScript1.2">
if (iens6){
document.write('</div></div>')
var crossobj=document.getElementById? document.getElementById("content") : 
document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}

function movedown(){
if (window.moveupvar) clearTimeout(moveupvar)
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){
if (window.movedownvar) clearTimeout(movedownvar)
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)
}

function stopscroll(){
if (window.moveupvar) clearTimeout(moveupvar)
if (window.movedownvar) clearTimeout(movedownvar)
}

function movetop(){
stopscroll()
if (iens6)
crossobj.style.top=0+"px"
else if (ns4)
crossobj.top=0
}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height
</script>

AHA! You know, I’ve noticed that box and not been able to do anything with it (so far ). Does look like scrolling functions.

Thank you! :slight_smile:

I may have to learn some coding if I want to get any deeper into some of these customization stuff.