You are here: Re: Javascript help needed for "floating" image « HTML « IT news, forums, messages
Re: Javascript help needed for "floating" image

Posted by Neredbojias on 09/27/07 13:23

Well bust mah britches and call me cheeky, on Wed, 26 Sep 2007 16:19:18
GMT Don Wiss scribed:

> On my StoreFront pages I've added B&H ads. On my longest page
> http://donwiss.com/pictures/BrooklynStores/ you can see a single B&H
> ad at the top of the right table column. The page is long. I'd like
> that ad to remain in view as the people scroll down.
>
> I found a page doing what I want. I looked at the source code. It is
> beyond me to understand it. Based on the image size it would appear to
> be in this code:
>
> ..snip
>
> How would I adapt that to my needs?

What you're really talking about is the css styling "position:fixed;"
Javascript can be used to emulate this, particularly in ie6 where the css
designation doesn't work. However, the example you gave is completely
bogus, and using javascript for the purpose isn't a particularly good idea,
anyway, especially if you don't understand how it operates or the
ramifications thereto related.

--
Neredbojias
Half lies are worth twice as much as whole lies.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация