I tried removing the click function , but still i do not see a fancybox.
I have added my jquery and stylesheets like this:
@Html.Script(ScriptRef.JQuery, "top", false)
@Html.Script(ScriptRef.JQueryFancyBox, "top", false)
is this correct??
How should I ensure that the fancybox scripts and style have loaded properly? I do not see any errors in console.
I have been struggling to get a simple fancy box working.. request you to provide some solution soon.
Also, there might be more than one of this widget on a page, so i need to ensure that each time the widget is displaying the images of the library which is input by the user in the designer. That is why in the html of my content block I wrote "class = Slideshow" which is the name of the image library too and I am binding the click function and fancybox to the image library name(which is also the class name) in my View.cshtml to achieve this.
Please let me know how to proceed. Only the alert box functions. I do not see any fancybox.