Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2006-10-08 20:35:09

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Forum Re-Designed

I’d say the lag might be some download delay of the JavaScript file, but if it happens every page load then that’s not it either, as it’d be cached after that.

It’s every page.

Does the Textile Quick Help link do the same/similar?

Not that I can see, it behaves as a regular link till you click it.

Very Strange.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#47 2006-10-09 04:56:35

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Forum Re-Designed

I’ve likely got the problem “fixed” now, but, it does cause me some concern if that’s so. Let me know.

See, I was using jQuery to hide the dropdown. It is supposed to work as such that you get the effect of CSSdisplay: none; but without the “flash” typically seen when you try to do that with JavaScript. The idea is that removes the usability problems the CSS technique causes for non-JS users, as well as for those whom don’t use visual browsers. In the browsers I’ve got, it works seamlessly.

But now, for at least two people, this was not so. This concerns me, because I wanted to use this technique in various places throughout the Txp admin in crockery. If anyone can figure out the problem (be it something I screwed up, or whatever), let me know, ‘cuz I’ve no idea.

Offline

#48 2006-10-09 06:03:19

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Forum Re-Designed

Maybe the hide(); should come first? What about:

<pre> $(document).ready(function(){ //add a class to the body, then hide it in the ‘js-on’ CSS $(‘body’).addClass(‘js’); //Opera seems to need the hide() as well $(‘#network’).hide(); $(‘#network-links’).click(function(){ var network = $(‘#network’); if (network.is(‘:hidden’)) network.slideDown(‘fast’); else network.slideUp(‘fast’); }); });
</pre>

NyteOwl and Els, does the menu display on page load in this example? I know the page sizes are different, but hopefully that won’t affect it. I wish there was some kind of local-proxy-thing that could emulate a connection, so I wouldn’t have to FTP a new file every minute :P.

Last edited by jm (2006-10-09 06:13:08)

Offline

#49 2006-10-09 13:13:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Forum Re-Designed

jm wrote:

NyteOwl and Els, does the menu display on page load in this example?

No it doesn’t. But today I also don’t see it happen anymore with the forum.

Offline

#50 2006-10-09 23:39:22

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Forum Re-Designed

NyteOwl and Els, does the menu display on page load in this example?

It displays on the example page (clicking the menu link has no effect). Like Els it doesn’t seem to happen anymore on the forums though a bit of lag seems to remain.

Last edited by NyteOwl (2006-10-09 23:50:31)


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

Board footer

Powered by FluxBB