Steckersolar: Solarstrom vom Balkon direkt in die Steckdose | Verbraucherzentrale.de (2024)

Was kann ein Steckersolar-Gerät?

Das Solarmodul erzeugt aus Sonnenlicht elektrischen Strom, den ein Wechselrichter in "Haushaltsstrom"umwandelt. Dieser wird direkt mit einem in der Wohnung vorhandenen Stromkreis verbunden. Im einfachsten Fall stecken Sie dazu einen Stecker in eine vorhandene Steckdose.

Der Strom aus dem Steckersolar-Gerät fließt beispielsweise in die Steckdose am Balkon und von dort zu Fernseher, Internet-Router oder Waschmaschine, die an anderen Steckdosen in der Wohnung angeschlossen sind. Dann zählt der Stromzähler langsamer, es wird weniger Strom aus dem öffentlichen Netz bezogen. Reicht der Strom vom Balkon nicht für den Betrieb der Haushaltsgeräte aus, fließt einfach Strom vom Versorger aus dem Netz dazu.

Ohne Netzanschluss produzieren die Solargeräte keinen Strom. Beim Camping oder im Schrebergarten können Sie stattdessen sogenannte "Inselsysteme"mit einer Batterie und einer anderen Art von Wechselrichter nutzen.

Steckersolar-Geräte bestehen meist aus 1 oder 2 Standard-Solarmodulen und einem Wechselrichter. Je nach Ausstattung kommen noch weitere Bauteile hinzu.

Klicken Sie in unserer Grafik einfach die markierten Punkte an - dann erhalten Sie weitere Information dazu:

';TinyTooltip.POPOVER_TEMPLATE='

';TinyTooltip.CLEARFIX='

';TinyTooltip.DEFAULTS={animation:true,action:'popover',placement:'top',selector:false,template:TinyTooltip.DEFAULT_TEMPLATE,skin:'default',trigger:'hover focus',delay:{show:0,hide:0},responsive:true,title:'',content:'',html:false,container:'body',viewport:{selector:'body',padding:0},ajax:false,ajaxUrl:'',params:{},method:'GET',loading:'loading...',error:'error occurred',cache:true,shadow:true,opacity:0.9,radius:4,border:true,padding:8,width:0,maxwidth:TinyTooltip.MAXWIDTH,textalign:'center',backcolor:'#000000',textcolor:'#ffffff',bordercolor:'#ffffff',titleBackcolor:'#f7f7f7',titleBordercolor:'#ebebeb',titleTextcolor:'#444444',contentBackcolor:'#ffffff',contentTextcolor:'#444444',menuLinkcolor:'#ffffff',menuHoverLinkcolor:'#000000',menuHoverBackcolor:'#ffffff',menuItemDividercolor:'#ffffff',arrowcolor:'#ffffff'};TinyTooltip.prototype.init=function(type,element,options){this.enabled=true;this.type=type;this.$element=$(element);this.options=this.getOptions(options);this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport));this.inState={click:false,hover:false,focus:false};if(this.$element[0]instanceof document.constructor&&!this.options.selector){throw new Error('`selector` option must be specified when initializing '+this.type+' on the window.document object!');}var triggers=this.options.trigger.split(' ');for(var i=triggers.length;i--;){var trigger=triggers[i];if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this));}else if(trigger=='hoverable'){var $tip=this.tip();var that=this;this.$element.on('mouseenter.'+this.type,this.options.selector,$.proxy(this.enter,this));$tip.on('mouseleave.'+this.type,this.options.selector,$.proxy(this.leave,this));this.$element.on('mouseleave.'+this.type,this.options.selector,function(){var leave_timer=setTimeout(function(){$tip.trigger('mouseleave.'+that.type);},that.options.delay.hide);$tip.on('mouseenter.'+that.type,that.options.selector,function(){clearTimeout(leave_timer);});});}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin';var eventOut=trigger=='hover'?'mouseleave':'focusout';this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this));this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this));}}this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle();};TinyTooltip.prototype.getDefaults=function(){return TinyTooltip.DEFAULTS;};TinyTooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options);if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay};}else{options.delay={show:options.delayShow,hide:options.delayHide};}if(options.responsive){options.placement=options.placement.replace(/auto/ig,'').trim();if(options.placement==''){options.placement='auto';}else{options.placement+=' auto';}}else{options.placement=options.placement.replace(/auto/ig,'').trim();}options.action=(options.action==null||options.action=='tooltip')?'tooltip':'popover';if(options.skin==''||options.skin==null||options.skin==undefined){options.skin='default';}if(options.skin=='default'){options.textalign=options.action=='popover'?'left':options.textalign;options.bordercolor=options.action=='popover'?'#cccccc':options.bordercolor;}if(options.skin=='custom'){if(options.action=='popover'){if(this.$element.data('bordercolor')==null){options.bordercolor='#bbbbbb';}}}options.template=(options.action==null||options.action=='tooltip')?TinyTooltip.DEFAULT_TEMPLATE:TinyTooltip.POPOVER_TEMPLATE;return options;};TinyTooltip.prototype.getDelegateOptions=function(){var options={};var defaults=this.getDefaults();this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value;});return options;};TinyTooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('gg.'+this.type);if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions());$(obj.currentTarget).data('gg.'+this.type,self);}if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=true;}if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in';return;}clearTimeout(self.timeout);self.hoverState='in';if(!self.options.delay||!self.options.delay.show)return self.show();self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show();},self.options.delay.show);};TinyTooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return true;}return false;};TinyTooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('gg.'+this.type);if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions());$(obj.currentTarget).data('gg.'+this.type,self);}if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=false;}self.ajaxState=null;if(self.isInStateTrue())return;clearTimeout(self.timeout);self.hoverState='out';if(!self.options.delay||!self.options.delay.hide)return self.hide();self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide();},self.options.delay.hide);};TinyTooltip.prototype.show=function(){TinyToolTipController.removeAll();var e=$.Event('show.gg.'+this.type);if(this.options.action=='tooltip'){if(!this.ajaxState&&this.options.ajax){if(this.options.cache){if(this.$element.attr('data-original-title')==''){this.$element.attr('data-original-title',this.options.loading);}}else{this.$element.attr('data-original-title',this.options.loading);}}}else if(this.options.action=='popover'){if(!this.ajaxState&&this.options.ajax){if(this.options.cache){if(this.$element.attr('data-content')==null){this.$element.attr('data-content',this.options.loading);}}else{this.$element.attr('data-content',this.options.loading);}}}if(this.hasContent()&&this.enabled){this.$element.trigger(e);var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!inDom)return;var that=this;var $tip=this.tip();TinyTooltipController.add(that);var tipId=this.getUID(this.type);this.setContent();$tip.attr('id',tipId);TinyTooltipController.add(this);this.$element.attr('aria-describedby',tipId);if(this.options.animation)$tip.addClass('fade');var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement;var autoToken=/\s?auto?\s?/i;var autoPlace=autoToken.test(placement);if(autoPlace)placement=placement.replace(autoToken,'')||'top';$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('gg.'+this.type,this);this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element);this.$element.trigger('inserted.gg.'+this.type);var windowWidth=$(document).width();var scrollerWidth=this.scrollbarWidth();var widthDifference=$(document).width()-$(window).width();var tooltipWidth=this.options.maxwidth;if(widthDifference>0){windowWidth=windowWidth-scrollerWidth;}if(windowWidth>$(window).width()){windowWidth=$(window).width()-scrollerWidth;}var windowHeight=$(document).height();if(widthDifference>scrollerWidth){windowHeight=windowHeight-scrollerWidth;}if(tooltipWidth!=0){if(tooltipWidth*2>windowWidth){tooltipWidth=Math.floor((windowWidth / 2)-5);}else{tooltipWidth-=30;}if(tooltipWidth*1.5>windowWidth / 2){tooltipWidth=Math.floor((windowWidth / 2)-5);}}else{if(340*2>windowWidth){tooltipWidth=Math.floor((windowWidth / 2)-5);}else{tooltipWidth=340;}}if(this.options.action=='tooltip'){$tip.find('.tinytooltip-inner').css({'min-width':this.options.width>tooltipWidth?tooltipWidth:this.options.width+'px','max-width':tooltipWidth+'px'});}else if(this.options.action=='popover'){$tip.css({'min-width':this.options.width>tooltipWidth?tooltipWidth:this.options.width+'px','max-width':(tooltipWidth+18)+'px'});$tip.find('.tinypopover-inner').css({'min-width':this.options.width>tooltipWidth?tooltipWidth:this.options.width+'px','max-width':(tooltipWidth+18)+'px'});}var pos=this.getPosition();var actualWidth=$tip[0].offsetWidth;var actualHeight=$tip[0].offsetHeight;if(autoPlace){var orgPlacement=placement;var viewportDim=this.getPosition(this.$viewport);switch(placement){case'top-left':placement=placement=='top-left'&&pos.top-actualHeight

viewportDim.width?'top-right':placement;placement=placement=='bottom-left'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;break;case'top':placement=placement=='top'&&pos.top-actualHeightviewportDim.width?'bottom-right':placement;placement=placement=='top'&&pos.left-actualWidthviewportDim.width?'top-right':placement;break;case'top-right':placement=placement=='top-right'&&pos.top-actualHeightviewportDim.width?'top-right':placement;placement=placement=='right-bottom'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;break;case'right-top':placement=placement=='right-top'&&pos.top-actualHeightviewportDim.width?'left-top':placement;placement=placement=='right-bottom'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;placement=placement=='left-top'&&pos.left-actualWidthviewportDim.width?'top-right':placement;placement=placement=='bottom-left'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;break;case'right':placement=placement=='right'&&pos.right+actualWidth>viewportDim.width?'top-right':placement;placement=placement=='top-right'&&pos.top-actualHeightviewportDim.bottom?'left-top':placement;placement=placement=='left-top'&&pos.left-actualWidthviewportDim.width?'top-right':placement;placement=placement=='right-bottom'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;break;case'right-bottom':placement=placement=='right-bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'right-top':placement;placement=placement=='right-top'&&pos.right+actualWidth>viewportDim.width?'left-top':placement;placement=placement=='right-bottom'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;placement=placement=='left-top'&&pos.left-actualWidthviewportDim.bottom?'top-left':placement;placement=placement=='bottom-left'&&pos.right+actualWidth>viewportDim.width?'bottom-right':placement;placement=placement=='top-left'&&pos.right+actualWidth>viewportDim.width?'top-right':placement;break;case'bottom':placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement;placement=placement=='bottom'&&pos.left-actualWidthviewportDim.width?'bottom-right':placement;placement=placement=='top'&&pos.left-actualWidthviewportDim.width?'top-right':placement;break;case'bottom-right':placement=placement=='bottom-right'&&pos.bottom+actualHeight>viewportDim.bottom?'top-right':placement;placement=placement=='bottom-right'&&pos.left-actualWidth0){this.arrow().css(isVertical?verticalOffsetPosition:'top',50*(1-delta / dimension)+'%').css(isVertical?'top':'left','');}};TinyTooltip.prototype.setContent=function(){if(this.options.action=='tooltip'){this.setTinyTooltipContent();}else{this.setPopoverContent();}};TinyTooltip.prototype.setTinyTooltipContent=function(){var $tip=this.tip();var title=this.getTitle();$tip.find('.tinytooltip-inner')[this.options.html?'html':'text'](title);$tip.find('.tinytooltip-inner').append(TinyTooltip.CLEARFIX);$tip.removeClass('fade in top top-left top-right bottom bottom-left bottom-right left left-top left-bottom right right-top right-bottom');$tip.find('.tinytooltip-inner').css({'padding':this.options.padding+'px','min-width':0,'max-width':this.options.maxwidth+'px'});var resetWidth=false;if(this.ajaxState!=null||!this.options.ajax){resetWidth=true;}else{if(this.cacheState){resetWidth=true;}}if(resetWidth){$tip.find('.tinytooltip-inner').css({'padding':this.options.padding+'px','min-width':this.options.width+'px','max-width':(this.options.width==0?this.options.maxwidth:this.options.width)+'px'});}};TinyTooltip.prototype.setPopoverContent=function(){var $tip=this.tip();var title=this.getTitle();var content=this.getContent();$tip.find('.tinypopover-title')[this.options.html?'html':'text'](title);$tip.find('.tinypopover-content').children().detach().end()[this.options.html?(typeof content=='string'?'html':'append'):'text'](content);$tip.find('.tinypopover-inner').append(TinyTooltip.CLEARFIX);$tip.find('.tinypopover-content').append(TinyTooltip.CLEARFIX);$tip.removeClass('fade in top top-left top-right bottom bottom-left bottom-right left left-top left-bottom right right-top right-bottom')if(!$tip.find('.tinypopover-title').html())$tip.find('.tinypopover-title').hide();$tip.css({'min-width':0,'max-width':this.options.maxwidth+'px'});$tip.find('.tinypopover-content').css({'padding':this.options.padding+'px'});var resetWidth=false;if(this.ajaxState!=null||!this.options.ajax){resetWidth=true;}else{if(this.cacheState){resetWidth=true;}}if(resetWidth){$tip.css({'min-width':this.options.width+'px','max-width':(this.options.width==0?this.options.maxwidth:this.options.width)+'px'});}};TinyTooltip.prototype.setRemoteContent=function(){if(this.options.action=='tooltip'){this.setTinyTooltipRemoteContent();}else{this.setPopoverRemoteContent();}};TinyTooltip.prototype.setTinyTooltipRemoteContent=function(){if(this.options.ajax){var $tip=this.tip();var that=this;that.ajaxState=true;if(that.cacheState==null||!that.cacheState){var xhr=null;xhr=$.ajax({method:that.options.method,url:that.options.ajaxUrl,data:that.options.params,dataType:'json',cache:that.options.cache});xhr.fail(function(){that.$element.attr('data-original-title',that.options.error);that.show();that.cacheState=false;that.$element.attr('data-original-title',that.options.loading);});xhr.done(function(result){var title=result.data;that.$element.attr('data-original-title',title);that.show();that.cacheState=that.options.cache;if(!that.options.cache){that.$element.attr('data-original-title',that.options.loading);}});}}};TinyTooltip.prototype.setPopoverRemoteContent=function(){if(this.options.ajax){var $tip=this.tip();var that=this;that.ajaxState=true;if(that.cacheState==null||!that.cacheState){var xhr=null;xhr=$.ajax({method:that.options.method,url:that.options.ajaxUrl,data:that.options.params,dataType:'json',cache:that.options.cache});xhr.fail(function(){that.$element.attr('data-content',that.options.error);that.show();that.cacheState=false;that.$element.attr('data-content',that.options.loading);});xhr.done(function(result){var title=result.data;that.$element.attr('data-content',title);that.show();that.cacheState=that.options.cache;if(!that.options.cache){that.$element.attr('data-content',that.options.loading);}});}}};TinyTooltip.prototype.setStyles=function(placement){if(this.options.action=='tooltip'){this.setTinyTooltipStyles(placement);}else{this.setPopoverStyles(placement);}};TinyTooltip.prototype.setTinyTooltipStyles=function(placement){var $tip=this.tip();if(this.options.skin!='custom'){$tip.addClass(this.options.skin);if(!this.options.border){$tip.addClass('no-border');}}if(this.options.skin!='custom'){$tip.find('.tinytooltip-inner').css({'border-radius':this.options.radius+'px','text-align':this.options.textalign});}else{$tip.find('.tinytooltip-inner').css({'background':this.options.backcolor,'color':this.options.textcolor,'border-width':this.options.border?'1px':0,'border-color':this.options.bordercolor,'border-radius':this.options.radius+'px','text-align':this.options.textalign});}if(!this.options.shadow){$tip.find('.tinytooltip-inner').css({'box-shadow':'none'});}placement=placement=='bottom-left'||placement=='bottom-right'?'bottom':placement=='top-left'||placement=='top-right'?'top':placement=='left-bottom'||placement=='left-top'?'left':placement=='right-bottom'||placement=='right-top'?'right':placement;$tip.find('.tinytooltip-inner > .video-wrapper').css({"width":($tip.width()-(this.options.padding*2))+"px"});if(this.options.skin=='custom'){$tip.find('.tinytooltip-arrow').css('border-'+placement+'-color',this.options.backcolor);$tip.find('.tinytooltip-arrow-border').css('border-'+placement+'-color',this.options.border?this.options.bordercolor:this.options.backcolor);var that=this;$tip.find('.tinytooltip-inner > .tinytooltip-menu li a').each(function(){$(this).parent().css({'border-bottom-color':that.options.menuItemDividercolor});$(this).css({'color':that.options.menuLinkcolor});$(this).on('mouseenter',function(){$(this).css({'color':that.options.menuHoverLinkcolor,'background':that.options.menuHoverBackcolor});});$(this).on('mouseleave',function(){$(this).css({'color':that.options.menuLinkcolor,'background':'none'});});});}};TinyTooltip.prototype.setPopoverStyles=function(placement){var $tip=this.tip();var title=this.getTitle();if(this.options.skin!='custom'){$tip.addClass(this.options.skin);if(!this.options.border){$tip.addClass('no-border');}}if(!this.options.shadow){$tip.find('.tinypopover-inner').css({'box-shadow':'none'});}if(this.options.skin!='custom'){$tip.find('.tinypopover-title').css({'border-radius':this.options.radius+'px '+this.options.radius+'px 0 0'});$tip.find('.tinypopover-content').css({'border-radius':'0 0 '+this.options.radius+'px '+this.options.radius+'px'});}else{$tip.find('.tinypopover-title').css({'background-color':this.options.titleBackcolor,'color':this.options.titleTextcolor,'border-color':this.options.titleBackcolor,'border-bottom-color':this.options.titleBordercolor,'border-radius':this.options.radius+'px '+this.options.radius+'px 0 0'});$tip.find('.tinypopover-content').css({'background-color':this.options.contentBackcolor,'color':this.options.contentTextcolor,'border-radius':'0 0 '+this.options.radius+'px '+this.options.radius+'px'});}placement=placement=='bottom-left'||placement=='bottom-right'?'bottom':placement=='top-left'||placement=='top-right'?'top':placement=='left-bottom'||placement=='left-top'?'left':placement=='right-bottom'||placement=='right-top'?'right':placement;$tip.find('.tinypopover-inner .video-wrapper').css({"width":($tip.width()-(this.options.padding*2))+"px"});if(this.options.skin!='custom'){$tip.find('.tinypopover-inner').css({'border-radius':this.options.radius+'px','text-align':this.options.textalign});}else{$tip.find('.tinypopover-arrow-border').css('border-'+placement+'-color',this.options.border?this.options.bordercolor:this.options.titleBackcolor);if(/bottom|bottom-left|bottom-right|left-bottom|right-bottom/.test(placement)){$tip.find('.tinypopover-arrow-border > .tinypopover-arrow').css('border-'+placement+'-color',this.options.titleBackcolor);}else{$tip.find('.tinypopover-arrow-border > .tinypopover-arrow').css('border-'+placement+'-color',this.options.contentBackcolor);}if($tip.find('.tinypopover-title').html()==''){$tip.find('.tinypopover-arrow-border > .tinypopover-arrow').css('border-'+placement+'-color',this.options.contentBackcolor);$tip.find('.tinypopover-arrow-border').css('border-'+placement+'-color',this.options.border?this.options.bordercolor:this.options.contentBackcolor);}$tip.find('.tinypopover-inner').css({'color':this.options.textcolor,'border-color':this.options.bordercolor,'border-width':this.options.border?'1px':0,'border-radius':this.options.radius+'px','text-align':this.options.textalign});}};TinyTooltip.prototype.fixTitle=function(){var $e=this.$element;if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','');}};TinyTooltip.prototype.hasContent=function(){return this.getTitle()||this.getContent();};TinyTooltip.prototype.getContent=function(){var $e=this.$element;var o=this.options;return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content);};TinyTooltip.prototype.getPosition=function($element){$element=$element||this.$element;var el=$element[0];var isBody=el.tagName=='BODY';var elRect=el.selector!=''?el.getBoundingClientRect():{width:$(window).width(),height:$(window).height()};if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top});}var isSvg=window.SVGElement&&el instanceof window.SVGElement;var elOffset=isBody?{top:0,left:0}:(isSvg?null:$element.offset());var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()};var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null;if(el.tagName=='AREA'){var areaName=el.parentElement.getAttribute('name');var imgTop=$("img[usemap='#"+areaName+"']").offset().top;var imgLeft=$("img[usemap='#"+areaName+"']").offset().left;var areaShape=el.getAttribute('shape').toLowerCase();var areaX=parseInt(el.getAttribute('coords').split(',')[0]);var areaY=parseInt(el.getAttribute('coords').split(',')[1]);var areaWidth=parseInt(el.getAttribute('coords').split(',')[2]);var areaHeight=parseInt(el.getAttribute('coords').split(',')[3]||areaWidth);if(areaShape=='rect'){elOffset={top:parseInt(imgTop+areaY),left:parseInt(imgLeft+areaX)};elRect={width:areaWidth-areaX,height:areaHeight-areaY};}if(areaShape=='circle'){elOffset={top:parseInt(imgTop+areaY-areaWidth),left:parseInt(imgLeft+areaX-areaWidth)};elRect={width:areaWidth*2,height:areaWidth*2};}if(areaShape=='poly'){var coords=new Array();var splitCoords=el.getAttribute('coords').split(',');for(var index=0;indexx2?1:-1;});var minX=coords[0].x;coords.sort(function(a,b){var y1=a.y,y2=b.y;if(y1==y2)return 0;return y1>y2?1:-1;});var minY=coords[0].y;elOffset={top:parseInt(imgTop+minY),left:parseInt(imgLeft+minX)};elRect={width:maxX-minX,height:maxY-minY};}}return $.extend({},elRect,scroll,outerDims,elOffset);};TinyTooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width / 2-actualWidth / 2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width / 2-actualWidth / 2}:placement=='left'?{top:(this.options.action=='popover'?-8:0)+pos.top+pos.height / 2-actualHeight / 2,left:pos.left-actualWidth}:placement=='right'?{top:(this.options.action=='popover'?-8:0)+pos.top+pos.height / 2-actualHeight / 2,left:pos.left+pos.width}:placement=='right-top'?{top:pos.top-actualHeight+pos.height+6,left:pos.left+pos.width}:placement=='right-bottom'?{top:pos.top-4,left:pos.left+pos.width}:placement=='left-top'?{top:pos.top-actualHeight+pos.height+6,left:pos.left-actualWidth}:placement=='left-bottom'?{top:pos.top-4,left:pos.left-actualWidth}:placement=='bottom-left'?{top:pos.top+pos.height,left:pos.left}:placement=='bottom-right'?{top:pos.top+pos.height,left:pos.left+pos.width-actualWidth}:placement=='top-left'?{top:pos.top-actualHeight,left:pos.left}:placement=='top-right'?{top:pos.top-actualHeight,left:pos.left+pos.width-actualWidth}:'';};TinyTooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0};if(!this.$viewport)return delta;var viewportPadding=this.options.viewport&&this.options.viewport.padding||0;var viewportDimensions=this.getPosition(this.$viewport);if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll;var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight;if(topEdgeOffsetviewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset;}}else{var leftEdgeOffset=pos.left-viewportPadding;var rightEdgeOffset=pos.left+viewportPadding+actualWidth;if(leftEdgeOffsetviewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset;}}return delta;};TinyTooltip.prototype.getTitle=function(){var title;var $e=this.$element;var o=this.options;title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title);return title;};TinyTooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000);while(document.getElementById(prefix));return prefix;};TinyTooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template);if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!');}}return this.$tip;};TinyTooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.'+this.options.action+'-arrow'));};TinyTooltip.prototype.enable=function(){this.enabled=true;};TinyTooltip.prototype.disable=function(){this.enabled=false;};TinyTooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled;};TinyTooltip.prototype.toggle=function(e){var self=this;if(e){self=$(e.currentTarget).data('gg.'+this.type);if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions());$(e.currentTarget).data('gg.'+this.type,self);}}if(e){self.inState.click=!self.inState.click;if(self.isInStateTrue())self.enter(self);else self.leave(self);}else{self.tip().hasClass('in')?self.leave(self):self.enter(self);}};TinyTooltip.prototype.destroy=function(){var that=this;clearTimeout(this.timeout);this.hide(function(){that.$element.off('gg.'+that.type).removeData('gg.'+that.type);if(that.$tip){that.$tip.detach();}that.$tip=null;that.$arrow=null;that.$viewport=null;that.$element=null;});};TinyTooltip.prototype.scrollbarWidth=function(){var div=$('

');$('body').append(div);var w1=$('div',div).innerWidth();div.css('overflow','scroll');var w2=$('div',div).innerWidth();$(div).remove();return(w1-w2);};function Plugin(option){return this.each(function(){var $this=$(this);var data=$this.data('gg.tooltip');var options=typeof option=='object'&&option;if(!data&&/destroy|hide/.test(option))return;if(!data)$this.data('gg.tooltip',(data=new TinyTooltip(this,options)));if(typeof option=='string')data[option]();});}var old=$.fn.tooltip;$.fn.tooltip=Plugin;$.fn.tooltip.Constructor=TinyTooltip;$.fn.tooltip.noConflict=function(){$.fn.tooltip=old;return this;};old=$.fn.tinytooltip;$.fn.tinytooltip=Plugin;$.fn.tinytooltip.Constructor=TinyTooltip;$.fn.tinytooltip.noConflict=function(){$.fn.tinytooltip=old;return this;};$('.thc-hotspot-wrapper .thc-hotspot').each(function(){if($(this).attr('data-action')=='popover'){$(this).tinytooltip({title:function(){return $(this).data('title');},content:function(){return $(this).find('.data-template-container').html();},container:"#vbz-info-graphic-container"});}else{$(this).tinytooltip({title:function(){return $(this).find('.data-template-container').html();},container:"#vbz-info-graphic-container"});}});});

Steckersolar: Solarstrom vom Balkon direkt in die Steckdose | Verbraucherzentrale.de (2024)
Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6530

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.