Sliding Ads

Status
Not open for further replies.

Nothingness

New Member
Messages
38
Reaction score
0
Points
0
So I have some verticle ads that I want to slide as you scroll down. I need them to stay in the same position no matter what verticle position you are viewing. I cant seem to think of a term to google search to get code. Any help? Site i'm working on is www.religionisfree.org if you go there, u will see the ads on the sides. as you scroll down, I want them to be in a constant position. the motion can be fluid or abrupt, i dont care.


THANKS
 

Franc0

New Member
Messages
206
Reaction score
0
Points
0
Hello there!

First download tehe 2 javascripsts and upload the to your site.
1 is for the right and the other one is for the left.

then..

Insert the below inside the <body> section of the pages, in open space (not contained inside any tag, such as <table> etc). Be sure to change the name "staticlogo.js to match the file you've downloaded above:

<div id="watermarklogo" style="position:absolute;"></div>

<script src="staticlogoleft.js">

</script>

<div id="watermarklogo" style="position:absolute;"></div>

<script src="staticlogoright.js">

</script>
---

BTW do you have a spare .org? thanks!
 

Attachments

  • logosleftandright.zip
    2.5 KB · Views: 18
Last edited:

Nothingness

New Member
Messages
38
Reaction score
0
Points
0
Thanks for the reply, but that code is more for image files. I'm using Google Adsense so it is a block of its own code. Also, I cant exactly give an top/right position if the width is going to vary with each viewers screen size.

Spare .orgs? they are cheap. Same price as an .com
 

VPmase

New Member
Messages
914
Reaction score
0
Points
0
Seems like your problem is solved. I will close this thread now.
 
Status
Not open for further replies.
Top