I need to create a script to scroll the ads on the website I am developing, with the pages. The want the ads to stay on screen when everything else scrolls, Anyone know where to find a good tutorial on this or have a good code to do this with that they are willing to share with me? Thanks in advance for any help.
GraficRegret
0
Junior Poster
Recommended Answers
Jump to PostThere's lots of ways of doing it, the more sofisticated are with JavaScript, but it can be done easily done only with CSS, using position
fixed
.See a example:
<!DOCTYPE html> <html> <body> <style type="text/css"> #content { width: 500px; font-size: 30px; } #banner { position: fixed; …
All 3 Replies
AleMonteiro
238
Can I pick my title?
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
GraficRegret
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.