I just build a very simple drupal site wher eI use lightbox2/menu attributes. I'm very happy that I got it to work I managed to theme it they way I wanted. It is working fine in FF and Chrome but in Opera something may be wrong.. Could you have a look please:
Every link opens a lightbox, but in Opera it does nothing - in fact it opens the node where both the background and the font color is white - as the background of the lightbox is defined in the lighbox.js
Technically I made the following:
1) installed lightbox2 and Menu attributes
2) I assigned attribute=lightframe to every menu item
3) I created a few templates:
page--front.tpl.php
page--user.tpl.php
page.tpl.php
Where page--front.tpl.php contains the original unmodfied code.
and page.tpl.php contains the following:
print render($title_prefix); if ($title):
print $title;
endif;
print render($title_suffix);
print $messages;
print render($tabs);
print render($page['help']);
if ($action_links):
print render($action_links); endif;
print render($page['content']);
4) I edited the lightbox.js slightly, because I needed the framebox to be transparent, so I changed the line in lightbox.js 409 to:
$('#outerImageContainer').css({'width': '250px', 'height': '250px', 'background-color': 'rgba(0, 0, 0, 0.8)'});
Which gave me the result I wanted.
5) Cheered, until I opened Opera.. now I'm clueless, it should work with Opera as well..
Any idea?