Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Fade effect on top and bottom of page while scrolling

Reply
Thread Tools

Fade effect on top and bottom of page while scrolling

 
 
jakeatkins via WebmasterKB.com
Guest
Posts: n/a
 
      07-23-2007
I'm looking for some kind of effect where the text/images shown in a frame
will gradually fade to black within 25 pixels of the top and bottom border of
the frame while scrolling. Can this be inserted this into a style.css file?
Thanks!

--
Message posted via http://www.webmasterkb.com

 
Reply With Quote
 
 
 
 
Ben C
Guest
Posts: n/a
 
      07-23-2007
On 2007-07-23, jakeatkins via WebmasterKB.com <u35973@uwe> wrote:
> I'm looking for some kind of effect where the text/images shown in a frame
> will gradually fade to black within 25 pixels of the top and bottom border of
> the frame while scrolling. Can this be inserted this into a style.css file?
> Thanks!


You could make a graduated black image that goes from fully transparent
at the bottom to fully opaque at the top and superimpose it over the top
of the frame with absolute positioning.
 
Reply With Quote
 
 
 
 
jakeatkins via WebmasterKB.com
Guest
Posts: n/a
 
      07-23-2007
Genius idea! But how do I get the text to go behind the graduated image?
This is on a wordpress blog, and I don't see any html file, just all .phps
with a style.css. where would I even put in the code to do this correctly?

Ben C wrote:
>> I'm looking for some kind of effect where the text/images shown in a frame
>> will gradually fade to black within 25 pixels of the top and bottom border of
>> the frame while scrolling. Can this be inserted this into a style.css file?
>> Thanks!

>
>You could make a graduated black image that goes from fully transparent
>at the bottom to fully opaque at the top and superimpose it over the top
>of the frame with absolute positioning.


--
Message posted via WebmasterKB.com
http://www.webmasterkb.com/Uwe/Forum...l-dev/200707/1

 
Reply With Quote
 
jakeatkins via WebmasterKB.com
Guest
Posts: n/a
 
      07-23-2007
I think I know what your saying to do, to put an absolute image position on
the .html that opens the frames. But I would also want the same effect on
the bottom of the frame, how would I determine an absolute location when
taking into account all the different browsers and screen/window sizes?

jakeatkins wrote:
>Genius idea! But how do I get the text to go behind the graduated image?
>This is on a wordpress blog, and I don't see any html file, just all .phps
>with a style.css. where would I even put in the code to do this correctly?
>
>>> I'm looking for some kind of effect where the text/images shown in a frame
>>> will gradually fade to black within 25 pixels of the top and bottom border of

>[quoted text clipped - 4 lines]
>>at the bottom to fully opaque at the top and superimpose it over the top
>>of the frame with absolute positioning.


--
Message posted via http://www.webmasterkb.com

 
Reply With Quote
 
Sherm Pendley
Guest
Posts: n/a
 
      07-23-2007
Ben C <> writes:

> On 2007-07-23, jakeatkins via WebmasterKB.com <u35973@uwe> wrote:
>> I'm looking for some kind of effect where the text/images shown in a frame
>> will gradually fade to black within 25 pixels of the top and bottom border of
>> the frame while scrolling. Can this be inserted this into a style.css file?
>> Thanks!

>
> You could make a graduated black image that goes from fully transparent
> at the bottom to fully opaque at the top and superimpose it over the top
> of the frame with absolute positioning.


That was my first thought as well. But, a gradient alpha channel means PNG;
GIF has only one-bit alpha and JPEG none at all. Doesn't IE have "issues"
with its support for PNG?

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
 
Reply With Quote
 
Ben C
Guest
Posts: n/a
 
      07-23-2007
On 2007-07-23, jakeatkins via WebmasterKB.com <u35973@uwe> wrote:
> Ben C wrote:
>>> I'm looking for some kind of effect where the text/images shown in a frame
>>> will gradually fade to black within 25 pixels of the top and bottom border of
>>> the frame while scrolling. Can this be inserted this into a style.css file?
>>> Thanks!

>>
>>You could make a graduated black image that goes from fully transparent
>>at the bottom to fully opaque at the top and superimpose it over the top
>>of the frame with absolute positioning.


> Genius idea! But how do I get the text to go behind the graduated image?


Absolutely positioned things go on top of other things generally anyway.

> This is on a wordpress blog, and I don't see any html file, just all .phps
> with a style.css. where would I even put in the code to do this correctly?


Don't know. You mean you can only add styles and not HTML?
 
Reply With Quote
 
jakeatkins via WebmasterKB.com
Guest
Posts: n/a
 
      07-23-2007
I've put this in the top of the specific frame's index.php:

<img src="smred.gif" STYLE="position:absolute; left: 100px;">

It shows up in the frame over top of text, but doesn't move with the
scrolling, just stays where it was dropped...? Does the absolute image code
need to go in the .html file with the framesets? Where would I put it since
there is no body tags in the frameset.html?


Ben C wrote:
>>>> I'm looking for some kind of effect where the text/images shown in a frame
>>>> will gradually fade to black within 25 pixels of the top and bottom border of

>[quoted text clipped - 4 lines]
>>>at the bottom to fully opaque at the top and superimpose it over the top
>>>of the frame with absolute positioning.

>
>> Genius idea! But how do I get the text to go behind the graduated image?

>
>Absolutely positioned things go on top of other things generally anyway.
>
>> This is on a wordpress blog, and I don't see any html file, just all .phps
>> with a style.css. where would I even put in the code to do this correctly?

>
>Don't know. You mean you can only add styles and not HTML?


--
Message posted via WebmasterKB.com
http://www.webmasterkb.com/Uwe/Forum...l-dev/200707/1

 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      07-23-2007
Sherm Pendley wrote:
>
> a gradient alpha channel means PNG;
> Doesn't IE have "issues" with its support for PNG?


I believe IE7 does (mostly?) support png alpha transparency, but IE6 has
its own weird way of handling it with a proprietary CSS "filter"
property. It does require ActiveX enabled to work, though. If disabled,
I believe you get no background image at all, which could be a
readability problem.

--
Berg
 
Reply With Quote
 
Bernhard Sturm
Guest
Posts: n/a
 
      07-24-2007
jakeatkins via WebmasterKB.com wrote:
> I've put this in the top of the specific frame's index.php:
>
> <img src="smred.gif" STYLE="position:absolute; left: 100px;">
>
> It shows up in the frame over top of text, but doesn't move with the
> scrolling, just stays where it was dropped...? Does the absolute image code
> need to go in the .html file with the framesets? Where would I put it since
> there is no body tags in the frameset.html?
>
>



please stop top posting!


--
www.daszeichen.ch
remove nixspam to reply
 
Reply With Quote
 
Yorkshire Pete
Guest
Posts: n/a
 
      07-24-2007
On 23 Jul 2007 Bernhard Sturm wrote in alt.html

Why?

> jakeatkins via WebmasterKB.com wrote:
>> I've put this in the top of the specific frame's index.php:
>>
>> <img src="smred.gif" STYLE="position:absolute; left: 100px;">
>>
>> It shows up in the frame over top of text, but doesn't move with the
>> scrolling, just stays where it was dropped...? Does the absolute image
>> code need to go in the .html file with the framesets? Where would I
>> put it since there is no body tags in the frameset.html?
>>
>>

>
>
> please stop top posting!
>
>



--
D?
Yorkshire Pete
http://yorkshirepete.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mootools Ajax fade in fade out response problem Piotr Kaleta Javascript 4 04-21-2008 03:35 PM
Effect.Fade and Back Button ju dith Ruby 2 04-21-2008 12:55 AM
How do we know the memory arrangement using in microprocessors? Top-Bottom or Bottom-Top? Cuthbert C Programming 8 09-13-2006 12:09 PM
help! I can not get fade-in or fade-out of opacity in IE Jake Barnes Javascript 6 09-03-2006 07:54 AM
How to made fade in / fade out jpg in table cell hon123456 Javascript 1 04-12-2006 12:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57