|
Pages: [1]
|
 |
|
Author
|
Topic: Snippets in Dreamweaver Spry Tabbed Panels? (Read 708 times)
|
|
slickyv
Posts: 5
|
Is there a way to implement Snippetmaster into Dreamweaver Spry Tabbed Panels? I'm working with 3 tabs and would like each tablet to have unique content that is user editable. I listed the code. Where would I insert the snippet tabs. I tried messing around with it but when I tried to edit the tab with wysiwyg it looked weird, not like how a it looks live.
Code:
<div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Tab 1</li> <li class="TabbedPanelsTab" tabindex="0">Tab 2</li> <li class="TabbedPanelsTab" tabindex="0">Tab 3</li> </ul> <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent"> <p>Tab 1<br /> Under Construction</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> <div class="TabbedPanelsContent"> <p>Tab 2<br /> Under Construction </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> <div class="TabbedPanelsContent"> <p>Tab3<br /> Under Construction </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> </div> </div>
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
Hello, Sure, you should be able to do something like this: <div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Tab 1</li> <li class="TabbedPanelsTab" tabindex="0">Tab 2</li> <li class="TabbedPanelsTab" tabindex="0">Tab 3</li> </ul> <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent"> <!-- #BeginSnippet name="My editable area" --> <p>Tab 1<br /> Under Construction</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <!-- #EndSnippet --> </div> <div class="TabbedPanelsContent"> <!-- #BeginSnippet name="My editable area" --> <p>Tab 2<br /> Under Construction </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <!-- #EndSnippet --> </div> <div class="TabbedPanelsContent"> <!-- #BeginSnippet name="My editable area" --> <p>Tab3<br /> Under Construction </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <!-- #EndSnippet --> </div> </div> </div>
|
|
|
|
|
|
slickyv
Posts: 5
|
Hey, please check your email.
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
Hello, The problem is that your CSS stylesheet has the following style: ------------- body { background: #187AD5 url(images/back_all.gif) repeat-x; font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #A4E4F5; } -------------- So the editor is finding this style, and then applying it to the editor window... which is why you see that background image in the editor. (Try editing out that background image from the body class above, and you should see the editor also changed...) The solution is to specifically tell the editor to use a different background style when editing. I am planning to add this feature to a new version, but for now you have to do it manually. Here's a link to show how to do this: http://www.snippetmaster.com/forums/index.php/topic,1234.0.htmlI hope that helps?
|
|
|
|
|
|
slickyv
Posts: 5
|
Hi, I tried the solution in the link. I added the three lines to the end of my css file and still the same results. I don't think that is the issue since my other snippets work almost perfectly using the same css file. I think it has the do with the dreamweaver spry tabbed panel. Is there a way to get it to work properly with tabbed panels? Let me know if you need any more info. Shooting you an email just in case you don't see this here.
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
There's one way to check...
Try removing the "images/back_all.gif" from your css body tag, and see what happens.
(And also try changing the color in the body tag, etc...)
Other than that.. I don't know, as I'm not familiar with the dreamweaver spry tabbed system..
|
|
|
|
|
|
slickyv
Posts: 5
|
Figured out the issue. If using Spry Tabbed panels, you have to edit the Spry Assets CSS file also.
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |