:: Forum >>

Problems in scrolling tabs

Hi
I am trying to implement scrolling tabs. Had gone through some previous topics about scrolling tabs. Those were really helpful. But i am still facing one major problems.
I am using tabs and have put 6 aw.ui.links on it. When use only tabs without links the scrolling of tabs works perfectly but once the links are placed on the tabs the scrolling is disturbed. What happens is the previous tabs remain in there position and new once overwrite them.
Could anyone tell me how to solve this problem
I am also giving the code please guys help needed urgently
I am also not sure which version of active widgets i am using
/***************************************************/

<html>
<head>
<body>
<script src="aw.js"></script>
<link href="aw.css" rel="stylesheet"></link>
<script type="text/javascript" src="yahoo.js" ></script>

<!--style>/****Style for Tab ******/-->

<style>
.aw-system-control {position: absolute}
#myTabs {left:196px; top:406px; width: 686px; height: 22px;}

/*#box {left: 190px; top:400px; width: 500px; height: 220px; border: 1px solid #999; background: #ece9d8;position: absolute;}*/

#tabs {left:196px; top:406px; width: 586px; height: 22px;}

#frame {left:196px; top:428px; width: 490px; height: 180px; border: 1px solid #999; background: #f9f8f4; position: absolute;}

.aw-ui-button {left:196px; top:406px;width:300px; height:22px;}

#link1 {left:210px; top:460px; width:400px; height:16px;}
#link1 a:visited {color: #999}
#link1 a:hover {color: red}

#link2 {left:210px; top:480px; width:400px; height:16px;}
#link2 a:visited {color: #999}
#link2 a:hover {color: red}

#link3 {left:210px; top:500px; width:400px; height:16px;}
#link3 a:visited {color: #999}
#link3 a:hover {color: red}

#link4 {left:210px; top:520px; width:400px; height:16px;}
#link4 a:visited {color: #999}
#link4 a:hover {color: red}

#link5 {left:210px; top:540px; width:400px; height:16px;}
#link5 a:visited {color: #999}
#link5 a:hover {color: red}

#morelink1 {left:550 px; top:560px; width:400px; height:16px;}
#morelink1 a:visited {color: #999}
#morelink1 a:hover {color: red}

#link6 {left:210px; top:460px; width:400px; height:16px;}
#link6 a:visited {color: #999}
#link6 a:hover {color: red}

#link7 {left:210px; top:480px; width:400px; height:16px;}
#link7 a:visited {color: #999}
#link7 a:hover {color: red}

#link8 {left:210px; top:500px; width:400px; height:16px;}
#link8 a:visited {color: #999}
#link8 a:hover {color: red}

#link9 {left:210px; top:520px; width:400px; height:16px;}
#link9 a:visited {color: #999}
#link9 a:hover {color: red}

#link10 {left:210px; top:540px; width:400px; height:16px;}
#link10 a:visited {color: #999}
#link10 a:hover {color: red}

#morelink2 {left:550 px; top:560px; width:400px; height:16px;}
#morelink2 a:visited {color: #999}
#morelink2 a:hover {color: red}

#link11 {left:210px; top:460px; width:400px; height:16px;}
#link11 a:visited {color: #999}
#link11 a:hover {color: red}

#link12 {left:210px; top:480px; width:400px; height:16px;}
#link12 a:visited {color: #999}
#link12 a:hover {color: red}

#link13 {left:210px; top:500px; width:400px; height:16px;}
#link13 a:visited {color: #999}
#link13 a:hover {color: red}

#link14 {left:210px; top:520px; width:400px; height:16px;}
#link14 a:visited {color: #999}
#link14 a:hover {color: red}

#link15 {left:210px; top:540px; width:400px; height:16px;}
#link15 a:visited {color: #999}
#link15 a:hover {color: red}

#morelink3 {left:550 px; top:560px; width:400px; height:16px;}
#morelink3 a:visited {color: #999}
#morelink3 a:hover {color: red}

#link16 {left:210px; top:460px; width:400px; height:16px;}
#link16 a:visited {color: #999}
#link16 a:hover {color: red}

#link17 {left:210px; top:480px; width:400px; height:16px;}
#link17 a:visited {color: #999}
#link17 a:hover {color: red}

#link18 {left:210px; top:500px; width:400px; height:16px;}
#link18 a:visited {color: #999}
#link18 a:hover {color: red}

#link19 {left:210px; top:520px; width:400px; height:16px;}
#link19 a:visited {color: #999}
#link19 a:hover {color: red}

#link20 {left:210px; top:540px; width:400px; height:16px;}
#link20 a:visited {color: #999}
#link20 a:hover {color: red}

#morelink4 {left:550 px; top:560px; width:400px; height:16px;}
#morelink4 a:visited {color: #999}
#morelink4 a:hover {color: red}

#link21 {left:210px; top:460px; width:400px; height:16px;}
#link21 a:visited {color: #999}
#link21 a:hover {color: red}

#link22 {left:210px; top:480px; width:400px; height:16px;}
#link22 a:visited {color: #999}
#link22 a:hover {color: red}

#link23 {left:210px; top:500px; width:400px; height:16px;}
#link23 a:visited {color: #999}
#link23 a:hover {color: red}

#link24 {left:210px; top:520px; width:400px; height:16px;}
#link24 a:visited {color: #999}
#link24 a:hover {color: red}

#link25 {left:210px; top:540px; width:400px; height:16px;}
#link25 a:visited {color: #999}
#link25 a:hover {color: red}

#morelink5 {left:550 px; top:560px; width:400px; height:16px;}
#morelink5 a:visited {color: #999}
#morelink5 a:hover {color: red}

#link26 {left:210px; top:460px; width:400px; height:16px;}
#link26 a:visited {color: #999}
#link26 a:hover {color: red}

#link27 {left:210px; top:480px; width:400px; height:16px;}
#link27 a:visited {color: #999}
#link27 a:hover {color: red}

#link28 {left:210px; top:500px; width:400px; height:16px;}
#link28 a:visited {color: #999}
#link28 a:hover {color: red}

#link29 {left:210px; top:520px; width:400px; height:16px;}
#link29 a:visited {color: #999}
#link29 a:hover {color: red}

#link30 {left:210px; top:540px; width:400px; height:16px;}
#link30 a:visited {color: #999}
#link30 a:hover {color: red}

#morelink6 {left:550 px; top:560px; width:400px; height:16px;}
#morelink6 a:visited {color: #999}
#morelink6 a:hover {color: red}

#link31 {left:210px; top:460px; width:400px; height:16px;}
#link31 a:visited {color: #999}
#link31 a:hover {color: red}

#link32 {left:210px; top:480px; width:400px; height:16px;}
#link32 a:visited {color: #999}
#link32 a:hover {color: red}

#link33 {left:210px; top:500px; width:400px; height:16px;}
#link33 a:visited {color: #999}
#link33 a:hover {color: red}

#link34 {left:210px; top:520px; width:400px; height:16px;}
#link34 a:visited {color: #999}
#link34 a:hover {color: red}

#link35 {left:210px; top:540px; width:400px; height:16px;}
#link35 a:visited {color: #999}
#link35 a:hover {color: red}

#morelink7 {left:550 px; top:560px; width:400px; height:16px;}
#morelink7 a:visited {color: #999}
#morelink7 a:hover {color: red}

#link36 {left:210px; top:460px; width:400px; height:16px;}
#link36 a:visited {color: #999}
#link36 a:hover {color: red}

#link37 {left:210px; top:480px; width:400px; height:16px;}
#link37 a:visited {color: #999}
#link37 a:hover {color: red}

#link38 {left:210px; top:500px; width:400px; height:16px;}
#link38 a:visited {color: #999}
#link38 a:hover {color: red}

#link39 {left:210px; top:520px; width:400px; height:16px;}
#link39 a:visited {color: #999}
#link39 a:hover {color: red}

#link40 {left:210px; top:540px; width:400px; height:16px;}
#link40 a:visited {color: #999}
#link40 a:hover {color: red}

#morelink8 {left:550 px; top:560px; width:400px; height:16px;}
#morelink8 a:visited {color: #999}
#morelink8 a:hover {color: red}

#link41 {left:210px; top:460px; width:400px; height:16px;}
#link41 a:visited {color: #999}
#link41 a:hover {color: red}

#link42 {left:210px; top:480px; width:400px; height:16px;}
#link42 a:visited {color: #999}
#link42 a:hover {color: red}

#link43 {left:210px; top:500px; width:400px; height:16px;}
#link43 a:visited {color: #999}
#link43 a:hover {color: red}

#link44 {left:210px; top:520px; width:400px; height:16px;}
#link44 a:visited {color: #999}
#link44 a:hover {color: red}

#link45 {left:210px; top:540px; width:400px; height:16px;}
#link45 a:visited {color: #999}
#link45 a:hover {color: red}

#morelink9 {left:550 px; top:560px; width:400px; height:16px;}
#morelink9 a:visited {color: #999}
#morelink9 a:hover {color: red}

#link46 {left:210px; top:460px; width:400px; height:16px;}
#link46 a:visited {color: #999}
#link46 a:hover {color: red}

#link47 {left:210px; top:480px; width:400px; height:16px;}
#link47 a:visited {color: #999}
#link47 a:hover {color: red}

#link48 {left:210px; top:500px; width:400px; height:16px;}
#link48 a:visited {color: #999}
#link48 a:hover {color: red}

#link49 {left:210px; top:520px; width:400px; height:16px;}
#link49 a:visited {color: #999}
#link49 a:hover {color: red}

#link50 {left:210px; top:540px; width:400px; height:16px;}
#link50 a:visited {color: #999}
#link50 a:hover {color: red}

#morelink10 {left:550 px; top:560px; width:400px; height:16px;}
#morelink10 a:visited {color: #999}
#morelink10 a:hover {color: red}


</style>

<form action="" method="POST" name="form1" id="form1" onSubmit="">
<INPUT TYPE="HIDDEN" NAME="class1" VALUE="Terrorism">
<INPUT TYPE="HIDDEN" NAME="lin1" VALUE="1)fdsf">
<INPUT TYPE="HIDDEN" NAME="hyper1" VALUE="setRepositoryMsgFields(form1,'2701393920','163238778','wAAAAALxVhICAADvAAAB4AAAAAAABp3mAAAA/joyAAAA','1031','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin2" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper2" VALUE="setRepositoryMsgFields(form1,'2701393920','163238775','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin3" VALUE="3)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper3" VALUE="setRepositoryMsgFields(form1,'2701393920','163238773','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin4" VALUE="4)Mumbai Blast on 23 July Shocked the city">
<INPUT TYPE="HIDDEN" NAME="hyper4" VALUE="setRepositoryMsgFields(form1,'2701393920','163238766','QAAAAALxVb8CAAI4AAABzwAAAAAAFp0kAAAA/joyAAAA','1020','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin5">
<INPUT TYPE="HIDDEN" NAME="hyper5" VALUE="">
<INPUT TYPE="HIDDEN" NAME="morelink1" VALUE="">
<INPUT TYPE="HIDDEN" NAME="more1" VALUE="">

<INPUT TYPE="HIDDEN" NAME="class2" VALUE="Politics">
<INPUT TYPE="HIDDEN" NAME="lin6" VALUE="1)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper6" VALUE="setRepositoryMsgFields(form1,'3506700288','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/jowAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin7" VALUE="2)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper7" VALUE="setRepositoryMsgFields(form1,'3506700288','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/jowAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin8" VALUE="3)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper8" VALUE="setRepositoryMsgFields(form1,'3506700288','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/jowAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin9" VALUE="4)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper9" VALUE="setRepositoryMsgFields(form1,'3506700288','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/jowAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin10" VALUE="5)test-4">
<INPUT TYPE="HIDDEN" NAME="hyper10" VALUE="setRepositoryMsgFields(form1,'3506700288','163592890','IAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/jowAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink2" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more2" VALUE="setDigitalPageDirFields(form1,3506700288,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class3" VALUE="Software">
<INPUT TYPE="HIDDEN" NAME="lin11" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper11" VALUE="setRepositoryMsgFields(form1,'2298740736','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin12" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper12" VALUE="setRepositoryMsgFields(form1,'2298740736','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin13" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper13" VALUE="setRepositoryMsgFields(form1,'2298740736','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin14" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper14" VALUE="setRepositoryMsgFields(form1,'2298740736','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin15" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper15" VALUE="setRepositoryMsgFields(form1,'2298740736','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink3" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more3" VALUE="setDigitalPageDirFields(form1,2298740736,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class4" VALUE="Bollywood">
<INPUT TYPE="HIDDEN" NAME="lin16" VALUE="1)ferfe">
<INPUT TYPE="HIDDEN" NAME="hyper16" VALUE="setRepositoryMsgFields(form1,'4144168960','163236125','QAAAAALxVsICAAB0AAEBnwAAAAAAD0jnAAAA/joyAAAA','859','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin17" VALUE="2)534534">
<INPUT TYPE="HIDDEN" NAME="hyper17" VALUE="setRepositoryMsgFields(form1,'4144168960','163236124','gAAAAALxVrYCAAB0AAEBnwAAAAAAD0jnAAAA/joyAAAA','878','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin18" VALUE="3)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper18" VALUE="setRepositoryMsgFields(form1,'4144168960','163236123','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin19" VALUE="4)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper19" VALUE="setRepositoryMsgFields(form1,'4144168960','163236122','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin20" VALUE="5)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper20" VALUE="setRepositoryMsgFields(form1,'4144168960','163236121','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink4" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more4" VALUE="setDigitalPageDirFields(form1,4144168960,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class5" VALUE="Sports">
<INPUT TYPE="HIDDEN" NAME="lin21" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper21" VALUE="setRepositoryMsgFields(form1,'1241776128','163239365','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin22" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper22" VALUE="setRepositoryMsgFields(form1,'1241776128','163239364','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin23" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper23" VALUE="setRepositoryMsgFields(form1,'1241776128','163239363','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin24" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper24" VALUE="setRepositoryMsgFields(form1,'1241776128','163239362','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin25" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper25" VALUE="setRepositoryMsgFields(form1,'1241776128','163239361','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink5" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more5" VALUE="setDigitalPageDirFields(form1,1241776128,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class6" VALUE="Telecom">
<INPUT TYPE="HIDDEN" NAME="lin26" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper26" VALUE="setRepositoryMsgFields(form1,'436469760','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin27" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper27" VALUE="setRepositoryMsgFields(form1,'436469760','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin28" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper28" VALUE="setRepositoryMsgFields(form1,'436469760','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin29" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper29" VALUE="setRepositoryMsgFields(form1,'436469760','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin30" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper30" VALUE="setRepositoryMsgFields(form1,'436469760','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink6" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more6" VALUE="setDigitalPageDirFields(form1,436469760,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class7" VALUE="Finance">
<INPUT TYPE="HIDDEN" NAME="lin31" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper31" VALUE="setRepositoryMsgFields(form1,'436469760','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin32" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper32" VALUE="setRepositoryMsgFields(form1,'436469760','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin33" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper33" VALUE="setRepositoryMsgFields(form1,'436469760','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin34" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper34" VALUE="setRepositoryMsgFields(form1,'436469760','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin35" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper35" VALUE="setRepositoryMsgFields(form1,'436469760','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink7" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more7" VALUE="setDigitalPageDirFields(form1,436469760,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class8" VALUE="Markerting">
<INPUT TYPE="HIDDEN" NAME="lin36" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper36" VALUE="setRepositoryMsgFields(form1,'436469760','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin37" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper37" VALUE="setRepositoryMsgFields(form1,'436469760','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin38" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper38" VALUE="setRepositoryMsgFields(form1,'436469760','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin39" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper39" VALUE="setRepositoryMsgFields(form1,'436469760','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin40" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper40" VALUE="setRepositoryMsgFields(form1,'436469760','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink8" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more8" VALUE="setDigitalPageDirFields(form1,436469760,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class9" VALUE="Human Resource">
<INPUT TYPE="HIDDEN" NAME="lin41" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper41" VALUE="setRepositoryMsgFields(form1,'436469760','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin42" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper42" VALUE="setRepositoryMsgFields(form1,'436469760','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin43" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper43" VALUE="setRepositoryMsgFields(form1,'436469760','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin44" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper44" VALUE="setRepositoryMsgFields(form1,'436469760','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin45" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper45" VALUE="setRepositoryMsgFields(form1,'436469760','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink9" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more9" VALUE="setDigitalPageDirFields(form1,436469760,0,2147483648,1,'F',0,0)">

<INPUT TYPE="HIDDEN" NAME="class10" VALUE="Information Technology">
<INPUT TYPE="HIDDEN" NAME="lin46" VALUE="1)test-9">
<INPUT TYPE="HIDDEN" NAME="hyper46" VALUE="setRepositoryMsgFields(form1,'436469760','163592895','kAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin47" VALUE="2)test-8">
<INPUT TYPE="HIDDEN" NAME="hyper47" VALUE="setRepositoryMsgFields(form1,'436469760','163592894','EAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin48" VALUE="3)test-7">
<INPUT TYPE="HIDDEN" NAME="hyper48" VALUE="setRepositoryMsgFields(form1,'436469760','163592893','4AAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1138','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin49" VALUE="4)test-6">
<INPUT TYPE="HIDDEN" NAME="hyper49" VALUE="setRepositoryMsgFields(form1,'436469760','163592892','YAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="lin50" VALUE="5)test-5">
<INPUT TYPE="HIDDEN" NAME="hyper50" VALUE="setRepositoryMsgFields(form1,'436469760','163592891','oAAAAALxVhICAAEHAAEBawAAAAAABAHmAAAA/joyAAAA','1137','0','C','1')">
<INPUT TYPE="HIDDEN" NAME="morelink10" VALUE="More>>">
<INPUT TYPE="HIDDEN" NAME="more10" VALUE="setDigitalPageDirFields(form1,436469760,0,2147483648,1,'F',0,0)">

<script>

<!-- **OPSOL&**COUNT&**OPSOL& -->

var cnt=10;
var box = new AW.HTML.DIV;
box.setId("box");
document.write(box);

var obj = new AW.UI.Tabs;
obj.setId("myTabs");

var classarray = new Array;<!-- **OPSOL&**COUNT&**OPSOL& -->
for(i=1;i<=10;i++)
{
var classid='class'+i;
classarray[i]=eval("document.form1."+classid+".value");
}

if(cnt==1)
{
obj.setItemText([classarray[1]]);
obj.setItemImage([classarray[1]]);
}

if(cnt==2)
{
obj.setItemText([classarray[1],classarray[2]]);
obj.setItemImage([classarray[1],classarray[2]]);
}

if(cnt==3)
{
obj.setItemText([classarray[1],classarray[2],classarray[3]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3]]);
}

if(cnt==4)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4]]);
}

if(cnt==5)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5]]);
}

if(cnt==6)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6]]);
}
if(cnt==7)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7]]);
}
if(cnt==8)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8]]);
}
if(cnt==9)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8],classarray[9]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8],classarray[9]]);
}
if(cnt==10)
{
obj.setItemText([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8],classarray[9],
classarray[10]]);
obj.setItemImage([classarray[1],classarray[2],classarray[3],classarray[4],classarray[5],classarray[6],classarray[7],classarray[8],classarray[9],
classarray[10]]);
}

/********************************************************************
item count
********************************************************************/
<!-- **OPSOL&**COUNT&**OPSOL& -->
obj.setItemCount(10);
obj.setViewCount(5)
obj.setSelectedItems([0]);

document.write(obj);

var frame = new AW.HTML.DIV;
frame.setId("frame");
document.write(frame);

var container = new AW.HTML.SPAN;
document.write(container);

var template = obj.getScrollTemplate();
obj.setScrollTemplate(template);

//New Code Added
var viewIdx = [0,1,2,3,4,5,6,7,8,9];
var button = new AW.UI.Button;
button.setControlText("<<");
button.setPosition(0,350);
document.write(button);

var button2 = new AW.UI.Button;
button2.setControlText(">>");
button2.setPosition(570,350);
document.write(button2);

function back(){
viewIdx.unshift(viewIdx.pop());
obj.setViewIndices(viewIdx);
}

function forward(){
viewIdx.push(viewIdx.shift());
obj.setViewIndices(viewIdx);
}

button.onClick = function(){
back();
}

button2.onClick = function(){
forward();
}
//New Code End

var array =new Array;
var harray = new Array;
var link = new Array;

var marray = new Array;
var mlinkarray = new Array;

var cntlink=cnt*5;
for(i=1;i<=cntlink;i++)
{
var linid='lin'+i;
array[i]=eval("document.form1."+linid+".value");
}

for(i=1;i<=cntlink;i++)
{
var hyperid='hyper'+i;
harray[i]=eval("document.form1."+hyperid+".value");
}

for(i=1 ; i<=cnt ; i++)
{
var moreid='more'+i;
marray[i]=eval("document.form1."+moreid+".value");
}

for(i=1 ; i<=cnt ; i++)
{
var morelinkid='morelink'+i;
mlinkarray[i]=eval("document.form1."+morelinkid+".value");
}

/*----------------------------------------------------------------*/

var link1 = new AW.UI.Link; link1.setId("link1");
link1.setControlText(array[1]);
link1.setEvent("onClick",harray[1]);
link1.setStyle("color" , "blue");

var link2 = new AW.UI.Link; link2.setId("link2");
link2.setControlText(array[2]);
link2.setControlLink(link2.setEvent("onClick",harray[2]));
link2.setStyle("color" , "blue");

var link3 = new AW.UI.Link; link3.setId("link3");
link3.setControlText(array[3]);
link3.setControlLink(link3.setEvent("onClick",harray[3]));
link3.setStyle("color" , "blue");

var link4 = new AW.UI.Link; link4.setId("link4");
link4.setControlText(array[4]);
link4.setControlLink(link4.setEvent("onClick",harray[4]));
link4.setStyle("color" , "blue");

var link5 = new AW.UI.Link; link5.setId("link5");
link5.setControlText(array[5]);
link5.setControlLink(link5.setEvent("onClick",harray[5]));
link5.setStyle("color" , "blue");

var morelink1 = new AW.UI.Link;
morelink1.setId("morelink1");
morelink1.setControlText(mlinkarray[1]);
morelink1.setEvent("onClick",marray[1]);
morelink1.setStyle("color" , "blue");

/*----------------------------------------------------------------*/

var link6 = new AW.UI.Link; link6.setId("link6");
link6.setControlText(array[6]);
link6.setControlLink(link6.setEvent("onClick",harray[6]));
link6.setStyle("color" , "blue");

var link7 = new AW.UI.Link; link7.setId("link7");
link7.setControlText(array[7]);
link7.setControlLink(link7.setEvent("onClick",harray[7]));
link7.setStyle("color" , "blue");

var link8 = new AW.UI.Link; link8.setId("link8");
link8.setControlText(array[8]);
link8.setControlLink(link8.setEvent("onClick",harray[8]));
link8.setStyle("color" , "blue");

var link9 = new AW.UI.Link; link9.setId("link9");
link9.setControlText(array[9]);
link9.setControlLink(link9.setEvent("onClick",harray[9]));
link9.setStyle("color" , "blue");

var link10 = new AW.UI.Link; link10.setId("link10");
link10.setControlText(array[10]);
link10.setControlLink(link10.setEvent("onClick",harray[10]));
link10.setStyle("color" , "blue");

var morelink2 = new AW.UI.Link;
morelink2.setId("morelink2");
morelink2.setControlText(mlinkarray[2]);
morelink2.setEvent("onClick",marray[2]);
morelink2.setStyle("color" , "blue");

/* ----------------------------------------------------------------*/

var link11 = new AW.UI.Link; link11.setId("link11");
link11.setControlText(array[11]);
link11.setControlLink(link11.setEvent("onClick",harray[11]));
link11.setStyle("color" , "blue");

var link12 = new AW.UI.Link; link12.setId("link12");
link12.setControlText(array[12]);
link12.setControlLink(link12.setEvent("onClick",harray[12]));
link12.setStyle("color" , "blue");

var link13 = new AW.UI.Link; link13.setId("link13");
link13.setControlText(array[13]);
link13.setControlLink(link13.setEvent("onClick",harray[13]));
link13.setStyle("color" , "blue");

var link14 = new AW.UI.Link; link14.setId("link14");
link14.setControlText(array[14]);
link14.setControlLink(link14.setEvent("onClick",harray[14]));
link14.setStyle("color" , "blue");

var link15 = new AW.UI.Link; link15.setId("link15");
link15.setControlText(array[15]);
link15.setControlLink(link15.setEvent("onClick",harray[15]));
link15.setStyle("color" , "blue");

var morelink3 = new AW.UI.Link;
morelink3.setId("morelink3");
morelink3.setControlText(mlinkarray[3]);
morelink3.setEvent("onClick",marray[3]);
morelink3.setStyle("color" , "blue");

/* ----------------------------------------------------------------*/

var link16 = new AW.UI.Link; link16.setId("link16");
link16.setControlText(array[16]);
link16.setControlLink(link16.setEvent("onClick",harray[16]));
link16.setStyle("color" , "blue");

var link17 = new AW.UI.Link; link17.setId("link17");
link17.setControlText(array[17]);
link17.setControlLink(link17.setEvent("onClick",harray[17]));
link17.setStyle("color" , "blue");

var link18 = new AW.UI.Link; link18.setId("link18");
link18.setControlText(array[18]);
link18.setControlLink(link18.setEvent("onClick",harray[18]));
link18.setStyle("color" , "blue");

var link19 = new AW.UI.Link; link19.setId("link19");
link19.setControlText(array[19]);
link19.setControlLink(link19.setEvent("onClick",harray[19]));
link19.setStyle("color" , "blue");

var link20 = new AW.UI.Link; link20.setId("link20");
link20.setControlText(array[20]);
link20.setControlLink(link20.setEvent("onClick",harray[20]));
link20.setStyle("color" , "blue");

var morelink4 = new AW.UI.Link;
morelink4.setId("morelink4");
morelink4.setControlText(mlinkarray[4]);
morelink4.setEvent("onClick",marray[4]);
morelink4.setStyle("color" , "blue");

/* ----------------------------------------------------------------*/

var link21 = new AW.UI.Link; link21.setId("link21");
link21.setControlText(array[21]);
link21.setControlLink(link21.setEvent("onClick",harray[21]));
link21.setStyle("color" , "blue");

var link22 = new AW.UI.Link; link22.setId("link22");
link22.setControlText(array[22]);
link22.setControlLink(link22.setEvent("onClick",harray[22]));
link22.setStyle("color" , "blue");

var link23 = new AW.UI.Link; link23.setId("link23");
link23.setControlText(array[23]);
link23.setControlLink(link23.setEvent("onClick",harray[23]));
link23.setStyle("color" , "blue");

var link24 = new AW.UI.Link; link24.setId("link24");
link24.setControlText(array[24]);
link24.setControlLink(link24.setEvent("onClick",harray[24]));
link24.setStyle("color" , "blue");

var link25 = new AW.UI.Link; link25.setId("link25");
link25.setControlText(array[25]);
link25.setControlLink(link25.setEvent("onClick",harray[25]));
link25.setStyle("color" , "blue");

var morelink5 = new AW.UI.Link;
morelink5.setId("morelink5");
morelink5.setControlText(mlinkarray[5]);
morelink5.setEvent("onClick",marray[5]);
morelink5.setStyle("color" , "blue");

/* ----------------------------------------------------------------*/

var link26 = new AW.UI.Link; link26.setId("link26");
link26.setControlText(array[26]);
link26.setControlLink(link26.setEvent("onClick",harray[26]));
link26.setStyle("color" , "blue");

var link27 = new AW.UI.Link; link27.setId("link27");
link27.setControlText(array[27]);
link27.setControlLink(link27.setEvent("onClick",harray[27]));
link27.setStyle("color" , "blue");

var link28 = new AW.UI.Link; link28.setId("link28");
link28.setControlText(array[28]);
link28.setControlLink(link28.setEvent("onClick",harray[28]));
link28.setStyle("color" , "blue");

var link29 = new AW.UI.Link; link29.setId("link29");
link29.setControlText(array[29]);
link29.setControlLink(link29.setEvent("onClick",harray[29]));
link29.setStyle("color" , "blue");

var link30 = new AW.UI.Link; link30.setId("link30");
link30.setControlText(array[30]);
link30.setControlLink(link30.setEvent("onClick",harray[30]));
link30.setStyle("color" , "blue");

var morelink6 = new AW.UI.Link;
morelink6.setId("morelink6");
morelink6.setControlText(mlinkarray[6]);
morelink6.setEvent("onClick",marray[6]);
morelink6.setStyle("color" , "blue");

/* ----------------------------------------------------------------*/

var link31 = new AW.UI.Link; link31.setId("link31");
link31.setControlText(array[31]);
link31.setControlLink(link31.setEvent("onClick",harray[31]));
link31.setStyle("color" , "blue");

var link32 = new AW.UI.Link; link32.setId("link32");
link32.setControlText(array[32]);
link32.setControlLink(link32.setEvent("onClick",harray[32]));
link32.setStyle("color" , "blue");

var link33 = new AW.UI.Link; link33.setId("link33");
link33.setControlText(array[33]);
link33.setControlLink(link33.setEvent("onClick",harray[33]));
link33.setStyle("color" , "blue");

var link34 = new AW.UI.Link; link34.setId("link34");
link34.setControlText(array[34]);
link34.setControlLink(link34.setEvent("onClick",harray[34]));
link34.setStyle("color" , "blue");

var link35 = new AW.UI.Link; link35.setId("link35");
link35.setControlText(array[35]);
link35.setControlLink(link35.setEvent("onClick",harray[35]));
link35.setStyle("color" , "blue");

var morelink7 = new AW.UI.Link;
morelink7.setId("morelink7");
morelink7.setControlText(mlinkarray[7]);
morelink7.setEvent("onClick",marray[7]);
morelink7.setStyle("color" , "blue");

/* ---------------------------------------------------------------*/

var link36 = new AW.UI.Link; link36.setId("link36");
link36.setControlText(array[36]);
link36.setControlLink(link36.setEvent("onClick",harray[36]));
link36.setStyle("color" , "blue");

var link37 = new AW.UI.Link; link37.setId("link37");
link37.setControlText(array[37]);
link37.setControlLink(link37.setEvent("onClick",harray[37]));
link37.setStyle("color" , "blue");

var link38 = new AW.UI.Link; link38.setId("link38");
link38.setControlText(array[38]);
link38.setControlLink(link38.setEvent("onClick",harray[38]));
link38.setStyle("color" , "blue");

var link39 = new AW.UI.Link; link39.setId("link39");
link39.setControlText(array[39]);
link39.setControlLink(link39.setEvent("onClick",harray[39]));
link39.setStyle("color" , "blue");

var link40 = new AW.UI.Link; link40.setId("link40");
link40.setControlText(array[40]);
link40.setControlLink(link40.setEvent("onClick",harray[40]));
link40.setStyle("color" , "blue");

var morelink8 = new AW.UI.Link;
morelink8.setId("morelink8");
morelink8.setControlText(mlinkarray[8]);
morelink8.setEvent("onClick",marray[8]);
morelink8.setStyle("color" , "blue");

/*-------------------------------------------------------------------*/

var link41 = new AW.UI.Link; link41.setId("link41");
link41.setControlText(array[41]);
link41.setControlLink(link41.setEvent("onClick",harray[41]));
link41.setStyle("color" , "blue");

var link42 = new AW.UI.Link; link42.setId("link42");
link42.setControlText(array[42]);
link42.setControlLink(link42.setEvent("onClick",harray[42]));
link42.setStyle("color" , "blue");

var link43 = new AW.UI.Link; link43.setId("link43");
link43.setControlText(array[43]);
link43.setControlLink(link43.setEvent("onClick",harray[43]));
link43.setStyle("color" , "blue");

var link44 = new AW.UI.Link; link44.setId("link44");
link44.setControlText(array[44]);
link44.setControlLink(link44.setEvent("onClick",harray[44]));
link44.setStyle("color" , "blue");

var link45 = new AW.UI.Link; link45.setId("link45");
link45.setControlText(array[45]);
link45.setControlLink(link45.setEvent("onClick",harray[45]));
link45.setStyle("color" , "blue");


var morelink9 = new AW.UI.Link;
morelink9.setId("morelink9");
morelink9.setControlText(mlinkarray[9]);
morelink9.setEvent("onClick",marray[9]);
morelink9.setStyle("color" , "blue");

/*---------------------------------------------------------------------*/

var link46 = new AW.UI.Link; link46.setId("link46");
link46.setControlText(array[46]);
link46.setControlLink(link46.setEvent("onClick",harray[46]));
link46.setStyle("color" , "blue");

var link47 = new AW.UI.Link; link47.setId("link47");
link47.setControlText(array[47]);
link47.setControlLink(link47.setEvent("onClick",harray[47]));
link47.setStyle("color" , "blue");

var link48 = new AW.UI.Link; link48.setId("link48");
link48.setControlText(array[48]);
link48.setControlLink(link48.setEvent("onClick",harray[48]));
link48.setStyle("color" , "blue");

var link49 = new AW.UI.Link; link49.setId("link49");
link49.setControlText(array[49]);
link49.setControlLink(link49.setEvent("onClick",harray[49]));
link49.setStyle("color" , "blue");

var link50 = new AW.UI.Link; link50.setId("link50");
link50.setControlText(array[50]);
link50.setControlLink(link50.setEvent("onClick",harray[50]));
link50.setStyle("color" , "blue");


var morelink10 = new AW.UI.Link;
morelink10.setId("morelink10");
morelink10.setControlText(mlinkarray[10]);
morelink10.setEvent("onClick",marray[10]);
morelink10.setStyle("color" , "blue");

/*--------------------------------------------------------------------*/

var page1 = [link1,link2,link3,link4,link5,morelink1];
var page2 = [link6,link7,link8,link9,link10,morelink2];
var page3 = [link11,link12,link13,link14,link15,morelink3];
var page4 = [link16,link17,link18,link19,link20,morelink4];
var page5 = [link21,link22,link23,link24,link25,morelink5];
var page6 = [link26,link27,link28,link29,link30,morelink6];
var page7 = [link31,link32,link33,link34,link35,morelink7];
var page8 = [link36,link37,link38,link39,link40,morelink8];
var page9 = [link41,link42,link43,link44,link45,morelink9];
var page10 = [link46,link47,link48,link49,link50,morelink10];

if(cnt==1){var pages=[page1];}
if(cnt==2){var pages=[page1,page2];}
if(cnt==3){var pages=[page1,page2,page3];}
if(cnt==4){var pages=[page1,page2,page3,page4];}
if(cnt==5){var pages=[page1,page2,page3,page4,page5];}
if(cnt==6){var pages=[page1,page2,page3,page4,page5,page6];}
if(cnt==7){var pages=[page1,page2,page3,page4,page5,page6,page7];}
if(cnt==8){var pages=[page1,page2,page3,page4,page5,page6,page7,page8];}
if(cnt==9){var pages=[page1,page2,page3,page4,page5,page6,page7,page8,page9];}
if(cnt==10){var pages=[page1,page2,page3,page4,page5,page6,page7,page8,page9,page10];}

container.element().innerHTML = page1.join("");
obj.onCurrentItemChanged = function(i) {
container.element().innerHTML = pages[i].join("");
if (container.$browser=="opera"){document.body.className += ""}
}
document.write(obj);

</script>

</body>
</html>

/***************************************************/
Nikhil
Monday, May 21, 2007

This topic is archived.


Back to support forum

Forum search