Thanks for the quick reply! So if I make a small article space and place the buttons in an article, it'll work?
EDIT: Tested it and now I have a different problem. When I click "cardбpio", the lighbox opens and just loads and loads and never shows the image. I have to close the lighbox and click "cardбpio" again, and then it opens immediately with the image. I already tried pre-loading the image on the article html, but no luck.
The lightbox for the "como chegar" button was also breaking the site. Clicking it would open a lightbox of 0px, with all the corner and loading graphics on top of eachother. Then if I closed it and clicked "cardapio" (which was supposed to show an image), it showed the "como chegar" page!
The article quite simply contains:
Code: |
<img style="display: none;" src="images/cardapios/cardapio_votu.jpg" height="1" width="1" />
<p style="text-align: center;"><a href="images/cardapios/cardapio_votu.jpg" rel="sexylightbox"><img src="images/btcardapio.jpg" /></a><img src="images/btspacer.jpg" /><a href="mapavotu" rel="sexylightbox"><img src="images/btmapa.jpg" /></a><img width="25" src="images/btspacer.jpg" /></p>​
|
(That first line is my attempt at preloading the image. The errors remain with or without it)
I have removed the lightbox calls from the site to avoid messing with current users, but the client still expects me to get it working asap.
EDIT 2: I have activated the calls again at a hidden page. You can see and test at
www.mixpotato.com.br/votuporangateste/
Click "Cardбpio". It was supposed to show an image, but it just loads and loads.
Now close it. Click "Cardбpio" again. Image immediately shows.
Now click "Como chegar". It was supposed to show a page within the site.
It shows the image from before, with broken alignments.
Now close it. Click "Cardбpio" again.
Now it doesn't show the image, but shows the page the other button was supposed to! With broken alignments and no background image, to top it off.
Really, really weird behavior. I would really appreciate any further help.