|
|
| Kat |
Hey Guys,
My bottom scroll bar on my forum seems to have disappeared. It was there a few days ago and some of my members have it and some don't. The one on the side is there... I dunno what i've done lol... please help!
Thanks in advance :D |
|
|
| sdn |
What do you mean by bottom scrollbar? Do you mean the horizontal scrollbar at the bottom that scrolls the page sideways? If you do, then there's a simple explanation. Depending on your screen resolution, you may or may not need it. If your table width is a fixed ratio (ie. 95%), then you should theoretically never have one. If it's set in pixels (ie. 765), then the table may be wider than the screen. If that happens, the bottom scroll bar will appear.
[Edited by sdn]
[Edited by sdn] |
|
|
| Kat |
quote: sdn wrote:
What do you mean by bottom scrollbar? Do you mean the horizontal scrollbar at the bottom that scrolls the page sideways? If you do, then there's a simple explanation. Depending on your screen resolution, you may or may not need it. If your table width is a fixed ratio (ie. 92%), then you should never have one. If it's set in pixels (ie. 765), then the table may be wider than the screen. If that happens, the bottom scroll bar will appear.
[Edited by sdn]
Yeah I mean the horizontal scrollbar lol.. well I do need it because I am haviing to highlight words in posts to so that it moves to see all of the post. The horizonal bar was appearing till like 2 days ago and now it's not.. how do I check if my tables are too wide? *Is confused* lol |
|
|
| sdn |
Open your Control Panel and go to Settings » Feature Settings. The first row is the one you want. The width of your table is the value in the input field in the first row labeled "table width". By default, it's set to 95%.
[Edited by sdn] |
|
|
| Kat |
quote: sdn wrote:
Open your Control Panel and go to Settings » Feature Settings. The first row is the one you want. The width of your table is the value in the input field in the first row labeled "table width". By default, it's set to 95%.
[Edited by sdn]
Yep it's set to 95%
Cellpadding = 7
Cellspacing = 3
Tablewidth = 95%
So it should be fine then?
|
|
|
| sdn |
I think the problem is that your browser wants to make the table take up 95% of the horizontal space, but the text in the post forces it to stretch the table and make it wider than 95%. For some reason, the browser thinks that the table is all on the screen and you don't need a horizontal scrollbar. I'm not sure why it's doing that. |
|
|
| Kat |
quote: sdn wrote:
I think the problem is that your browser wants to make the table take up 95% of the horizontal space, but the text in the post forces it to stretch the table and make it wider than 95%. For some reason, the browser thinks that the table is all on the screen and you don't need a horizontal scrollbar. I'm not sure why it's doing that.
Yeah definately seems like a browser related problem. Weird thing is when I come to this support forum.. I see the horizontal bar fine if it is needed. I dunno.. :( |
|
|
| sdn |
Did you add or delete any code to/from your header or footer before the scrollbar stopped showing up? |
| March 10th, 2004 01:47 AM |
|
|
| Kat |
quote: sdn wrote:
Did you add or delete any code to/from your header or footer before the scrollbar stopped showing up?
I probably added some code... but I have just redone the scroll bar code incase I deleted something from there but it made no difference. I can post my header and footer codes if you like? The only thing that is in both is the mouse cursor thing but I had that for a while now without any difficulties. |
| March 10th, 2004 02:15 AM |
|
|
| Kat |
Ok here is my header code:
<style>
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:14pt;
font-family:Comic Sans MS;
font-weight:bold;
color:blue;
}
</style>
<script>
/*
Cursor Trailor Text- By Peter Gehrig (http://www.24fun.ch/)
Permission given to Dynamicdrive.com to feature script in it's archive.
For full source code, installation instructions, and 1000's more DHTML scripts,
visit http://dynamicdrive.com
*/
var x,y
var step=20
var flag=0
// Your snappy message. Important: the space at the end of the sentence!!!
var message="Spinnnnnnnn"
message=message.split("")
var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
xpos[i]=-50
}
var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
ypos[i]=-50
}
function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
flag=1
}
function makesnake() {
if (flag==1 && document.all) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step
ypos[i]=ypos[i-1]
}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++) {
var thisspan = eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]
}
}
else if (flag==1 && document.layers) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step
ypos[i]=ypos[i-1]
}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]
}
}
var timer=setTimeout("makesnake()",30)
}
</script>
<style type="text/css">
<!--
BODY {
scrollbar-face-color: #990000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #990000;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #000000;
}
-->
</style>
Footer code:
<script language="javascript">
<!--
// cell highlight script for Excoboards
// written by sdn (www.excoboard.com/exco/index.php?boardid=1302)
// idea credit: Craig Suffolk, ProBoards
var tds = document.getElementsByTagName('td')
for (i=0;i<tds.length;i++) {
if (tds[i].innerHTML.indexOf('<span class=\"NormalText\"><a') && tds[i].width == "50%" || tds[i].width == "47%") {
if (tds[i].innerHTML.indexOf('<select') == -1 && tds[i].innerHTML.indexOf('Private Messages') == -1 && tds[i].innerHTML.indexOf('Community leaders') == -1 && tds[i].innerHTML.indexOf('Forum jump') == -1 && tds[i].innerHTML.indexOf('Post permission:') == -1 && tds[i].innerHTML.indexOf('alt="Post reply"') == -1 && tds[i].innerHTML != "" && tds[i].className != "Heading") {
tds[i].onmouseover = function() {this.style.backgroundColor = "#990000";this.style.cursor="hand";} /*color on hover*/
tds[i].onmouseout = function() {this.style.backgroundColor = "#000000";} /*color when mouse isn't over it*/
tds[i].onclick = function() {window.location = this.getElementsByTagName('a')[0].href;}
}
}
}
//-->
</script>
<script>
<!-- Beginning of JavaScript -
for (i=0;i<=message.length-1;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
document.write(message[i])
document.write("</span>")
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
// - End of JavaScript - -->
</script>
<script language="javascript">
<!--
var url = window.location.toString()
if (url.indexOf('index.php') > -1) {
document.writeln('<embed src="http://resources.bravenet.com/audio/audioclips/pop_music/break_me_shake_me.mid" width=120 height=40 autostart=true repeat=true loop=true>')
}
//-->
</script> |
| March 10th, 2004 01:59 PM |
|
|
| sdn |
The code looks fine. I don't know why the scrollbar isn't showing up. |
| March 10th, 2004 08:40 PM |
|
|
| Kat |
quote: sdn wrote:
The code looks fine. I don't know why the scrollbar isn't showing up.
Awww ok thanks anyway!! I wish it would just show back up like it disappeared lol.. gets annoying having to highlight text all the time.. but least I can see the text that way :)
[Edited by Kat] |
| March 12th, 2004 09:59 PM |
|
|
| Kat |
*Bumping* I hope someone can help me cos most of my members don't have a horizontal scrollbar.. and I also had someone check everything on my board for me and there is apparently no reason this should be happening, like sdn said my code is ok. Only 2 people have the scroll bar. Just wondering could it be a server problem as I also have problems seeing the changes i've made in the control panel in relation to colours. Cleaning out my cache doesn't work. Thanks :) |
| March 12th, 2004 10:56 PM |
|
|
| sdn |
Make sure your browser is accepting all coookies and that you don't have any board but your own open when you edit your settings. |
| March 13th, 2004 08:46 AM |
|
|
| Kat |
quote: sdn wrote:
Make sure your browser is accepting all coookies and that you don't have any board but your own open when you edit your settings.
Thanks i'll give that a go :) |