Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Rams32 #1
Tabbed Panels beneath the Content
If you want the tabs below the content instead of on top or on the left for
whatever reason here is how I've done it.
First of all, switch the tab and content DIVs in your html file. So <ul
class="TabbedPanelsTabGroup">XXXX</div> is beneath <div
class="TabbedPanelsContentGroup">XXXX</div>.
Next open the .js file and find find
Spry.Widget.TabbedPanels.prototype.getTabGroup = function(). Replace the
function body to:
{
if (this.element)
{
var children = this.getElementChildren(this.element);
if (children.length > 1)
return children[1];
}
return null;
};
Now find Spry.Widget.TabbedPanels.prototype.getContentPanel Group = function().
Replace the function body to:
{
if (this.element)
{
var children = this.getElementChildren(this.element);
if (children.length)
return children[0];
}
return null;
};
NOTE: you've basically just swapped the functions.
That should be it. You now might need to edit the .css file to alter the
borders so that the tabs appear correctly.
Rams32 Guest
-
IE problem with tabbed panels in div with overflow
Hi there, I have a tabbed panel which works fine by itself in a body tag. If I put it into a div with overflow set and I move the contents up the... -
How to use Spry Tabbed Panels?
Hello, I made spry tabbed panels but I'd like them to work on a rollover or mouseover instead of a click. Here's what I tried but it didn't... -
Spry Tabbed Panels
Can contribute edit spry tabbed panel content? -
How do i hyperlink between spry tabbed panels
OK, i'm using the spry tabbed panels in Dreamweaver CS3. I have 9 tabs and the idea is that the user can link to content in 8 of the tabs from the... -
Drawing Methods - Why beneath other content?
Hello all, I have been learning to use drawing methods, but can't figure out why the drawing always appears underneath everything else, even I load...



Reply With Quote

