473,395 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

skyscraper ad staying on current page

Hi,
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down as
well). I googled for it alrady, but could not figure.

please help or provide url references to examples of this.
Jan 31 '06 #1
6 2325
"newb guy" <no**@noone.com> wrote:
Hi,
I am interested in javascript that allows a banner ad (a skyscraper)
to alwas stay on-page even if user scrolls down (so the banner slides
down as well). I googled for it alrady, but could not figure.

please help or provide url references to examples of this.


http://www.w3.org/Style/CSS/

look to the right

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Jan 31 '06 #2
newb guy wrote:
Hi,
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down as
well). I googled for it alrady, but could not figure.


You can use CSS position: fixed for browsers that support it. For those
that don't, there's script or frames. In general, such things are not
liked.

CSS position fixed:
<URL:http://www.w3.org/TR/CSS21/visuren.html#propdef-position>

Discuss frames in:
<URL:comp.infosystems.www.authoring.html>

Search the CLJ archives for script solutions using scrollTop and
pageYOffset - but you'll find they leave a lot to be desired.
<URL:http://www.quirksmode.org/viewport/compatibility.html>

[...]
--
Rob
Jan 31 '06 #3
Jim
What you're referencing is usually called a watermark done with dhtml.
The code and tutorial are found here:
http://echoecho.com/toolfloatinglayer.htm

Jan 31 '06 #4
RobG wrote:
newb guy wrote:
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down
as well). I googled for it alrady, but could not figure.
You can use CSS position: fixed for browsers that support it. For those
that don't, there's script or frames.


Or none of the above :)
In general, such things are not liked.
I beg your pardon?
CSS position fixed:
<URL:http://www.w3.org/TR/CSS21/visuren.html#propdef-position>
And for borken UAs:

<URL:http://jendryschik.de/wsdev/css/fixed/>
<URL:http://www.fabrice-pascal.de/artikel/posfixedie6/>

Sorry, I have no resources in English language about this, maybe Google
helps (even if it is only its translation service). But I think you get
the idea anyway.
Discuss frames in:
<URL:comp.infosystems.www.authoring.html>


Will not work, for it is no URL.

news:comp.infosystems.www.authoring.html (ciwah)

should work almost always. position:fixed and CSS in general can be
discussed in

news:comp.infosystems.www.authoring.stylesheets (ciwas)
PointedEars
Feb 15 '06 #5
Thomas 'PointedEars' Lahn wrote:
RobG wrote:

newb guy wrote:
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down
as well). I googled for it alrady, but could not figure.
[...]
In general, such things are not liked.

I beg your pardon?


Banners that stay fixed at the top of the window (or other places) are
annoying. I can understand why it has been added to the list of CSS
properties, but useful applications of it are limited. It's one of
those 'sounds like a good idea' things that in practice tend not to work.

[...]Discuss frames in:
<URL:comp.infosystems.www.authoring.html>

Will not work, for it is no URL.


Yes, dunno what I was thinking... :-)

[...]

--
Rob
Feb 17 '06 #6
RobG wrote:
Thomas 'PointedEars' Lahn wrote:
RobG wrote:
newb guy wrote:
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down
as well). I googled for it alrady, but could not figure.
In general, such things are not liked.

I beg your pardon?


Banners that stay fixed at the top of the window (or other places) are
annoying. I can understand why it has been added to the list of CSS
properties, but useful applications of it are limited. It's one of
those 'sounds like a good idea' things that in practice tend not to work.


You will find that _for example_ <URL:http://www.w3.org/Style/> disagrees.
PointedEars
Feb 17 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: wk6pack | last post by:
Hi, I have a problem and not quite how to go about solving it. I have a form written in asp. I wish to submit the form and have the server return back to the same page without actually...
3
by: Jamal | last post by:
Hi, I have been searching around for a way to ensure a page stays framed. Here's the catch. The user starts at a two-frame page with the Google directory in one frame. I want the user to be...
3
by: A.S. | last post by:
I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will click on a link and will not be taken to another...
1
by: jonefer | last post by:
I have a simple search utility that works perfectly except if the user were to step away from her terminal after finding the results for - 7 minutes or so, and try to go back to the main page an...
8
by: damod.php | last post by:
Iam a php/mysql developer. I wanna know whether staying in php and mysql forever would affect my future. Most s/w people are in either java or dotnet. Iam novice in both of them. I love php and i...
5
by: eighthman11 | last post by:
Hi everyone: This is probably a pretty simple problem but it is driving me nuts. Using Access 2000. I have a continuous form which list several thousand inventory items. The user can enter a...
13
by: dmorand | last post by:
I'm having a little trouble getting this ajax to work. Everytime I select a value in the page below I'm seeing that the readyState is 1, but never changes from 1. Here is my html: <div...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.