Hi, All I''m new to the Prototype. I believe it''s a powerful JavaScript framework. For my project I''d like to have a static footer whenever you scroll up or down it will always stay there. It looks like the footer of the following site http://wiki.script.aculo.us/scriptaculous/show/Prototype . Thanks for your help Fei --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
that footer is easy with modern browsers - aka. above ie6, ff,opera,safari
postition:fixed;
there is also a work around for ie6 i can post if you are interested.
the css for that specific footer from your link is:
#footer{
position: fixed;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #dddddd;
border-bottom-width: 10px;
border-bottom-style: solid;
border-bottom-color: #f5f5f5;
background-color: #f5f5f5;
background-image: url(http://script.aculo.us/images/footer.gif);
background-repeat: repeat;
background-attachment: scroll;
background-x-position: 0%;
background-y-position: 0%;
width: 100%;
left: 0px;
bottom: 0px;
text-align: left;
color: #aaaaaa;
font-size: 10px;
z-index: 10000;
opacity: 0.9;
}
(yes, copied with the css viewer from the webdeveloper FF extension)
On Feb 5, 2008 9:10 PM, Fei
<mail2fei-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi, All
>
> I''m new to the Prototype. I believe it''s a powerful
JavaScript
> framework. For my project I''d like to have a static footer
whenever
> you scroll up or down it will always stay there. It looks like the
> footer of the following site
> http://wiki.script.aculo.us/scriptaculous/show/Prototype
> .
>
> Thanks for your help
> Fei
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
Brain- I appreciate your help! Thx alot!! Fei On Feb 5, 11:05 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> that footer is easy with modern browsers - aka. above ie6, ff,opera,safari > > postition:fixed; > > there is also a work around for ie6 i can post if you are interested. > > the css for that specific footer from your link is: > > #footer{ > > position: fixed; > border-top-width: 1px; > border-top-style: solid; > border-top-color: #dddddd; > border-bottom-width: 10px; > border-bottom-style: solid; > border-bottom-color: #f5f5f5; > background-color: #f5f5f5; > background-image: url(http://script.aculo.us/images/footer.gif); > background-repeat: repeat; > background-attachment: scroll; > background-x-position: 0%; > background-y-position: 0%; > width: 100%; > left: 0px; > bottom: 0px; > text-align: left; > color: #aaaaaa; > font-size: 10px; > z-index: 10000; > opacity: 0.9; > > } > > (yes, copied with the css viewer from the webdeveloper FF extension) > > On Feb 5, 2008 9:10 PM, Fei <mail2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, All > > > I''m new to the Prototype. I believe it''s a powerful JavaScript > > framework. For my project I''d like to have a static footer whenever > > you scroll up or down it will always stay there. It looks like the > > footer of the following site > >http://wiki.script.aculo.us/scriptaculous/show/Prototype > > . > > > Thanks for your help > > Fei--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---