Files
siarp.de/public/node/220/index.html
T
Martin Stadler f028f14803 remove incorrect canonical links
`find . -name "*.html" -type f -print0 | xargs -0 perl -i -pe 's/<link rel="(canonical|shortlink)" href=".+?" \/>//g'`
2019-12-08 16:32:46 +01:00

130 lines
7.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr">
<!-- Mirrored from siarp.de/node/220 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 08 Dec 2019 12:00:24 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head profile="http://www.w3.org/1999/xhtml/vocab">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
<title>YAML, jQuery slideToggle and IE6 | siarp.de</title>
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_xE-rWrJf-fncB6ztZfd2huxqgxu4WO-qwma6Xer30m4.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_NdVgz6YKifxQUEsW5xls_zI7Pn2F7E5U5Wb29zcu3vo.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_OAqUol8y_hmU_lCucLyaRX-a1G627sWWbvG_VG1GKnE.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_xPIRNNJGw8EiKyuE5b-xAtWWTQ8U1_huTr4xL09Dq2A.css" media="all" />
<link type="text/css" rel="stylesheet" href="../../sites/siarp.de/files/css/css_k3snrbsthqot7V7ccRZHS9OkCZkwBv4adtNieIVlbEU.css" media="print" />
<!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" href="http://siarp.de/themes/garland/fix-ie.css?q26w7t" media="all" />
<![endif]-->
<script type="text/javascript" src="../../sites/siarp.de/files/js/js_qikmINIYTWe4jcTUn8cKiMr8bmSDiZB9LQqvceZ6wlM.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"garland","theme_token":"isP2btEZt_tsDFB92mMNgxaX80to8wVhujWvFwjEeR0","js":{"misc\/jquery.js":1,"misc\/jquery-extend-3.4.0.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/comment\/comment.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/views\/css\/views.css":1,"sites\/all\/modules\/ctools\/css\/ctools.css":1,"public:\/\/geshi\/geshifilter-languages.css":1,"sites\/siarp.de\/modules\/geshifilter\/geshifilter.css":1,"themes\/garland\/style.css":1,"themes\/garland\/print.css":1,"themes\/garland\/fix-ie.css":1}}});
//--><!]]>
</script>
</head>
<body class="html not-front not-logged-in one-sidebar sidebar-second page-node page-node- page-node-220 node-type-story fluid-width" >
<div id="skip-link">
<a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
</div>
<div id="wrapper">
<div id="container" class="clearfix">
<div id="header">
<div id="logo-floater">
<div id="branding"><strong><a href="../../">
<span>siarp.de</span> </a></strong></div>
</div>
</div> <!-- /#header -->
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
<h2 class="element-invisible">You are here</h2><div class="breadcrumb"><a href="../../">Home</a></div> <a id="main-content"></a>
<div id="tabs-wrapper" class="clearfix"> <h1 class="with-tabs">YAML, jQuery slideToggle and IE6</h1>
</div> <div class="clearfix">
<div class="region region-content">
<div id="block-system-main" class="block block-system clearfix">
<div class="content">
<div id="node-220" class="node node-story node-promoted">
<span class="submitted">6. November 2009 - 14:46 — <span class="username">Martin</span></span>
<div class="content clearfix">
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>As usual with browser bugs and hacks this took me a while to find out.</p>
<p>I have an unordered list with complex items like floats and stuff. This list is supposed to hide when I click on a button by slowly decreasing its height. I use <a href="http://docs.jquery.com/Effects/slideToggle">jQuery's slideToggle</a> for that.</p>
<p><strong>Problem:</strong> In Internet Explorer 6 the content (or parts of it) is hidden after the list is shown (slid down).</p>
<p>The only thing I found was a <a href="http://www.ndoherty.biz/2007/09/jquery-slidetoggle-and-internet-explorer/">blog post</a> saying you shouldn't use any positioning there. I didn't. Well, I thought I didn't…</p>
<p>For this project I use <a href="http://www.yaml.de/en/">YAML</a>, a CSS framework and YAML sets all lists to <span class="geshifilter"><code class="text geshifilter-text">position: relative</code></span> for IE6 (iehacks.css):</p>
<div class="geshifilter"><div class="css geshifilter-css">&nbsp; <span class="coMULTI">/**<br />
&nbsp; &nbsp;* Disappearing List-Background Bug<br />
&nbsp; &nbsp;* @see &nbsp; &nbsp; &nbsp; &nbsp;http://www.positioniseverything.net/explorer/ie-listbug.html<br />
&nbsp; &nbsp;*<br />
&nbsp; &nbsp;* @bugfix<br />
&nbsp; &nbsp;* @affected &nbsp; IE 5.x/Win, IE6<br />
&nbsp; &nbsp;* @css-for &nbsp; &nbsp;IE 5.x/Win, IE6<br />
&nbsp; &nbsp;* @valid &nbsp; &nbsp; &nbsp;yes<br />
&nbsp; &nbsp;*/</span><br />
<br />
&nbsp; <span class="sy0">*</span> html ul<span class="sy0">,</span> <span class="sy0">*</span> html ol<span class="sy0">,</span> <span class="sy0">*</span> html dl <span class="br0">&#123;</span> <span class="kw1">position</span><span class="sy0">:</span> <span class="kw2">relative</span><span class="sy0">;</span> <span class="br0">&#125;</span></div></div>
<p>Overriding this for my sliding list solves the problem.</p>
</div></div></div> </div>
<div class="clearfix">
<div class="links"><ul class="links inline"><li class="comment_forbidden first last"></li>
</ul></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="region region-footer">
<div id="block-block-3" class="block block-block clearfix">
<div class="content">
<p>Alle Rechte liegen bei siarp.</p>
</div>
</div>
</div>
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
<div id="sidebar-second" class="sidebar">
<div class="region region-sidebar-second">
<div id="block-menu-menu-autoren" class="block block-menu clearfix">
<h2 class="title">Written by</h2>
<div class="content">
<ul class="menu"><li class="first leaf"><a href="../../blog/2/">Martin</a></li>
<li class="last leaf"><a href="../../blog/3/">Tilman</a></li>
</ul> </div>
</div>
</div>
</div>
</div> <!-- /#container -->
</div> <!-- /#wrapper -->
</body>
<!-- Mirrored from siarp.de/node/220 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 08 Dec 2019 12:00:24 GMT -->
</html>