Vffreak07 Posted November 5, 2008 Posted November 5, 2008 Hey everyone, We're coding the new version of our site, and there's a couple applications, or parts of our site that need javascript. First of all, I have no idea how to use javascript. I've looked up countless times how to install/use it, but fail to learn (epic fail I know). One thing we need to install on our site is lightbox. A photo viewer. I'm in the process of installing, and I find out we need a stylesheet. I have no idea how to get Lightbox to work, and I have no idea how to make a stylesheet, or how to make it function. If anyone could post a "How to" or something among that effect, that'd be bomb. Thanks all. Peace, ~Vffreak
Capitalize Posted November 11, 2008 Posted November 11, 2008 I've never bother working with lightbox, I prefer making my own photogalleries in CSS/html or flash. However, I have some experience in javascript in menus, roll over buttons, and using external javascripts. IMO, the easiest way to work with a javascrip is to apply is externally. Save it as a .js file outside of your index.html (and all others and what not) file and link to it in the head of the page you want the script to effect. Here is an example: Just place that in the . The script(s) you have in the .js will then apply to whatever .html files contain the link. here is my still under construction web site, if you look at the source file you can see how I linked to a .js file for my rollover images (links at top).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now