|
Posted by Neredbojias on 09/30/07 22:30
Well bust mah britches and call me cheeky, on Sun, 30 Sep 2007 17:52:44
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.
>
> Demonoid has come back up. Here is an example of what I want to do;
> http://www.demonoid.com/files/?category=2&subcategory=0&quality=62&seed
> ed=0&external=2&query=&uid=0 However, in Firefox the ad does not
> appear. In IE7 you can see it working the way I want. So I guess the
> code will have to detect the browser and for Firefox, if it can't
> remain visible, then to revert back to a single ad at the top.
>
> All this is beyond me, and if necessary I'll hire someone to do it.
I saw no ad on any browser I tried. Of course, I didn't try ie7 because
that's on another computer. However, I believe you.
Anyway, is something like the following what you mean?
http://www.neredbojias.com/zyxix/zpftest.html
This works on everything. (Yeah, right.) Well, it's simple and should
work on "the big three" okay. I didn't bother with "position:fixed;"
because - why bother? If you have to kludge (for ie6), might just as
well use the kludge for everything on condition it's effective.
--
Neredbojias
Half lies are worth twice as much as whole lies.
[Back to original message]
|