Note that there are some explanatory texts on larger screens.

plurals
  1. POTabs at bottom of the screen and rising with the content when clicked
    primarykey
    data
    text
    <p>I am trying to make two tabs that are centered at the bottom and when clicked the whole thing rises and shows the content - like they do at www.hunterandsand.com but I can't seem to work out how they did it with the code they have. Also how they got it to be transparant. Any help would be extremely useful, thank you.</p> <p>HTML</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;meta name="description" content="Beauchamp&amp;#39;s Corporate offers a unique service for clients wishing to design a special product for their business."&gt; &lt;title&gt;Beauchamp&amp;#39;s Corporate&lt;/title&gt; &lt;link rel="stylesheet" href="css/style.css" type="text/css" /&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $('#maximage').cycle({ fx: 'scrollHorz', // choose your transition type, ex: fade, scrollUp, shuffle, etc... speed: 1000, timeout: 7000, prev: '#arrow_left', next: '#arrow_right' }); &lt;/script&gt; &lt;/script&gt; &lt;body&gt; &lt;div id="logo"&gt;&lt;img src="images/logo1.jpg" alt="Beauchamp's Corporate"&gt;&lt;/div&gt; &lt;div id="cycle-loader"&gt; &lt;/div&gt; &lt;div id="maximage"&gt; &lt;img src="images/boat1.jpg" alt="" /&gt; &lt;img src="images/car1.jpg" alt="" /&gt; &lt;img src="images/dock1.jpg" alt="" /&gt; &lt;img src="images/glass1.jpg" alt="" /&gt; &lt;img src="images/hotel1.jpg" alt="" /&gt; &lt;img src="images/table1.jpg" alt="" /&gt; &lt;/div&gt; &lt;a href="" id="arrow_left" class="button" title="Previous Photo"&gt;&lt;/a&gt; &lt;a href="" id="arrow_right" class="button" title="Next Photo"&gt;&lt;/a&gt; &lt;div id="pages"&gt; &lt;div id="nav"&gt; &lt;ul id="menu"&gt; &lt;li id="services"&gt;Our Product&lt;/li&gt; &lt;li id="contact"&gt;Contact Us&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="content"&gt; &lt;div id="copy"&gt; &lt;div class="page product"&gt; &lt;p&gt;We offer a consultation meeting in which we discuss client requirements, design ideas, packaging options, budgets, lead times and more... &lt;br /&gt; We have a number of designs already in production which we can edit &amp; brand with the client logo or... &lt;br /&gt; Following this initial meeting, we produce product drawings, quotes, source leather samples and materials specific to this product. Samples can be produced once drawings have been approved by the client. &lt;br /&gt; Lead times, delivery schedules and product prices are unique to the client and indervidually calculated according to the specific client reqirements. &lt;br /&gt; Where possible Beauchamp&amp;#39;s aims to produce products in one of our UK factories however should it be required we will use factories further afield. &lt;/p&gt; &lt;/div&gt; &lt;div class="page contact"&gt; &lt;p&gt;For further information: &lt;br /&gt; Email: &lt;a href="info@beauchampsoflondon.com"&gt;info@beauchampsoflondon.com&lt;/a&gt; &lt;br /&gt; Address: 35 Bruton Street, London, W1J 6QY &lt;br /&gt; Website: &lt;a href="www.beauchampscorporate.com"&gt;www.beauchampscorporate.com&lt;/a&gt; &lt;br /&gt; Fashion Accessories Website: &lt;a href="www.beauchampsoflondon.com"&gt;www.beauchampsoflondon.com&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Css:</p> <pre><code>#logo{ width:180px; height:113px; margin-left:auto; margin-right:auto; margin-top:-10px; } a.button { display:block; width:50px; height:50px; margin-top:200px; opacity: 0.6%; } a#arrow_left{ float:left; background: transparent url('../images/arrowleft1.jpg') no-repeat; position: relative; z-index: 100; } a#arrow_right{ float:right; background: transparent url('../images/arrowright1.jpg') no-repeat; position: relative; z-index: 100; } #maximage { height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: -5000; } #maximage img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: -5000; } li { list-style:none; } </code></pre> <p>To see it running - <a href="http://www.musidoraland.co.uk" rel="nofollow">www.musidoraland.co.uk</a></p>
    singulars
    1. This table or related slice is empty.
    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