magically disappearing skiplinks

Nov 16, 2007 00:54

I recently started using Expressive (thefulcrum's Mixit code, here) and no problems except the skiplinks on my friends page have suddenly disappeared.

The only thing I added to the code today was this:
function Page::print_custom_head() {

# create an order of account types
var string[] types_order = ["personal", "community", "syndicated", "news", "identity", "sponcomm"];

# original URLs used by livejournal
var string{} old_urls = {
"personal" => "http://stat.livejournal.com/img/userinfo.gif",
"community" => "http://stat.livejournal.com/img/community.gif",
"syndicated" => "http://stat.livejournal.com/img/syndicated.gif",
"news" => "http://stat.livejournal.com/img/newsinfo.gif",
"identity" => "http://stat.livejournal.com/img/openid-profile.gif",
"sponcomm" => "http://stat.livejournal.com/img/sponcomm.gif",
};

# original widths used by livejournal
var string{} old_widths = {
"personal" => "17",
"community" => "16",
"syndicated" => "16",
"news" => "16",
"identity" => "16",
"sponcomm" => "16",
};

# original heights used by livejournal
var string{} old_heights = {
"personal" => "17",
"community" => "16",
"syndicated" => "16",
"news" => "16",
"identity" => "16",
"sponcomm" => "16",
};

# new URLs to your images
# if you don't have an image for a specific type, leave it blank to use the original
var string{} new_urls = {
"personal" => "http://wild-hunt.org/visual/layout/user_suit.png",
"community" => "http://wild-hunt.org/visual/layout/user_group.png",
"syndicated" => "http://wild-hunt.org/visual/layout/user_rss.png",
"news" => "http://wild-hunt.org/visual/layoutuser_news.png",
"identity" => "http://wild-hunt.org/visual/layout/user_openid.png",
"sponcomm" => "http://wild-hunt.org/visual/layout/user_sponsored.png",
};

# new widths for your images
# if you don't have an image for a specific type, leave it blank to use the original
var string{} new_widths = {
"personal" => "14",
"community" => "14",
"syndicated" => "14",
"news" => "14",
"identity" => "14",
"sponcomm" => "14",
};

# new heights for your images
# if you don't have an image for a specific type, leave it blank to use the original
var string{} new_heights = {
"personal" => "14",
"community" => "14",
"syndicated" => "14",
"news" => "14",
"identity" => "14",
"sponcomm" => "14",
};

var string ie_url = $new_urls{"personal"};
var string ie_width = $new_widths{"personal"};
var string ie_height = $new_heights{"personal"};
"""

""";

}...and I don't think that's the problem.

My layer should be viewable here [#9609957]. It's probably something simple but I've been staring at this for hours, eek, halp. D:

Thanks!

s2:theme layer, page:skiplinks, pageviews:friends

Previous post Next post
Up