BHCB Glitch?

jbryant30

Regular Member
Joined
Jun 20, 2008
Messages
240
Reaction score
189
Hey,

So Installed BHCB on my site and i noticed a glitch. When you click the central mouse button down (the scrolling one) it allows you to go down the page and click links. Apparently the codebreaker window only blocks the content before you scroll. Please post back if you have experienced this problem and know a simple fix.

Thanks,

jbryant30
 
Hey,

So Installed BHCB on my site and i noticed a glitch. When you click the central mouse button down (the scrolling one) it allows you to go down the page and click links. Apparently the codebreaker window only blocks the content before you scroll. Please post back if you have experienced this problem and know a simple fix.

Thanks,

jbryant30
This is in IE. Set autoscroll to top of page with javascript. It is a CSS issue where IE does not interperate absolute positioning.
 
Thanks a bunch dude! It was getting me worried that people could scroll and skip to the reward page
 
Thanks a bunch dude! It was getting me worried that people could scroll and skip to the reward page
I personally iframe offers inside the codebreaker script so I use a PHP file to direct the user to a second js file if the user agent is IE because it's just easier for me, not tested this on FF too but here is the code I use in IE:

Add this to top of lock.js:
Code:
function pageScroll() {
          window.scrollBy(0,-50);
          scrolldelay = setTimeout('pageScroll()',5);
}

Now find this line of code:
haze.style.zIndex = 1000000;

And add this on a new line below it:
Code:
javascript:pageScroll();

That will autoscroll to the top of the page so if anchor links are used and the IE user cannot see the lock because they are too far down they will get auto scrolled to top cosntantly, even if they try to scroll it will keep on scrolling back up.
 
I can't seem to find haze.style.zIndex = 1000000;
I have tried everything to make it work and editing it but wont work. Any help?

Thanks
 
I can't seem to find haze.style.zIndex = 1000000;
I have tried everything to make it work and editing it but wont work. Any help?

Thanks
Zip your lock.js file and send me a download link and I'll add it in for you.
 
Kk thank you. Sent you download link in PM.
 
I can't seem to find haze.style.zIndex = 1000000;
I have tried everything to make it work and editing it but wont work. Any help?

Thanks

As a tip, when you join BHW, Control+F in most applications becomes your best friend.
You've been here longer than me though, so I'm talking to new people in general.
 
As a tip, when you join BHW, Control+F in most applications becomes your best friend.
You've been here longer than me though, so I'm talking to new people in general.

Ya im defiantly not that stupid and I did try that. Thanks but no thanks.
 
Ya im defiantly not that stupid and I did try that. Thanks but no thanks.
You are using BHCB 2 which is encoded, I use BHCB V.1 but customized so that the user cannot see the source code anyway, this isn't encoded so it is a lot easier to edit.
 
You are using BHCB 2 which is encoded, I use BHCB V.1 but customized so that the user cannot see the source code anyway, this isn't encoded so it is a lot easier to edit.

Ah ok thanks for trying though. I'll figure away to make it work.

Edit:

Kk i've got it now =]
 
Last edited:
You are using BHCB 2 which is encoded, I use BHCB V.1 but customized so that the user cannot see the source code anyway, this isn't encoded so it is a lot easier to edit.

Oh yeah I forgot about that...I remember I was trying to edit it a few weeks ago to lay over a flash object, and it wasn't working, and that's when I found it was encoded...forgot about that though just now.
 
Back
Top