JQuery Event Handeler Placement In Razor Not Firing
I have included a JQuery event handler for a the colorbox plugin to resize the colorbox to allow for a larger title area when my Razor pulls the images into the colorbox (lightbox), but the event never fires, and I've tried placing the code in the actual Razor and in the template for the page that will have the macro on it, but it never triggers the event. Here is my code and the page ( https://edit-wwwprep.rose-hulman.edu/admissions-financial-aid/early-planning/operation-catapult.aspx) on which it is active (click the first image on the content area to start the lightbox, that should be re-sizing with the following code.
I put in an extra line that should be changing the color of the slide titles to a red color, but as you can see, it never fires. Please let me know if you see an error. I added the 'test' to the concatenated results, so I could see if it is working, but no, it's not) Thanks!
Is there some place that I have to put this to work correctly? I'ts like it doesn't ever register the "onComplete" handler. Any suggestions would be helpful.
JQuery Event Handeler Placement In Razor Not Firing
I have included a JQuery event handler for a the colorbox plugin to resize the colorbox to allow for a larger title area when my Razor pulls the images into the colorbox (lightbox), but the event never fires, and I've tried placing the code in the actual Razor and in the template for the page that will have the macro on it, but it never triggers the event. Here is my code and the page ( https://edit-wwwprep.rose-hulman.edu/admissions-financial-aid/early-planning/operation-catapult.aspx) on which it is active (click the first image on the content area to start the lightbox, that should be re-sizing with the following code.
Hmm the link is broken... care to setup a jsfiddle or something with the generated code?
I believe I fixed the link.
Still not available :(
Okay, I put the code on the live site instead of the dev, so it should be visible on this page here:
http://www.rose-hulman.edu/admissions-financial-aid/early-planning/operation-catapult.aspx
I put in an extra line that should be changing the color of the slide titles to a red color, but as you can see, it never fires. Please let me know if you see an error. I added the 'test' to the concatenated results, so I could see if it is working, but no, it's not) Thanks!
Is there some place that I have to put this to work correctly? I'ts like it doesn't ever register the "onComplete" handler. Any suggestions would be helpful.
is working on a reply...