PDA

View Full Version : Ajax edit & Lightbox


Raphaelx
08-24-2007, 01:08 PM
Hey, i added Lightbox (http://www.huddletogether.com/projects/lightbox2/) to open images that are in miniature added to someones post.
this works perfectly BUT ajax post edit doesn't work anymore :)

when you click edit the textarea loads and you can make changes to your post,
when you click save the post is saved but not reloaded so the textarea remains..

for lightbox these four files are required:

<script type="text/javascript" src="/js/prototype.js"></script>
<script type="text/javascript" src="/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/js/lightbox.js"></script>
<link rel="stylesheet" href="/css/lightbox.css" type="text/css" media="screen" />

maybe lightbox and vbulletin use same variables or so..!?

if someone is interested i can post this mod after fixing this bug :D