*/
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;
}
// -->
FAMILY PROGRAMS
Tot Time
The Tot Time program facilitates learning among children ages 2-5, who together with their caretakers, experience tours of Harn Museum galleries, providing art materials, books, games and explaining age-appropriate concepts. This free program is offered on the first Friday at 11 a.m. and the last Tuesday at 3:30 p.m. each month. Due to holidays and other events, occasionally the program is cancelled. View the Harn calendar for the most current information and themes.
Tot Time is generously funded by Prudential Trend Realty.
Family Day
Held five times per year on select Saturdays, Harn Family Days offer people of all ages the opportunity for families to enjoy hands-on art activities together that complement a family-friendly gallery experience.
ADDITIONAL PROGRAMS
Art for Life
During Art for Life presentations, specially trained docents bring large posters, hands-on objects, music and photographs into retirement residences and group facilities to engage senior audiences. The program offers 18 educational modules based on art from the museum's permanent collection. Visual analysis and discussion of the work and artist provides perspective and insight into the art. The goal of the program is to enrich the lives of seniors through arts programming while encouraging the use of art as a catalyst for interaction among senior residents, facilitators and staff. For additional information about Art for Life or to request an Art for Life presentation, contact Bonnie Bernau at 352.392.9826 ext. 2113 or bbernau@harn.ufl.edu . Materials for the program were created with funding in 2003 from the MetLife Foundation. In 2010 a National Endowment for the Arts grant was awarded to expand and enhance the program.
MindSight
MindSight is an initiative of the Gator Lions Club that is hosted annually at the Harn Museum of Art. The goal of the event is to provide the opportunity for people to experience art through senses other than sight. Local artists and University of Florida students provide works of art that can be examined through touch, with verbal descriptions given by student guides and the artists themselves. Both sighted persons and persons with limited or no sight are invited to participate in this experience.
PARTNERSHIPS
Vital Visionaries
Originally created by Johns Hopkins College of Medicine, Vital Visionaries facilitates interaction between medical students and older adults. Each student is paired with an adult to experience tours of exhibitions and interactive activities based on the work. The program emphasizes interaction among generations.
Harn Eminent Scholar Lectures
Co-sponsored by the University of Florida School of Art and Art History through the Harn Eminent Scholar Endowment, this series presents lectures by distinguished scholars and leaders in their fields. Fall and spring series are held each year in the Chandler Auditorium at the Harn Museum of Art.