Activate link via class name on load?
Hello, I apologise for asking for help straight after joining, although would love it if you would indulge me.
My problem is:
I have a client (whom I have made a site for), who now wants an animation to be presented to viewers on the splash page of the site. I know how undesirable this is (or a splash page, for that matter), but they are adamant, so I'm seeing what I can do. My solution so far is to have the animation as .swf and have it load in a lightbox variant called Lightwindow, (with the option for viewers to skip) on body load. I've been trawling the web for a couple days now, but haven't been successful. The closest I've got is using <body onload=getElementById...>, and hiding a link to the animation at the bottom of the page. Problem is, I've assigned the link a class name to tell it to play in the lightwindow. My next thought was to look for a getElementByClassName script, which I have now got, but have no idea how to use .
I've been scratching around with JQuery, but I'm clueless, really. Thanks, some help will be very much appreciated.