Timeline for Dynamic Content In Fancybox Not Working
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Dec 5, 2014 at 9:49 | comment | added | Peter Lewis | Hi Steve, it works fine when you manually paste the code into the console (modifying the FancyBox trigger to $.fancybox.open({... and content: $(".staffLink").parent().sib...), so my guess is that you have Jquery loading after the above code and therefore it's not firing correct. The docs state load Jquery then add your fancybox code. Try moving the Fancybox JS library inclusion from your head to after JQuery library loading in the footer. | |
Dec 4, 2014 at 22:04 | comment | added | Steve Eller | I finally got around to trying this but it still didn't fix it. I am still getting the same result. | |
Nov 27, 2014 at 14:57 | comment | added | Steve Eller | Yeah, I knew about that other error. Haven't fixed it yet. Let me try your fix. Thanks! | |
Nov 27, 2014 at 10:08 | comment | added | Peter Lewis | Sorry missed .parent() from the content target - have amended answer - try that. You've also got a JS error referencing a missing function: multilevelpushmenu, although that's not effecting the problem. | |
Nov 27, 2014 at 10:05 | history | edited | Peter Lewis | CC BY-SA 3.0 |
Corrected JQuery path to content
|
Nov 26, 2014 at 21:17 | comment | added | Steve Eller | I tried your solution, but unfortunately I am getting the same result. | |
Nov 26, 2014 at 19:43 | history | answered | Peter Lewis | CC BY-SA 3.0 |