![]() ![]() Define a JavaScript function initSlider in your webpage, and copy the code block jQuery("#amazingslider-1").amazingslider from initslider-1.js to this function. ![]() It's because the slider is initialised in the JavaScript file initslider-1.js.Ģ. ![]() ![]() In the head section code, remove the reference to initslider-1.js. To dynamically initialise the slider after the page is loaded and in a button click, you can take the following steps:ġ. To check the code, in Google Chrome, you can click menu View -> Developer -> View Source, and view the source code. In this case the content of a div are loaded as below on the button click and we want to initialize the slider after that. We are trying to initialize the slider dynamically on a button click. We have purchased the enterprise version today. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |