jquery Programming Glossary: inlinetarget
Visible inline div disappears after being displayed with fancyBox http://stackoverflow.com/questions/12996124/visible-inline-div-disappears-after-being-displayed-with-fancybox to identify the parent div and return the div back to its parent thanks to JFKDIAZ for this . Note the addition of inlineTarget .show to display the div again so that it does not disappear. The remainder is the standard initialisation for fancyBox... is the standard initialisation for fancyBox. document .ready function .various .fancybox beforeLoad function inlineTarget this.href parentNodename inlineTarget .parent .get 0 .tagName.toLowerCase inlineTarget .parent parentNodename .addClass.. for fancyBox. document .ready function .various .fancybox beforeLoad function inlineTarget this.href parentNodename inlineTarget .parent .get 0 .tagName.toLowerCase inlineTarget .parent parentNodename .addClass returnTo afterClose function inlineTarget..
|