Jump to content
  TPR Home | Parks | Twitter | Facebook | YouTube | Instagram 

Recommended Posts

Posted

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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).

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use https://themeparkreview.com/forum/topic/116-terms-of-service-please-read/