Here's Bobby Hartsfield's fix. Works like a champ! Thanks Bobby! You da man!! 

Go straight into the lightbox.js file. 

Line 209/210 should look like this:

document.addtocartform.optionID.style.display='none';
objCaption.style.display = 'block';

addtocartform is obviously your form name while optionID is your select menu 
name. 

When the image viewer pops up, the select goes to la la land. 

Then line 251 is the hidelightbox function. 

function hideLightbox()
{
        // get objects
        objOverlay = document.getElementById('overlay');
        objLightbox = document.getElementById('lightbox');

        // hide lightbox and overlay
        objOverlay.style.display = 'none';
        objLightbox.style.display = 'none';
        document.addtocartform.optionID.style.display='block';
        
        // disable keypress listener
        document.onkeypress = '';
}

Look where we told it to bring back the select from la la land when the viewer 
goes away. Works great in FF and IE (did I mention I hate IE?)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251331
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to