Kang-min Liu - Widget.Lightbox-0.10
NAME
Widget.Lightbox.LargeType - Lightbox LargeType
SYNOPSIS
var box = new Widget.Lightbox.LargeType.new({ content: "Nihao" })
box.effect("RoundedCorners")
box.show();
DESCRIPTION
This object extends Widget.Lightbox. Usage is basically compatible. See Widget.Lightbox for everything.
AUTHOR
Kang-min Liu, <gugod@gugod.org>
COPYRIGHT
Copyright (c) 2006,2007 Kang-min Liu. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as the Perl programming language (your choice of GPL or the Perl Artistic license).
JSAN.use("Widget.Lightbox"); (function () { Widget.Lightbox.LargeType = function(params) { this.init(params); return this; } Widget.Lightbox.LargeType.VERSION = "0.01" Widget.Lightbox.LargeType.prototype = new Widget.Lightbox(); var proto = Widget.Lightbox.LargeType.prototype proto.applyStyle = function() { Widget.Lightbox.prototype.applyStyle.apply(this); with(this._divs.contentWrapper.style) { width = "95%"; margin = "100px 2%"; background = "#ddd" } with(this._divs.content.style) { color = "#000"; textShadow = "#333 5px 5px 5px"; fontFamily = "Helvectica"; fontWeight = "bold"; textAlign = "center"; fontSize = "120pt"; } } })(); /** */