Forums

 
  Support Forum  Modules  Engage: Rotator  CSS Documentation & Examples?
Previous Previous
 
Next Next
New Post 10/18/2007 2:56 PM
  Paul
11 posts
10th Level Poster


CSS Documentation & Examples? 

Some CSS documentation and examples would go along way toward helping folks get the most from the rotator.

I have been poking around in the module.css to try to gain control of styling my content, including the article title.  I have not been able to accomplish my goals and the content has some odd behavior to it just from the default styles.

Here is a link to my development site to demonstrate what I am trying to accomplish. Very simple scoreboard with just some text for now.

The odd behavior is that the font itself seems to deteriorate in quality after an intial page refresh or a 2nd rotation.

Also, I want the title of the article to align left but I can't find a css setting in the module.css that will cause this to happen. I also want to be able to style the article title itself (color, size, etc.).

Finally, how do I style the font of the content itself? Why doesn't it take on the font style defined in my skin.css like the rest of the modules on the page?

Thanks,

Paul

 
New Post 10/18/2007 3:01 PM
  Paul
11 posts
10th Level Poster


Re: CSS Documentation & Examples? 

Update: The article title is properly aligned in FF but not in IE.  Also, the content jumps right during the transition. And, I set the rotator width to 285px, the size of my right pane and I set the rotator content to 275 px but it still is only taking up a small portion of the area.

Thanks,

Paul

 
New Post 10/22/2007 9:59 AM
  Brian Dukes
498 posts
4th Level Poster


Re: CSS Documentation & Examples? 

We are working on some documentation and samples to help you out.


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 10/22/2007 12:11 PM
  Brian Dukes
498 posts
4th Level Poster


Re: CSS Documentation & Examples? 

 packrat wrote
...

The odd behavior is that the font itself seems to deteriorate in quality after an intial page refresh or a 2nd rotation.

...

This appears to be a known issue between the DXTransforms used by the AjaxControlToolkit animations and ClearType in IE.  There is a short acknowledgement at http://blogs.msdn.com/ie/archive/2006/08/31/730887.aspx, which also includes a suggestion to set the background-color style on the element to fix the problem.  If that is possible in your situation, I would definitely suggest trying that.  I will see what I can find in terms of answers from the AjaxControlToolkit team.


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 10/22/2007 1:52 PM
  Paul
11 posts
10th Level Poster


Re: CSS Documentation & Examples? 

Thanks for the info.  The behavior only seems to occur when I turn on the animations feature.  Also, when I choose the animation feature, the text and image jumps to the right before settling back down and displaying the content.  Refere back to my link to see this behavior.  How can I coorect this or what css class should I be looking at to resolve this issue.

Thanks,

Paul

 
New Post 10/23/2007 12:54 PM
  Paul
11 posts
10th Level Poster


Re: CSS Documentation & Examples? 

I have corrected the deteriating text issue by inserting a background image.  I am still struggling with my text jumping to the right during the animation transition.  Also, in FF my background image is not fully displayed and is partially cut off.  I have tried all day to correct these two issues but with no success.  Any help appreciated. 

Thanks,

Paul

 
New Post 10/23/2007 1:24 PM
  Brian Dukes
498 posts
4th Level Poster


Re: CSS Documentation & Examples? 

So far at the background image goes, it appears that you have the content set to be 200px wide, while your background image is 250px wide. I saw that you said something above about setting values to 275px, are you not seeing that you've set the width of the content to be 200px? That is what I see when I look at the markup in Firefox, and it seems to fix it if I change the style in-line to be 250px.

The jumping to the right has to do with the fade in/fade out animations.  I am using some JavaScript to position the elements on top of each other.  I would assume that the tab aggregator is causing issues with the measurements.  It may be possible to override this behavior using a CSS class and the !important tag to override the incorrect values that the JavaScript is using with, for example:
position: relative; top: -200px;

Let me know how that works for you.


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 10/23/2007 3:35 PM
  Paul
11 posts
10th Level Poster


Re: CSS Documentation & Examples? 

Well Brian, I got the image to show up in fully in FF...thanks for the direction.  At this point, I have turned the animation feature off after trying for a couple more hours to use positioning to fix things.  I'm still a little unclear about how to format the above css:

position: relative; top: -200px !important;   ?

Without some documentation explaning the structure of the module (Each Div element and it's corresponding id or class selector), the going is tough on my end.

BTW...the jumping in the animation is there whether the module is in the aggregator or not.

I'm not usually this particular and stubborn with a module but we are actually auctioning off the naming of our website scoreboard at our annual benefit auction and it is expected to go for at least $5000. 

Thanks,

Paul

 
New Post 10/23/2007 3:57 PM
  Brian Dukes
498 posts
4th Level Poster


Re: CSS Documentation & Examples? 

<div class="rotatorWrapper">
    <div class="rotator">
        <!--Start Article Markup-->
            <div>
                <div class="rotatorContentWrapper" style='<%=ContentWrapperStyle %>'>
                    <div class="rotatorContent">
                        <span class="rotatorContentHeader">...</span>
                        <span class="rotatorContentHeaderLinkWrapper"><a class="rotatorContentHeaderLink" href="...">...</a></span>
                        <br />
                        <div class="rotatorThumbnailWrapper">
                            <!-- If Thumbnail Is A Link -->
                            <a class="rotatorThumbnailLink" href='...'>
                                <img style='<%=ThumbnailStyle %>' class="rotatorThumbnail" src='...' alt='' />
                            </asp:HyperLink>
                            <!-- If Thumbnail Is Just Content -->
                            <img class="rotatorThumbnail" src='...' alt='' />
                            <!-- End Thumbnail -->
                        </div>
                        <div class="rotatorContentBodyWrapper">
                            <span class="rotatorContentTitleWrapper">
                                <!-- If Title Is A Link -->
                                <a class="rotatorContentTitleLink" href='...'>...</a>
                                <!-- If Title Is Just Content -->
                                ...
                                <!-- End Title -->
                            </span><br />
                            <div id="rotatorContentDescriptionWrapper">
                                <!-- If Main Content Is A Link -->
                                <a class="rotatorDescriptionLink" href='...'>...</a>
                                <!-- If Main Content Is Just Content -->
                                <span class="rotatorDescription">...</span>
                                <!-- End Main Content -->
                                <div class="rotatorReadMoreLinkWrapper"><a class="rotatorReadMoreLink" href=''>...</a></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        <!-- End Article Markup -->
    </div>
   
    <div id="controls" class="rotatorControlsWrapper">
        <!--If Controls Are Above Titles -->
        <div id="btnPrev" class="rotatorControlsPreviousLink"></div>&nbsp;
        <div id="btnPause" class="rotatorControlsPauseLink"></div>&nbsp;
        <div id="btnNext" class="rotatorControlsNextLink"></div>
        <!-- End Above Controls -->
        <div class="rotatorPositionsWrapper">
            <!-- Begin Position Titles -->
                    <div class="rotatorPosition">
                        <img class="rotatorPositionThumbnail" style='<%=PositionThumbnailStyle %>' src='...' alt='...' />
                        <!-- If Postion Title is Content or Hyperlink that Rotates -->
                        <div class="rotatorPositionTitle">...</div>
                        <!-- If Position Title is a Link -->
                        <a class="rotatorPositionTitleLink" href='...'>...</a>
                        <!-- End Position Title -->
                    </div>
            <!-- End Position Titles -->
        </div>
        <!--If Controls Are Below Titles -->
        <div id="btnPrev" class="rotatorControlsPreviousLink"></div>&nbsp;
        <div id="btnPause" class="rotatorControlsPauseLink"></div>&nbsp;
        <div id="btnNext" class="rotatorControlsNextLink"></div>&nbsp;
        <!--End Below Controls -->
    </div>
</div>

I'll put that on a Wiki page.

I was thinking adding the following to your Portal or Skin CSS file:

.rotator div {position: relative; top: -200px !important;}

Does that help?


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Rotator  CSS Documentation & Examples?

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke