MyBB Community Forums

Full Version: Problem using fixed header – need to offset viewport
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(2013-01-19, 02:26 AM)Leefish Wrote: [ -> ]Yes Brad, but I already HAVE all my scripts lined up for when I can use JQuery. So I think I have the future covered. Thank you

Exactly Jason - running a cached copy of Prototype from Google is the best solution (with a local fallback) but you are right it is huge - and I HAVE to load it to run MyBB. I only need to load jQuery for eye-candy and so I personally cannot justify the extra loading time.

Do not get me wrong - rather, read my post - I am Looking forward to using 1.8 and jQuery.

If you're strictly using jQuery for eye candy, than you're using jQuery wrong. 94kB is not huge, I don't know where you're getting your facts from. That will take about 64ms (including latency) to load via a Chrome audit and that's not even from a cached source.

Your arguments are invalid.
That is of course an opinion Jason, and you are entitled to it as I am to mine. Prototype can do anything jQuery can, so if I load jQuery to do what prototype can then that is because I am better at using jQuery than I am at Prototype. That is my failing, not the library and the MYBB core and Prototype does the job on the board.

I am not arguing anything, I am stating my opinion. Is that invalid too?

Anyhoo - back on topic - thank you for the jQuery solution - I shall keep it in mind come 1.8.
(2013-01-19, 02:31 AM)Leefish Wrote: [ -> ]That is of course an opinion Jason, and you are entitled to it as I am to mine.

Argument? I am not arguing anything, I am stating my opinion. Is that invalid too?

Anyhoo - back on topic - thank you for the jQuery solution - I shall keep it in mind come 1.8.

How is the actual weight of a file and how long it will take to load an opinion? Enlighten me on that...
(2013-01-19, 02:17 AM)brad-t Wrote: [ -> ]it just vanishes. as soon as you click anywhere or start scrolling it reappears. very weird and intermittent bug and not a show stopper for me.

Oh, strange.

So, I'm assuming this solution works, which is good. As an added safety, if anyone would like, you can also apply a huge negative left offset (left: -10000px) to the <a> tag; just so it doesn't end up being one of those invisible elements that prevents you from clicking on something.
[attachment=28346]

hahaha

weird thing is this only seems to happen if you click anchors within the page more than once
Does your menu have a large z-index value assigned?
um?

The weight of the file and the time it takes to load is a fact. Whether you agree on my opinion as to its importance is another issue.

I don't want to turn this into a long bla bla.

If you read my posts you will see that I am waiting for 1.8 just like the rest of you. Then I can use jQuery instead of Prototype. That is it.

So how much jQuery are you using on Dietary gaming anyway? I THINK - not much, if any, and it looks nice. Toungue
(2013-01-19, 02:41 AM)brad-t Wrote: [ -> ]hahaha

weird thing is this only seems to happen if you click anchors within the page more than once

Brad - I saw that happening on Chrome and increased the Z-index on the menu - it seemed to fix it.
z-index: 9999;
damn you staff and your double posting abilities
Pages: 1 2 3 4 5