*/
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i= 5) {
//If this is Netscape 6
hSize = hSize - 25
wSize = wSize - 15
}
else{
//Older versions of Netscape
hSize = hSize - 30
wSize = wSize - 20
}
}
else{
hSize = hSize - 30
wSize = wSize - 20
}
}
else {
var xMax = 640, yMax=480
}
}
var xOffset = (xMax - wSize)/2, yOffset = (yMax - hSize)/2;
//width=' + wSize + ',height=' + hSize + ',
var updatewin = window.open(url,Title,'top=' + yOffset + ',left=' + xOffset + ',width=' + wSize + ',height=' + hSize + ',resizable=' + rs + ',scrollbars=' + sb + ',menubar=' + mb + ',status=' + st + ',locationbar=' + lb + ',toolbar=' + tb + ',alwaysRaised=1');
updatewin.window.focus();
updatewin.resizeTo(wSize,hSize);
} //END function open_popup
function submitPopup(thisform, url,Title,wSize,hSize,rs,sb,mb,st,lb,tb) {
//alert('test submitPopup:' + thisform + ',' + url + ',' + Title + ',' + wSize + ',' + hSize);
var popup=open_popup(url,Title,wSize,hSize,rs,sb,mb,st,lb,tb);
var updateframe=document[thisform].submit();
//var updateframe=document.thisform.submit();
//alert('testing submitPopup done');
}
/*
This script is written by Eric (Webcrawl@usa.net)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function printit(){
if (VERSION > 3) {
self.print();
} else {
if (NS) {
alert("Sorry. Your browser does not support this. Please select Print from the File menu.");
} else {
var WebBrowser = ' ';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box
WebBrowser1.outerHTML = "";
}
}
}
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent)
|| this.searchVersion(navigator.appVersion)
|| "an unknown version";
this.OS = this.searchString(this.dataOS) || "an unknown OS";
},
searchString: function (data) {
for (var i=0;i */
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
var fadeimages=new Array();
//SET IMAGE PATHS. Extend or contract array as needed.
fadeimages[0]=["/images/harn_index_exhibitions1.jpg", "http://www.harn.ufl.edu/exhibitions/index.php", ""]; //plain image syntax
fadeimages[1]=["/images/harn_index_exhibitions2.jpg", "http://www.harn.ufl.edu/exhibitions/index.php", ""]; //plain image syntax
fadeimages[2]=["/images/harn_index_exhibitions3.jpg", "http://www.harn.ufl.edu/exhibitions/index.php", ""]; //image with link and target syntax
var fadebgcolor="black";
////NO need to edit beyond here/////////////
var fadearray=new Array() //array to cache fadeshow instances;
var fadeclear=new Array() //array to cache corresponding clearinterval pointers;
var dom=(document.getElementById); //modern dom browsers
var iebrowser=document.all;
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause;
this.mouseovercheck=0;
this.delay=delay;
this.degree=10; //initial opacity degree (10%);
this.curimageindex=0;
this.nextimageindex=1;
fadearray[fadearray.length]=this;
this.slideshowid=fadearray.length-1;
this.canvasbase="canvas"+this.slideshowid;
this.curcanvas=this.canvasbase+"_0";
if (typeof displayorder!="undefined");
theimages.sort(function() {return 0.5 - Math.random();}); //thanks to Mike (aka Mwinter) :)
this.theimages=theimages;
this.imageborder=parseInt(borderwidth);
this.postimages=new Array(); //preload images;
for (p=0;p
');
}
else {
document.write(' ');
}
if ((iebrowser&&dom||dom) && (BrowserDetect.browser != 'Safari')) { //if IE5+ or modern browsers such as Firefox
this.startit();
}
else{
this.curimageindex++;
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay);
}
}
function fadepic(obj){
if (obj.degree<100){
obj.degree+=5;
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") { //if IE6+
obj.tempobj.filters[0].opacity=obj.degree;
}
else { //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")";
}
}
else if (obj.tempobj.style.MozOpacity) {
obj.tempobj.style.MozOpacity=obj.degree/101;
}
else if (obj.tempobj.style.KhtmlOpacity) {
obj.tempobj.style.KhtmlOpacity=obj.degree/100;
}
}
else{
clearInterval(fadeclear[obj.slideshowid]);
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1";
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas);
obj.populateslide(obj.tempobj, obj.nextimageindex);
obj.nextimageindex=(obj.nextimageindex';
}
slideHTML+=' ';
if (this.theimages[picindex][1]!="") { //if associated link exists for image
slideHTML+='';
}
picobj.innerHTML=slideHTML;
}
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) { //if pause onMouseover enabled, cache object
var cacheobj=this;
}
if (this.mouseovercheck==1) {
setTimeout(function(){cacheobj.rotateimage()}, 100);
}
else if ((iebrowser&&dom||dom) && (BrowserDetect.browser != 'Safari')){
this.resetit();
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas);
crossobj.style.zIndex++;
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50);
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0";
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid];
ns4imgobj.src=this.postimages[this.curimageindex].src;
}
this.curimageindex=(this.curimageindex
*/
/**
* HARN DHTML dropdown menu script. Courtesy of SmartWebby.com (http://www.smartwebby.com/dhtml/)
* SUBNAV JavaScript *
*/
var SubNo='0';
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var NS6 = (bName == "Netscape" && bVer >= 5);
var NS4 = (bName == "Netscape" && bVer >= 4 && bVer < 5);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var NS3 = (bName == "Netscape" && bVer < 4);
var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4);
//alert(bName + ' ver=' + bVer);
window.onerror = null;
var menuActive = 0;
var menuOn = 0;
//var onLayer = new Array();
var onLayer;
var onSubLayer;
var timeOn = null; // LAYER SWITCHING CODE
if (NS4 || IE4 || NS6) {
if (navigator.appName == "Netscape" && !document.getElementById){
layerStyleRef="layer.";
layerRef="document.layers";
styleSwitch="";
layerVis="show";
layerHid="hide";
}
else if (!document.all && document.getElementById) {
layerStyleRef="layer.style.";
layerRef="document.getElementById";
styleSwitch=".style";
layerVis="visible";
layerHid="hidden";
}
else {
layerStyleRef="layer.style.";
layerRef="document.all";
styleSwitch=".style";
layerVis="visible";
layerHid="hidden";
}
}
// SHOW MENU
function shLayer(layerName, isSubSub){
if (layerName && layerName != 'undefined') {
img = getImage("harn_inner_nav_visit");
x = getImagePageLeft(img);
y = getImagePageTop(img);
imgH = 0;
imgW = 0;
//****DROPDOWN MENU POSITION
menuTop = y ; // LAYER TOP POSITION
Sub0Y = y + imgH;
Sub0Y = Sub0Y + 57; // LAYER LEFT POSTION 0
Sub0L = x + 0; // LAYER RIGHT POSTION 0
Sub1Y = Sub0Y + 0; // LAYER LEFT POSTION 1
Sub1L = x + 84; // LAYER RIGHT POSTION 1
Sub2Y = Sub0Y + -4; // LAYER LEFT POSTION 2
Sub2L = x + 215; // LAYER RIGHT POSTION 2
Sub3Y = Sub0Y + -4; // LAYER LEFT POSTION 3
Sub3L = x + 315; // LAYER RIGHT POSTION 3
Sub4Y = Sub0Y + -5; // LAYER LEFT POSTION 4
Sub4L = x + 417; // LAYER RIGHT POSTION 4
Sub5Y = Sub0Y + -3; // LAYER LEFT POSTION 5
Sub5L = x + 545; // LAYER RIGHT POSTION 5
Sub6Y = Sub0Y + -2; // LAYER LEFT POSTION 6
Sub6L = x + 643; // LAYER RIGHT POSTION 6
Sub7Y = Sub0Y + 42; // LAYER LEFT POSTION 7
Sub7L = x + 168; // LAYER RIGHT POSTION 7
Sub8Y = Sub0Y + 17; // LAYER LEFT POSTION 8
Sub8L = x + 457; // LAYER RIGHT POSTION 8
if (NS4 || IE4 || NS6) {
if ((timeOn != null) && (onLayer != null) && (onLayer != 'undefined')) {
clearTimeout(timeOn);
if (isSubSub != 'Y') {
hideLayer(onLayer);
hideLayer(onSubLayer);
}
}
if (NS4 || IE4) {
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="'+layerVis+'"');
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top="'+eval(layerName+'Y')+'px"');
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.left="'+eval(layerName+'L')+'px"');
}
if (NS6) {
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="'+layerVis+'"');
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.top="'+eval(layerName+'Y')+'px"');
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.left="'+eval(layerName+'L')+'px"');
}
}
//onLayer[layerName] = TRUE;
if (isSubSub != 'Y') { onLayer = layerName; }
else { onSubLayer = layerName; }
}
}
// HIDE MENU
function hideLayer(layerName){
//alert(layerName1);
//if (ThisTest == true) {
if (menuActive == 0 && layerName && layerName != 'undefined') {
//for (var i=0; i<8; i++) {
//var thisKey = 'Sub' + i;
//onLayer[layerName] = TRUE;
//var layerName = 'Sub' + i;
//alert(layerName);
if (NS4 || IE4) {
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="'+layerHid+'"');
}
if (NS6) {
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="'+layerHid+'"');
}
changeImages('harn_inner_nav_visit', '/images/harn_inner_nav_visit.gif', 'harn_inner_nav_exhibitions', '/images/harn_inner_nav_exhibitions.gif', 'harn_inner_nav_education', '/images/harn_inner_nav_education.gif','harn_inner_nav_collections', '/images/harn_inner_nav_collections.gif', 'harn_inner_nav_support', '/images/harn_inner_nav_support.gif', 'harn_inner_nav_about', '/images/harn_inner_nav_about.gif', 'harn_inner_nav_news', '/images/harn_inner_nav_news.gif');
//}
}
//}
}
// TIMER FOR BUTTON MOUSE OUT
function btnTimer() {
timeOn = setTimeout("btnOut()",500)
}// BUTTON MOUSE OUT
function btnOut(layerName) {
if (menuActive == 0) {
hideLayer(onLayer);
hideLayer(onSubLayer);
}
}// MENU MOUSE OVER
function menuOver(itemName) {
clearTimeout(timeOn);
menuActive = 1;
}// MENU MOUSE OUT
function menuOut(itemName) {
menuActive = 0;
timeOn = setTimeout("hideLayer(onLayer)", 400);
timeOn = setTimeout("hideLayer(onSubLayer)", 400);
}// SET BACKGROUND COLOR
function setBgColor(layer, color) {
if (NS6){
eval('document.getElementById("'+layer+'").style.backgroundColor="'+color+'"');
}
else if (NS4){
eval('window.document.layers["'+layer+'"].document.bgColor="'+color+'"');
eval('window.document.layers["'+layer+'"].saveColor="'+color+'"');
}
else if (IE4){
eval('document.all.'+layer+'.style.backgroundColor="'+color+'"');
}
}
function getImage(name) {
if (NS4 || NS6) {
return findImage(name, document);
}
if (IE4 || NS6)
return eval('document.all.' + name);
return null;
}
function findImage(name, doc) {
var i, img;
for (i = 0; i < doc.images.length; i++)
if (doc.images[i].name == name)
return doc.images[i];
for (i = 0; i < doc.layers.length; i++)
if ((img = findImage(name, doc.layers[i].document)) != null) {
img.container = doc.layers[i];
return img;
}
return null;
}
function getImagePageLeft(img) {
var x, obj;
if (NS4 || NS6) {
if (img.container != null) {
//alert('containter');
return img.container.pageX + img.x - 1;
}
else {
//alert('no container');
//if (img.x) { return img.x - 1; }
//else {
//alert(img.scrollLeft);
x = 0;
obj = img;
while (obj.offsetParent != null) {
x += obj.offsetLeft;
obj = obj.offsetParent;
}
x += obj.offsetLeft;
//alert(x);
return x;
//}
}
}
if (IE4) {
x = 0;
obj = img;
while (obj.offsetParent != null) {
x += obj.offsetLeft;
obj = obj.offsetParent;
}
x += obj.offsetLeft;
return x;
}
return -1;
}
function getImagePageTop(img) {
var y, obj;
if (NS4 || NS6) {
if (img.container != null)
return img.container.pageY + img.y;
else {
//if (img.offsetTop) {
y = 0;
obj = img;
while (obj.offsetParent != null) {
y += obj.offsetTop;
obj = obj.offsetParent;
}
y += obj.offsetTop;
return y;
//}
//if (img.x) { return img.y; }
}
}
if (IE4) {
y = 0;
obj = img;
while (obj.offsetParent != null) {
y += obj.offsetTop;
obj = obj.offsetParent;
}
y += obj.offsetTop;
return y;
}
return -1;
}
// -->
View Fashioning Kimono: Art Deco and Modernism in Japan before it closes May 17
Back
to press releases
FOR IMMEDIATE RELEASE
December 2, 2009
Swing dance the night away at Museum Nights Dec. 10
GAINESVILLE, Fla. —Don’t miss a swinging good time at Museum Nights at the Harn Museum of Art from 6 to 9 p.m. Dec. 10. The 1930s and 40s-themed old Hollywood evening will transform the museum into the best swing club in town, with visitors enjoying dancing, ice cream and a display of classic cars.
The Florida Swing Dancing Club will be giving lessons and demonstrating classic moves. Visitors may join in the dancing fun, and period dress is encouraged.
Remember times at the soda fountain with ice cream provided by the Sweet Dreams fire truck. Also, local collectors will have their classic cars on display.
Those who become a member of the museum will be entered into a raffle to win vintage items. A year-long university student membership to the museum may be purchased for $25.
Museum Nights is an ongoing program made possible by the generous support of the University of Florida Honors Program and Student Government. The museum would also like to thank the Florida Swing Dancing Club, Sweet Dreams, the Phillips Center for the Performing Arts, Library Special Collections, Publix Super Markets, Dave Hunkins and Bud Styles for making this event possible.
Museum Nights is held at the Harn Museum of Art the second Thursday of every month. Admission is free. For more information call 352-392-9826 or visit www.harn.ufl.edu.
Samuel P. Harn Museum of Art
Founded in 1990, the Harn Museum of Art is an integral part of the University of Florida. The Harn contributes to an interconnected, international community by integrating the arts and culture into curricula throughout the university’s system of colleges and centers. Its holdings include nearly 7,000 works in five collecting areas: Asian art, African art, photography, modern art of the Americas and Europe, and contemporary art. In addition to rotating installations drawn from its permanent collection, the Harn organizes traveling exhibitions, public lectures, panel discussions, academic symposia and educational programs for adults, students and children. In 2011, the Harn will open the 26,000-square-foot David A. Cofrin Asian Art Wing, which will feature two levels of galleries, curatorial and conservation space, and a series of outdoor Asian gardens.
The Harn Museum, at Southwest 34th Street and Hull Road in Gainesville, Fla., is part of the University of Florida’s Cultural Plaza, which is also home to the Florida Museum of Natural History and the Phillips Center for the Performing Arts. Admission is free. Hours are 11 a.m. to 5 p.m. Tuesday through Friday, 10 a.m. to 5 p.m. Saturday and 1 to 5 p.m. Sunday. The museum is open until 9 p.m. the second Thursday of every month for Museum Nights. The Camellia Court Café is open seven days a week from 11 a.m. to 3 p.m. For more information call 352-392-9826 or visit www.harn.ufl.edu .
Media
contact :
Tami Wroath, Director of Marketing and Public Relations
Harn Museum of Art
352.392.9826 x116
twroath@harn.ufl.edu