Note that there are some explanatory texts on larger screens.

plurals
  1. POIE rendering JQuery slideDown incorrectly
    primarykey
    data
    text
    <p>I have a a nice jquery slide down effect working here:</p> <p><a href="http://georgedesign.co.uk/test/markupV2/index.html" rel="nofollow">http://georgedesign.co.uk/test/markupV2/index.html</a></p> <p>In the Services section or Team section you can click on any of the panels and a 'more info' box opens up. Click on the box again and its gone. </p> <p>The problem is this: In IE(7) the very fist panel named 'About' doesn't behave like the rest of the panels.. Instead it slides down below the parent div and doesn't seem to be adopting the 'position:fixed' css style like the others..</p> <p>The content of this panel is also invisible.. </p> <p>I've been staring at this problem for a week or two now, and my eyes are melting..</p> <p>I just can't figure out why its working fine across all other browsers, and the other panels work fine, but not the first one.</p> <p>If anyone could have a quick look over the code and see what I (must have!) missed I'd be grateful for another pair of eyes..!</p> <p>Thanks so much,</p> <p>G</p> <p>ps, I'm sure the JQuery can be shortened, but I'm still getting to grips with it! ;)</p> <p>Here's the code if it helps:</p> <p>HTML:</p> <pre><code>&lt;div class="our-services"&gt; &lt;strong class="slogan main-strap"&gt;Property Investment for Private Equity&lt;/strong&gt; &lt;span id="services" class="scroll"&gt;&amp;nbsp;&lt;/span&gt; &lt;h2&gt;Our Services&lt;/h2&gt; &lt;p&gt;We are a UK &amp;amp; European Property Investment and Asset Management Business, dedicated to generating value and providing real returns to our investors in any environment.&lt;/p&gt; &lt;ul class="services-list"&gt; &lt;li class="slide1"&gt; &lt;div class="holder"&gt; &lt;div class="frame"&gt; &lt;h3&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/h3&gt; &lt;div class="description"&gt; &lt;p&gt;Our business was established in 2002 and we remain an inspired and motivated team of property professionals.&lt;/p&gt; &lt;/div&gt; &lt;img src="images/img1.jpg" width="233" height="139" alt="about" /&gt; &lt;a class="more" href="#"&gt;Read more...&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;div class="Text1 round"&gt; &lt;img src="images/X.gif" class="x-class" width="12" height="12" alt="X"&gt; &lt;p&gt;Our success is driven by our integrity which is at the heart of everything we do, our recognition of the wisdom and vision of others around us, and our will to succeed. Collectively the Athanor Team have in excess of 80 years experience working in real estate and financial markets. This has given us a deep understanding of how to innovate and drive value in changing conditions. We have been involved in property transactions with a value of in excess of £3 billion.&lt;br&gt; Athanor are specialists in :&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The origination of property investment opportunities &lt;/li&gt; &lt;li&gt;Strategy &amp;amp; analysis &lt;/li&gt; &lt;li&gt;Debt origination &lt;/li&gt; &lt;li&gt;Establishment of appropriate corporate, tax and fund structures &lt;/li&gt; &lt;li&gt;Property asset management. &lt;/li&gt; &lt;li&gt;Property disposals. &lt;/li&gt; &lt;/ul&gt; &lt;img class="round" src="images/img88.jpg" width="300" height="154" alt="Mission Crane"&gt; &lt;/div&gt; &lt;li class="slide2"&gt; &lt;div class="holder"&gt; &lt;div class="frame"&gt; &lt;h3&gt;&lt;a href="#"&gt;Mission&lt;/a&gt;&lt;/h3&gt; &lt;div class="description"&gt; &lt;p&gt;To excel in providing our clients with a focused, individual and comprehensive solution to property investing.&lt;/p&gt; &lt;/div&gt; &lt;img src="images/img2.jpg" width="233" height="139" alt="mission" /&gt; &lt;a class="more" href="#"&gt;Read more...&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class="slide3"&gt; &lt;div class="holder"&gt; &lt;div class="frame"&gt; &lt;h3&gt;&lt;a href="#"&gt;Strategy&lt;/a&gt;&lt;/h3&gt; &lt;div class="description"&gt; &lt;p&gt;At Athanor we focus on ‘value’ investing into primarily institutional quality property.&lt;/p&gt; &lt;/div&gt; &lt;img src="images/img3.jpg" width="233" height="139" alt="strategy" /&gt; &lt;a class="more" href="#"&gt;Read more...&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;div class="Text2 round"&gt; &lt;img class="round" src="images/mission-crane.jpg" width="450" height="306" alt="Mission Crane"&gt; &lt;img src="images/X.gif" class="x-class" style="float:right" width="12" height="12" alt="X"&gt; &lt;h3&gt;Mission&lt;/h3&gt; &lt;p&gt;"To excel in providing our clients with a focused, individual and comprehensive solution to property investing. To generate value and real returns in any environment." &lt;/p&gt; &lt;/div&gt; &lt;div class="Text3 round"&gt; &lt;img src="images/X.gif" class="x-class" width="12" height="12" alt="X"&gt; &lt;p&gt;At Athanor we focus on 'value' investing into primarily institutional quality property. We target assets providing long term locational stability, with secure and attractive income returns and which also have the potential for both income and capital growth. Cash forms a significant proportion of our total return expectations.&lt;br&gt; New opportunities are selected via a combination of research, intelligence and experience.&lt;br&gt; Our approach is opportunistic both geographically and by property sector, although always with a view to having a balance commensurate with our perception of the risks and rewards associated with those sectors and geographies.&lt;br&gt; We understand that real estate assets are very responsive to active management. Consequently asset management is a core activity which ensures returns are maximised throughout the life of investments.&lt;br&gt; Primary geographies – UK and Continental Europe.&lt;br&gt; Property sectors – all property sectors but primarily retail, logistics/industrial, offices, leisure and residential.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>CSS:</p> <pre><code>li.slide1, li.slide2, li.slide3, li.mug1, li.mug2, li.mug3, li.mug4 {cursor:pointer;} div.Text1, div.Text2, div.Text3, div.mugText1, div.mugText2, div.mugText3, div.mugText4 {display:none; margin-top:24px;} div.Text1, .Text2, .Text3, .mugText1, .mugText2, .mugText3, .mugText4 { background-color: white; position:fixed; top:215px; width:860px; height:323px; padding:20px; border: 1px solid #e6e6e6; } .mugText1, .mugText2, .mugText3, .mugText4 {position:fixed; top:215px; height:400px;} .Text1 img {float:right;} .Text1 p {margin:0; font-size:18px;} .Text1 ul {font-size:16px; width:440px; float:left;} .Text2 img {float:left} .Text2 p, .Text2 h3 {margin: 0 90px 0 490px !important;} .Text3 p {font-size:18px} </code></pre> <p>JS:</p> <pre><code>$('.slide1').click( function() { $('.Text1').slideDown(500).fadeIn(500); $('.Text2').slideUp(250).fadeOut(0); $('.Text3').slideUp(250).fadeOut(0); } ); $('.slide2').click( function() { $('.Text1').slideUp(250).fadeOut(0); $('.Text2').slideDown(500).fadeIn(500); $('.Text3').slideUp(250).fadeOut(0); } ); $('.slide3').click( function() { $('.Text1').slideUp(250).fadeOut(0); $('.Text2').slideUp(250).fadeOut(0); $('.Text3').slideDown(500).fadeIn(500); } ); $('.Text1, .Text2, .Text3').click( function() { $('.Text1, .Text2, .Text3').slideUp(250).fadeOut(0); } ); $('.mug1').click( function() { $('.mugText1').slideDown(500).fadeIn(500); $('.mugText2').slideUp(250).fadeOut(0); $('.mugText3').slideUp(250).fadeOut(0); $('.mugText4').slideUp(250).fadeOut(0); } ); $('.mug2').click( function() { $('.mugText2').slideDown(500).fadeIn(500); $('.mugText1').slideUp(250).fadeOut(0); $('.mugText3').slideUp(250).fadeOut(0); $('.mugText4').slideUp(250).fadeOut(0); } ); $('.mug3').click( function() { $('.mugText3').slideDown(500).fadeIn(500); $('.mugText1').slideUp(250).fadeOut(0); $('.mugText2').slideUp(250).fadeOut(0); $('.mugText4').slideUp(250).fadeOut(0); } ); $('.mug4').click( function() { $('.mugText4').slideDown(500).fadeIn(500); $('.mugText1').slideUp(250).fadeOut(0); $('.mugText2').slideUp(250).fadeOut(0); $('.mugText3').slideUp(250).fadeOut(0); } ); $('.mugText1, .mugText2, .mugText3, .mugText4').click( function() { $('.mugText1, .mugText2, .mugText3, .mugText4').slideUp(150).fadeOut(0); } ); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload