dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
815
murphyp
join:2012-09-19

murphyp

Member

Need to add a banner throughout website

I am designing a website that has over a hundred pages and I was asked to add a flash banner throughout the website. I tried changing it the the source code and the CSS but I still can't figure it out. Is there any other way that I can add the banner to all the pages without opening every single page in the website.

howardfine
join:2002-08-09
Saint Louis, MO

howardfine

Member

Without programming, a CMS or an IDE that does that, no.

tao
Frazzlebats
Premium Member
join:2000-12-03
Lansing, MI

tao to murphyp

Premium Member

to murphyp
I would love to be able to create a site without opening every page and be able to charge money for doing it.

Maybe you asked the wrong question.

stray
join:2000-01-16
Warren, NJ

stray to murphyp

Member

to murphyp
One possible hack... If there's already some common javascript file that is loaded by every page and your semantic markup allows you to access the exact spot in the DOM where you want to add the banner, then you could edit the common javascript file, add in an onPageLoad() that brings in the banner and inserts it on every web page.

Prevailer
Freeze a poopy.
Premium Member
join:2001-10-03
Your Mom

Prevailer to murphyp

Premium Member

to murphyp
If it's to be replacing something else, you should be able to do a find/replace in Notepad++ or some other IDE.

Even if it's not replacing something, but it comes after the same code on every page you can just add it.

Find "end of code"
Replace with "End of code + the banner code"