adradeveloper
Posts: 1
Joined: Wed Nov 07, 2007 2:07 pm

mutiple function doesn't work in javascript

Hi,
I have succesfully created a gallery with a image than can expand and highlighting it with a shadow background drop by modifiying the highslide.js based on below thread.

http://vikjavev.no/highslide/forum/view ... 02&start=0

However i am trying to create a mutiple image (a sequence picture of an item) by using the example-html code (html content). However it seem not to be working anymore after i edit the highslide.js to add the drop shadow function.

I have tried to find out which part of code (by commenting out) that might stop this process.

// this function puts the dark screen over the entire page
function DarkenPage()
{
var page_screen = document.getElementById('page_screen');
page_screen.style.height = document.body.parentNode.scrollHeight + 'px';
page_screen.style.display = 'block';

}

// this function removes the dark screen and the page is light again
function LightenPage()
{
var page_screen = document.getElementById('page_screen');
page_screen.style.display = 'none';
}

what sort of changes do i have to do in jscript to make sure all the code works? or is there any other approch?

Return to “Highslide JS Usage”