[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: TabbedPanel layout mess in Firefox
From:       "Ravi Mangalagiri" <ravi.mangalagiri () gmail ! com>
Date:       2007-04-30 13:52:04
Message-ID: f5a995e70704300652xc0c0380v402cdc12af049295 () mail ! gmail ! com
[Download RAW message or body]


<s:head theme="ajax"/>

<link rel="stylesheet" href="<s:url value="/struts/xhtml/styles.css"/>"
type="text/css"/>
<link rel="stylesheet" type="text/css" href="<s:url
value="/struts/tabs.css"/>">
<link rel="stylesheet" type="text/css" href="<s:url
value="/struts/niftycorners/niftyCorners.css"/>">
<link rel="stylesheet" type="text/css" href="<s:url
value="/struts/niftycorners/niftyPrint.css"/>" media="print">
<script language="JavaScript" type="text/javascript" src="<s:url
value="/struts/niftycorners/nifty.js"/>"></script>

<script language="JavaScript" type="text/javascript">
    dojo.event.connect(window, "onload", function() {
        if (!NiftyCheck())
            return;
            Rounded("li.tab_selected", "top", "white", "transparent",
"border #ffffffS");
            Rounded("li.tab_unselected", "top", "white", "transparent",
"border #ffffffS");
            //                Rounded("div#tab_header_main
li","top","white","transparent","border #ffffffS");
            // "white" needs to be replaced with the background color
       });
</script>

The following above code is very important for the tabs to paint. I had the
same problem, so I just created a ajaxCommonInclude.jsp (with the above
code) and included in my new defaultAjax.jsp for my ajax decorator.

-ravi


On 4/30/07, Felipe Rodrigues <feliperod777@yahoo.com.br> wrote:
>
>
> Actually, what is shown is not the Loading... text, but the real remote
> content.
> In my case it shows the page, with forms and all my data. But we don't see
> the tabs, only the content.
>
>
> Regards,
>
> Felipe
>
>
> Musachy Barroso wrote:
> >
> > But you can delay the content update until the last minute
> > (showLoadingText="false"). Or am I missing something here :)?
> >
> > regards
> > musachy
> >
> > On 4/27/07, Dave Newton <newton.dave@yahoo.com> wrote:
> >>
> >> --- Felipe Rodrigues <feliperod777@yahoo.com.br>
> >> wrote:
> >> > And about the content that tabbedPanel shows when
> >> > loading. Do you see that?
> >>
> >> Yes; while the content is loading there is visible
> >> content. That's one reason I'm actually probably going
> >> to move away from the tabbed panel (and possibly Dojo
> >> in general).
> >>
> >> d.
> >>
> >>
> >> __________________________________________________
> >> Do You Yahoo!?
> >> Tired of spam?  Yahoo! Mail has the best spam protection around
> >> http://mail.yahoo.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/TabbedPanel-layout-mess-in-Firefox-tf3659227.html#a10253632
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Ravi Mangalagiri
www.bluepitch.org (My personal website. Coming soon!)
703-505-4240 (c)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic