Project

General

Profile

Actions

Bug #366

closed

External stylesheet/script lag

Added by Boone Gorges over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority name:
High
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2010-10-06
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Is there a way to streamline/prioritize how the external stylesheets/scripts get loaded on the home page? It's affecting the way that certain aspects of the page work, eg the hero slider.

Actions #1

Updated by Chris Stein over 13 years ago

I can think about/take a look at this too. What is the issue that you're encountering?

Actions #2

Updated by Boone Gorges over 13 years ago

The particular issue is that the stylesheet for the hero slider plugin is loading late, so some of the borders around the hero image only pop up after a second or two. See what I mean on cdev.

Actions #3

Updated by Ron Rennick over 13 years ago

I'll look at hooking in earlier in the process. Right now it's running on wp_head with a priority of 1 which means I'll likely have to change hooks.

Actions #4

Updated by Ron Rennick over 13 years ago

@Boone - for the layout can you try adding a float:left; to the .introbox class in the custom css for the theme and check it with IE to see if the layout is still ok?

Actions #5

Updated by Boone Gorges over 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Boone Gorges

Ron - Thanks for the tip. It went part of the way toward solving the problem in real browsers. See https://github.com/castiron/cac/commit/2572565b4aa470ef033921b9822d440ca0c20222 and https://github.com/castiron/cac/commit/ce0ae486413223e0c6a0dd3bdac0217519d8a021

The JS for the slider doesn't seem to be firing at all on IE7 (at least not on my admittedly messed up XP VM). I'll open a separate ticket.

Actions

Also available in: Atom PDF