');setIframeContent('#iframe_qrcodes_grid', '
'+qrCodes.grid+'
');jQuery('fieldset div.plant_field').each(function(){if(jQuery(this).children('div.left .label, div.right, p').length<1){jQuery(this).hide();}});//attachAdd2PlantListHoverEvent();document.body.scrollTop = 0; document.documentElement.scrollTop = 0;});add2PlantListClick = function(el){//jQuery('.plant_list_action a.rounded').click(function(evt){var elLink = (el ? el : jQuery('.plant_list_action a.rounded').get(0));if(/*isLoggedInPreviously &&*/ true){var idPlant = jQuery(elLink).attr('data-id'),spPlant = jQuery(elLink).attr('data-species'), url = '/user/'+(isLoggedInPreviously ? 'login.php' : 'register.php')+'?add2plantlist='+escape(spPlant);window.location = url;//showLoginForm(this);}else{showPlantLists(jQuery(elLink).attr('data-id'), jQuery(elLink).attr('data-species'), elLink); }//});/*jQuery('.plant_list_action span.added + a.rounded').hover(function(){ if(isLoggedInPreviously && true){//showLoginForm(this);}else{showPlantLists(jQuery(this).attr('data-id'), jQuery(this).attr('data-species'), this); }},function(){ });*/}popupUploadInfo = function(){showLightScreen();var zi = ls__.style.zIndex+10;var el = document.getElementById('popupinfo');if(el){if(el.parentNode != document.body){el.parentNode.removeChild(el);document.body.appendChild(el);}}var left = (jQuery(document.body).outerWidth()-jQuery('#popupinfo').outerWidth())/2,top = jQuery(document).scrollTop()+20;jQuery('#files_uploading').html('');jQuery('#popupinfo p').css('display', '');jQuery('#popupinfo img').css('display', 'none');jQuery('#popupinfo .close').css('display', '');jQuery('#popupinfo').css('left', left+'px').css('top', top+'px').css('z-index', zi).fadeIn('slow');}closePopupInfo = function(){jQuery('#popupinfo').fadeOut('slow', function(){ closeLightScreen(); } );}showUploadDialog = function(){ //jQuery('#upload_photos').click();}uploadPhotos = function(files){if(!files.length){alert('No Files are selected')return ;}var el = jQuery('#files_uploading');if(el){var text = '';for(var i=0; i
'+text);}var form = document.forms['form_upload'];if(!form) return ;jQuery('#files_uploading').fadeIn('fast');jQuery('#popupinfo p').fadeOut('slow', function(){ jQuery('#popupinfo img').fadeIn('slow'); });jQuery('#popupinfo .close').fadeOut('slow');var iframe = document.getElementById('iframe_upload');if(!iframe){iframe = document.createElement('iframe');iframe.id = 'iframe_upload';iframe.name = 'iframe_upload';document.body.appendChild(iframe);iframe.style.display = 'none';}//iframe.onload = processUploadResponse();form.target = "iframe_upload";form.submit();}processUploadResponse = function(iframe){closePopupInfo();var doc = (iframe.contentWindow ? iframe.contentWindow : iframe.contentDocument);if(!doc) {alert('No Response from the server');return ;}if(doc.document)doc = doc.document;if(!doc.body){alert('No Response from the server');return ;};var text = doc.body.innerHTML;if(doc.body.innerHTML.innerText){if(doc.body.innerHTML.innerText != '')text = doc.body.innerHTML.innerText;}if(trim(text) != ''){var response = eval('('+ text +')');if(response)alert(response.message);elsealert('No Response from the server');}}showPlantLists = function(id, species, el){if(species){jQuery('#popup_plantlists input[name=species]').val(species);}if(id){jQuery('#popup_plantlists input[name=species_id]').val(id);}if(el){var popup = jQuery('#popup_plantlists');if(!popup || !popup.length) return ;popup = popup[0];var pageWidth = jQuery(document).outerWidth();jQuery(popup).remove();jQuery(popup).insertAfter(el);jQuery('#popup_plantlists').show();if(ls__){jQuery(ls__).on('click', function(){//closePlantLists();});}}else{jQuery('#popup_plantlists div.error').hide();jQuery('#popup_plantlists').removeClass('hide');jQuery('ul.add2list li #popup_plantlists').show();}}closePlantLists = function(){jQuery('ul.add2list li #popup_plantlists').hide();jQuery('#popup_plantlists').addClass('hide');closeLightScreen();}submitAdd2PlantList = function(listId){if( isMobile() ) {toggleOptions();}var /*listId = parseInt(jQuery('#popup_plantlists .plantlists input[type=radio][name=list_id]:checked').val()),*/species = jQuery('#popup_plantlists input[name=species]').val();speciesId = jQuery('#popup_plantlists input[name=species_id]').val();add2PlantList(listId, species, speciesId);}add2PlantList = function(listId, species, speciesId){var id = parseInt(listId);if(id){jQuery('#added_'+speciesId).fadeIn('fast', function(){//setTimeout(function(){ jQuery('#added_'+speciesId).fadeOut('fast') } , 2000);if(!isMobile()) closePlantLists();});//closePlantLists();// Add to an existing list//jQuery('.plants_view').fadeOut('fast', function(){jQuery.ajax({ url: 'editors/ajax.php',data: {action: 'plantlist.addspecies', id: listId, species: species},dataType: 'json',success: function(response){/*if(parseInt(response.success)){alert("Plant is added to the Plant List Successfully");}else{alert("Plant List save failure\nPlease try again");}*//*jQuery('#processing').fadeOut('fast', function(){jQuery('.plants_view').fadeIn('fast');});*/}});//jQuery('#processing').fadeIn('fast');//});}else{var form = document.createElement('form');form.method = 'post';form.action = '/plant_list.php';form.target = "_self";form.style.display = 'none';document.body.appendChild(form);jQuery(form).append('');jQuery(form).append('');form.submit();}}showPlantOptions = function(){jQuery('.content').hide();jQuery('.mobile-only.editor,ul#plant_list_actions').show();}popup = function(url){var p = window.open(url, '_blank', 'directories=no, location=no, status=no, menubar=no, toolbar=no, scrollbars=yes,width=600,height=500,left=100,top=100');}showLoginForm = function(){var pos = jQuery('ul.add2list').position();if(isMobile()){var el = jQuery('form[name=account_login]').remove();jQuery(document.body).append(el);}else{}jQuery('#popup_plantlists').css('display', 'none');jQuery('form[name=account_login]').css({display: 'block', zIndex: 200, position: 'absolute', left: pos.left+'px', top: (pos.top)+'px'});}closeLoginForm = function(){jQuery('form[name=account_login], form[name=account_login] div.error').css('display', 'none');;} addPlant2List = function(){ if( isMobile && !__isUserSignedIn ) { redirectUserForLogin( ); return ; } var selSource = '.species_view .page_title.species_info', selTarget = '#plant_list_container .species_info'; jQuery(selTarget+' .sub_header1').html(jQuery(selSource+' .sub_header1').html().replace(/<[^>]*>.*?<\/[^>]*>/, '')); jQuery(selTarget+' .common_name').html(jQuery(selSource+' .common_name').html().replace(/<[^>]*>.*?<\/[^>]*>/, '')); if(!jQuery(selTarget+' .common_name .add2list .plant_list_action span.added').length){ var el = jQuery(selTarget+' .common_name .add2list .plant_list_action a:first-child');//jQuery('Added').insertBefore(el);//attachAdd2PlantListHoverEvent();//add2PlantListClick();} jQuery('#page_options, #plant_list_container #plant_list_actions .plant_list_action a.rounded.action-add, .sub_header1, #popup_plantlists .add2list_title a').fadeOut('fast', function(){var container = jQuery( '#plant_list_container' ).get( 0 ); if( jQuery('#popup_plantlists').parent().get( 0 ) != container ) {var popup = jQuery( "#popup_plantlists" ).detach();jQuery( container ).append( popup ); } jQuery('#plant_list_container, #plant_list_container #plant_list_actions, #popup_plantlists, a.mobile-previous-plant.back2plant.mobile-only').fadeIn('fast');});} signIn = function(){var form = document.forms['account_login'];jQuery(form).find('div.error').hide();var errors = [], data = {action: 'user.login', email: jQuery.trim(form.email.value), password: jQuery.trim(form.password.value)};if(data.email == ''){errors.push("Email is noi entered\nIt is required to log into the account");}if(data.password == ''){errors.push("Password is not entered");}if(errors.length){jQuery(form).find('div.error').html("Please check the following errors:
"+errors.join("
"));jQuery(form).find('div.error').show();return ;}jQuery.ajax({url: urls.ajax,data: data,dataType: 'json',success: function(response){if(!response.success){jQuery(form).find('div.error').html("Please check the following errors:
"+response.message);jQuery(form).find('div.error').show();return ;}window.location = window.location.href;}});}createAccountAndAddPlant2List = function(plantName, plantId){var form = document.forms['account'];if(!form){alert("Account Creation Error");return ;}jQuery('div.plantlists div.error').hide();var errors = [], data = {action: 'user.create', email: jQuery.trim(form.email.value), password: jQuery.trim(form.password.value), subscribe: (form.subscribe.checked ? 1 : 0)};if(data.email == ''){errors.push("Email is not entered\nIt is required to log into the account");}if(data.password == ''){errors.push("Password is not entered");}if(jQuery.trim(form.password_confirm.value) == ''){errors.push("Confirm Password is not entered");}if(data.password != '' && jQuery.trim(form.password_confirm.value) != '' ){if(data.password != jQuery.trim(form.password_confirm.value)){errors.push("Password and Confirm password does not match");}}if(jQuery.trim(form.list_name.value) == ''){errors.push("Plant list name is not entered");}if(errors.length){jQuery('div.plantlists div.error').html("Please check the following errors:
"+errors.join("
"));jQuery('div.plantlists div.error').show();return ;}jQuery('div.plantlists div.error').html("Creating account...");jQuery('div.plantlists div.error').show();jQuery(form).hide();jQuery.ajax({url: urls.ajax,data: data,dataType: 'json',success: function(response){if(!response.success){jQuery(form).show();jQuery('div.plantlists div.error').html("Please check the following errors:
"+response.message);jQuery('div.plantlists div.error').show();return ;}createPlantList(jQuery.trim(form.list_name.value), plantName, plantId);}});}hideSlideshow = function(){window.onload = function(){jQuery('#slideshow').parent().parent().hide();//jQuery('.plant_info .about').addClass('slideshow-hidden');jQuery('.species_view .content').css({borderTop: '2px solid #34664d', clear: 'both'});jQuery('.species_view .content .plant_info').css({ marginTop: '10px' });jQuery('.plant_info fieldset.about').css({ clear:'both' });//jQuery('.plant_info fieldset.about legend').css({ marginTop: '20px' });/*fieldset.about.slideshow-hidden legend{margin-top:0px; }*///jQuery('.plant_info .about').css({'border-bottom':'2px solid red !important', 'padding-top':'20px !important'});}}createPlantList = function(listName, speciesName, speciesId){var form = document.forms['account'];jQuery(form).hide();jQuery('div.plantlists div.error').html("Added");jQuery('div.plantlists div.error').show();jQuery('#added_'+speciesId).fadeIn('fast', function(){setTimeout(function(){ jQuery('#added_'+speciesId).fadeOut('fast') } , 2000);});var data = {action: 'plantlist.save',id: 0,name: listName,plants:speciesName};jQuery.ajax({ url: urls.ajaxEditor,data: data,type: 'post',dataType: 'json',success: function(response){if(response.success){window.location = window.location.href;}else{jQuery(form).show();jQuery('div.plantlists div.error').html("Please check the following errors:
"+response.message);jQuery('div.plantlists div.error').show();return ;}}});}jQuery(window).resize(function(){OnWindowResize_PlantPage();});OnWindowResize_PlantPage = function(){var width = jQuery('div.content.top-container').width();//jQuery('div.content.top-container div#google_map_container').width(width-530);}
Yellow Star Tulip
Calochortus monophyllus
Zoom To My AddressZoom To CaliforniaEstimated Plant Range ( ? ) occurrences >>
1 Nurseries Carry This Plant
- Add to My Plant List
Print Plant SignPrint Plant Label
Sources include: Wikipedia. All text shown in the "About" section of these pages is available under the Creative Commons Attribution-ShareAlike License. Plant observation data provided by the participants of the California Consortia of Herbaria, Sunset information provided by Jepson Flora Project. Propogation from seed information provided by the Santa Barbara Botanical Garden from "Seed Propagation of Native California Plants" by Dara E. Emery. Sources of plant photos include CalPhotos, Wikimedia Commons, and independent plant photographers who have agreed to share their images with Calscape. Other general sources of information include Calflora, CNPS Manual of Vegetation Online, Jepson Flora Project, Las Pilitas, Theodore Payne, Tree of Life, The Xerces Society, and information provided by CNPS volunteer editors, with special thanks to Don Rideout. Climate data used in creation of plant range maps is from PRISM Climate Group, Oregon State University, using 30 year (1981-2010) annual "normals" at an 800 meter spatial resolution.