Let me get my rbs banners re-implemented and see if that goes away. Since making it small, everything looks good to my forum members, which is what counts. I'll probably do that in a week or so. If I must have an error, invisible is good!
I very much appreciate your help!
Announcement
Collapse
No announcement yet.
Huge white space
Collapse
X
-
Code:theImages[0] = '' theImages[1] = ''
Leave a comment:
-
It suspect it is leftovers from years ago when I implemented rbs, which actually, I plan to do again. It never made a huge square like that before, but this was an upgrade from version 4.0.8.
Leave a comment:
-
Talking to myself, I know. I changed the size to 5 instead of 450 and it looks fine, might not be right though. Is this a suitable fix?
Leave a comment:
-
I found it, but am not certain how to fix it. It's in ad_global_below_navbar. How can I fix it without crashing something else?
<div id="ad_global_below_navbar"><center>
<SCRIPT LANGUAGE="JavaScript">
var theImages = new Array()
theImages[0] = ''
theImages[1] = ''
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
if(whichImage==0){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
}
else if(whichImage==1){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>');
}
}
</script>
<script>
showImage();
</script>
</center><vb:if condition="$adsshown[] = 4"></vb:if></div>
Leave a comment:
-
In firefox it shows as an image if you right click it and if you view the source code this seems to be the offending code. from line 317 to line 342
Code:var theImages = new Array() theImages[0] = '' theImages[1] = '' var j = 0 var p = theImages.length; var preBuffer = new Array() for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ if(whichImage==0){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); } else if(whichImage==1){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" width=450></a>'); } } </script>
Leave a comment:
-
I had implemented define('SKIP_ALL_ERRORS', true); but in the wrong place. Many thanks! Now, if we can track down where this unknown image is coming from, we will be good to go.
Leave a comment:
-
It's present in both Internet Explorer and Firefox though Firefox is showing what looks like a broken image, though I cannot identify the image or see what is calling it.
Leave a comment:
-
I am not seeing a large white space or gap on your site using Google Chrome. What Browser does this occur in?
Leave a comment:
-
To make the error reporting revert to the bugged support of earlier versions add the following line to your config.php under the <?php line:
Code:define('SKIP_ALL_ERRORS', true);
Leave a comment:
-
Turning it on now. I could also use any ideas on suppressing or fixing the errors.
Leave a comment:
-
White space like that is most commonly caused by improperly closed HTML tags. Would need to see the site on and functioning to look at the generated HTML.
Leave a comment:
Related Topics
Collapse
-
by andyleightonHi,
There is too much white space between my site logo and the menu bar, what code would I use in the additional.css file to reduce this?
I did try this:
#header.site-logo{padding:22px...-
Channel: Support Issues & Questions
Fri 21 Feb '20, 9:09pm -
Leave a comment: