I have Fancybox 2.0 installed on my site, modified slightlyto look like the Facebook image preview box. I want to have a second \"instance\" of Fancybox, but for it to be positi
yes you can... I did it on my web site..
first fancybox ues..
.fancybox-wrap {
margin: Xpx 0 0 Ypx;
}
to position you box..
to dynamically set the position... you need to do two things... A: add a javascript before document.ready() fuunction B: add a onclick in you hyperlink...
so when somebody click the link ,it will change the css before fancybox appear..
the java script as follow (I get from the web, it is a function to dynamically change CSS value)
function css(selector, property, value) {
for (var i=0; i
the hyper link example:
(this will show you box at up-right corner)