Quote:
Originally Posted by bennett
I think HTML rollovers won't work, because of the javascript already present in the file.
|
There is no such thing as “HTML rollovers”. This can only be achieved with CSS or JavaScript.
Quote:
Originally Posted by bennett
Mouseovers can work like this (and other ways, too):
<img src="image1.jpg" onmouseover="this.src='image2.jpg'" onmouseout="this.src='image1.jpg'">
BUT:
Should I use javascript instead?
|
This
is JavaScript. It’s written in the HTML code (i. e. “inline”) but it’s still JS.
Quote:
Originally Posted by bennett
Should I edit some of the javascript in my lightbox files?
|
Yes, since you are invoking the functionality with the lightbox plugin you also need to modify it by modifying the lightbox script. However, the standard lightbox functionality wasn’t actually meant to be used that way. I think it would be better to create something from scratch (or look for a script that was exactly programmed for what you want) rather than trying to modify a pre-made plugin.