Hi everyone,
I downloaded a custom scroll bar script from this site:
Can someone please tell me if it is possible to have a few lines in a page
that will include the script in another file? I guess I just think repeating
the code in every page is a bit wasteful and not great management. It would
be helpful if I can have the script in another file and just "include" it in
the pages. I'm using the term "include" like in C/C++
Excuse my ignorance, I'm fairly new to HTML and Javascript.
Cheers,
Dany.
I downloaded a custom scroll bar script from this site:
Can someone please tell me if it is possible to have a few lines in a page
that will include the script in another file? I guess I just think repeating
the code in every page is a bit wasteful and not great management. It would
be helpful if I can have the script in another file and just "include" it in
the pages. I'm using the term "include" like in C/C++
Excuse my ignorance, I'm fairly new to HTML and Javascript.
Cheers,
Dany.
Comment