Spry 1.6.1 install??? and IE7 hacks for tabs???

liquidmonkey

In Runtime
Messages
220
had this posted over at adobeLABS forum but no response after a week :(
hoping someone here knows more :)



hello,

i just DL'd the update for SPRY 1.6.1 but there are NO INSTRUCTIONS anywhere that i can easily see as to how or where i am to install or place the folder that came with the download, any help???

now, i'm hoping that this update will solve my IE7 problem which is....

i'm using SPRY TABBED PANELS in a mates website and in IE8 things work ok but in IE7, instead of being displayed in a horizontal line as they should be, the tabs are put vertically (on the left) and it looks really bad.

i've tried searching for 'internet explorer hacks for spry tabs' but no luck any help??



here is the code, not too much....and the site is --- www.addc.se ---



-------------------------------------------------------------------------------- --------------------------------



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ADDC - A Tribute to AC/DC - The Greatest Rock Band EVER!</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="acdc, tribute band, sweden, sverige, bandet, addc bandet, addc tribute bandet, music, musik, hard rock, rock, rock n roll, orebro, örebro" />
<meta name="description" content="ADDC - the BEST tribute band for the BEST band EVER!!" />



<script type="text/javascript" src="assets/SlideShow/mainSS/swfobject.js"></script>



<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />



<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>



<body>
<div id="wrapper">
<div id="header">
</div>
<div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">Senast Nyheterna</li>
<li class="TabbedPanelsTab" tabindex="0">Bilder</li>
<li class="TabbedPanelsTab" tabindex="0">Video</li>
<li class="TabbedPanelsTab" tabindex="0">MP3</li>
<li class="TabbedPanelsTab" tabindex="0">BANDET</li>
<li class="TabbedPanelsTab" tabindex="0">KONTAKT</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
<p class="flyer"><img src="assets/pictures/ADDC-flyerMay2009.jpg" alt="Flyer Mai 2009" width="500" height="749" /></p>
</div>
<div class="TabbedPanelsContent">

<div id="monoslideshow">
<p><strong>Please install Flash® and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("assets/SlideShow/mainSS/monoslideshow.swf", "SOmonoSlideshow", "800", "600", "7", "%appearance.monoSlideshow.backgroundColor%");
so.addVariable("showLogo", "%appearance.monoSlideshow.showLogo%");
so.addParam("base", "assets/SlideShow/mainSS");
so.write("monoslideshow");
// ]]>
</script>

</div>
<div class="TabbedPanelsContent">youtube videos linked here</div>
<div class="TabbedPanelsContent"><div id="mp3"><a href="02%20-%20Hell%20Ain't%20A%20Bad%20Place%20To%20Be.mp3">HELL AIN'T A BAD PLACE TO BE</a><br /><br /><a href="03%20-%20You%20Shook%20Me%20All%20Night%20Long.mp3">YOU SHOOK ME ALL NIGHT LONG</a><br /><br /><a href="06%20-%20Up%20To%20My%20Neck%20In%20You.mp3">UP TO MY NECK IN YOU</a><br /><br /><a href="07%20-%20High%20Voltage.mp3">HIGH VOLTAGE</a><br /><br /><a href="08%20-%20Whole%20Lotta%20Rosie.mp3">WHOLE LOTTA ROSIE</a><br /><br /><a href="10%20-%20Highway%20To%20Hell.mp3">HIGHWAY TO HELL</a><br /><br /><a href="11%20-%20Let%20There%20Be%20Rock.mp3">LET THERE BE ROCK</a><br /></div></div>
<div class="TabbedPanelsContent">
<p class="text-h1">In The Beginning...</p>
<p class="text">Den omåttligt driftige (OCH trevliga) multiinstrumentalisten Johan Lannerhag hade vid ett flertal tillfällen räddat mig ("Angus") och bluesbandet Dusty Lee and the Hunters när det var panik på basfronten. Vid ett flera av dessa tillfällen hade han uttryck önskemål om att träffas och bara ösa på med en massa AC/DC-låtar. Eftersom jag själv varit AC/DC-fantast sen barnsben lät detta naturligtvis intressant. Så, när tiden mognat så värkte ett band fram till ett framträdande i KORPROCKEN i Örebro, detta var hösten -03. En tids stiltje efter det men sen rullade det på, tusan om vi skulle ta å repa in lite fler låtar och se hur det går!</p>
</div>
<div class="TabbedPanelsContent"><div class="contactlink"><a href="mailto:johan.rapp@skola.nora.se">JOHAN "BON" RAPP</a><br /><br /><a href="mailto:327persson@telia.com">JAN "ANGUS" PERSSON</a><br /><br /><a href="mailto:hla@verktygsspecialisten.se">HENRIK "MALCOLM"LANNERHAG</a><br /><br /><a href="mailto:johan.lannerhag@orebro.engelska.se">JOHAN "PHIL" LANNERHAG</a><br /><br /><a href="mailto:c.magnus.johansson@gmail.com">MAGNUS "CLIFF"JOHANSSON</a></div></div>
</div>
</div>
<div id="content">
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
</script>
</div>
<div id="footer">
<p class="copyright">All Media Copyright © AD/DC 2009</p>
<p class="copyright">--- the rody machine ---</p>
</div>
</div>
</body>
</html>



-------------------------------------------------------------------------------- --------------------------------
 
In your CSS is the list items set to display inline?

If not, you need to make sure your List Items (li) are set to display: inline. This should probably be set within the TabbedPanelsTab class.

If that is already set, you may need to post the contents of the CSS file so that we can see what is happening in there as well.
 
thank for that tip. have spent some time changing the TABBEDPANELSTAB GROUP and the TABBEDPANELSTAB so that the 'liststyle' is inline as you said but still no change :(

here's the CSS code...

Code:
@charset "UTF-8";

/* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6.1 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/* Horizontal Tabbed Panels
 *
 * The default style for a TabbedPanels widget places all tab buttons
 * (left aligned) above the content panel.
 */

/* This is the selector for the main TabbedPanels container. For our
 * default style, this container does not contribute anything visually,
 * but it is floated left to make sure that any floating or clearing done
 * with any of its child elements are contained completely within the
 * TabbedPanels container, to minimize any impact or undesireable
 * interaction with other floated elements on the page that may be used
 * for layout.
 *
 * If you want to constrain the width of the TabbedPanels widget, set a
 * width on the TabbedPanels container. By default, the TabbedPanels widget
 * expands horizontally to fill up available space.
 *
 * The name of the class ("TabbedPanels") used in this selector is not
 * necessary to make the widget function. You can use any class name you
 * want to style the TabbedPanels container.
 */
 #TabbedPanels1 {
	position: relative;
	float: left;
	margin: 50px;
}
.TabbedPanels {
	padding: 0px;
	clear: none;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
}

/* This is the selector for the TabGroup. The TabGroup container houses
 * all of the tab buttons for each tabbed panel in the widget. This container
 * does not contribute anything visually to the look of the widget for our
 * default style.
 *
 * The name of the class ("TabbedPanelsTabGroup") used in this selector is not
 * necessary to make the widget function. You can use any class name you
 * want to style the TabGroup container.
 */
.TabbedPanelsTabGroup {
	clear: none;
	float: none;

}

/* This is the selector for the TabbedPanelsTab. This container houses
 * the title for the panel. This is also the tab "button" that the user clicks
 * on to activate the corresponding content panel so that it appears on top
 * of the other tabbed panels contained in the widget.
 *
 * For our default style, each tab is positioned relatively 1 pixel down from
 * where it wold normally render. This allows each tab to overlap the content
 * panel that renders below it. Each tab is rendered with a 1 pixel bottom
 * border that has a color that matches the top border of the current content
 * panel. This gives the appearance that the tab is being drawn behind the
 * content panel.
 *
 * The name of the class ("TabbedPanelsTab") used in this selector is not
 * necessary to make the widget function. You can use any class name you want
 * to style this tab container.
 */
.TabbedPanelsTab {
	position: relative;
	float: left;
	background-color: #000000;
	-moz-user-select: none;
	-khtml-user-select: none;
	cursor: pointer;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: normal;
	padding-top: 4px;
	padding-right: 10px;
	padding-bottom: 4px;
	padding-left: 10px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-top-style: solid;
	border-top-color: #FFFF00;
	border-bottom-color: #FFFF00;
	color: #FFFFFF;
	display: inline;
	list-style-image: none;
	list-style-type: inline;
}

/* This selector is an example of how to change the appearnce of a tab button
 * container as the mouse enters it. The class "TabbedPanelsTabHover" is
 * programatically added and removed from the tab element as the mouse enters
 * and exits the container.
 */
.TabbedPanelsTabHover {
	background-color: #CCC;
	color: #000000;
}

/* This selector is an example of how to change the appearance of a tab button
 * container after the user has clicked on it to activate a content panel.
 * The class "TabbedPanelsTabSelected" is programatically added and removed
 * from the tab element as the user clicks on the tab button containers in
 * the widget.
 *
 * As mentioned above, for our default style, tab buttons are positioned
 * 1 pixel down from where it would normally render. When the tab button is
 * selected, we change its bottom border to match the background color of the
 * content panel so that it looks like the tab is part of the content panel.
 */
.TabbedPanelsTabSelected {
	background-color: #EEE;
	color: #000000;
}

/* This selector is an example of how to make a link inside of a tab button
 * look like normal text. Users may want to use links inside of a tab button
 * so that when it gets focus, the text *inside* the tab button gets a focus
 * ring around it, instead of the focus ring around the entire tab.
 */
.TabbedPanelsTab a {
	color: black;
	text-decoration: none;
}

/* This is the selector for the ContentGroup. The ContentGroup container houses
 * all of the content panels for each tabbed panel in the widget. For our
 * default style, this container provides the background color and borders that
 * surround the content.
 *
 * The name of the class ("TabbedPanelsContentGroup") used in this selector is
 * not necessary to make the widget function. You can use any class name you
 * want to style the ContentGroup container.
 */
.TabbedPanelsContentGroup {
	clear: both;
	background-color: #000000;
	height: auto;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	width: 800px;
	float: left;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #FFFF00;
	border-right-color: #FFFF00;
	border-bottom-color: #FFFF00;
	border-left-color: #FFFF00;
	padding: 0px;
}

/* This is the selector for the Content panel. The Content panel holds the
 * content for a single tabbed panel. For our default style, this container
 * provides some padding, so that the content is not pushed up against the
 * widget borders.
 *
 * The name of the class ("TabbedPanelsContent") used in this selector is
 * not necessary to make the widget function. You can use any class name you
 * want to style the Content container.
 */
.TabbedPanelsContent {
	padding: 0px;
}

/* This selector is an example of how to change the appearnce of the currently
 * active container panel. The class "TabbedPanelsContentVisible" is
 * programatically added and removed from the content element as the panel
 * is activated/deactivated.
 */
.TabbedPanelsContentVisible {
}

/* Vertical Tabbed Panels
 *
 * The following rules override some of the default rules above so that the
 * TabbedPanels widget renders with its tab buttons along the left side of
 * the currently active content panel.
 *
 * With the rules defined below, the only change that will have to be made
 * to switch a horizontal tabbed panels widget to a vertical tabbed panels
 * widget, is to use the "VTabbedPanels" class on the top-level widget
 * container element, instead of "TabbedPanels".
 */

/* This selector floats the TabGroup so that the tab buttons it contains
 * render to the left of the active content panel. A border is drawn around
 * the group container to make it look like a list container.
 */
.VTabbedPanels .TabbedPanelsTabGroup {
	float: left;
	width: 10em;
	height: 20em;
	background-color: #EEE;
	position: relative;
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-left: solid 1px #CCC;
	border-bottom: solid 1px #CCC;
}

/* This selector disables the float property that is placed on each tab button
 * by the default TabbedPanelsTab selector rule above. It also draws a bottom
 * border for the tab. The tab button will get its left and right border from
 * the TabGroup, and its top border from the TabGroup or tab button above it.
 */
.VTabbedPanels .TabbedPanelsTab {
	float: none;
	margin: 0px;
	border-top: none;
	border-left: none;
	border-right: none;
}

/* This selector disables the float property that is placed on each tab button
 * by the default TabbedPanelsTab selector rule above. It also draws a bottom
 * border for the tab. The tab button will get its left and right border from
 * the TabGroup, and its top border from the TabGroup or tab button above it.
 */
.VTabbedPanels .TabbedPanelsTabSelected {
	background-color: #EEE;
	border-bottom: solid 1px #999;
}

/* This selector floats the content panels for the widget so that they
 * render to the right of the tabbed buttons.
 */
.VTabbedPanels .TabbedPanelsContentGroup {
	clear: none;
	float: left;
	padding: 0px;
	width: 30em;
	height: 20em;
}
 
Back
Top Bottom