Example
Making several instances of an existing popup in the
same project, each with different content and position
(Uses the Multiple Sequential Instances Feature)
This project shows how you can make multiple instances of one popup, showing different content in popups of different sizes and positions on the same page. ADP Ultimate allows you to make all these popup instances directly in its interface and generates all the API code to make the sample links. Further, you can customize each new popup instance to show a different content and set up the size and position of it directly in the interface.
We have an Addon proudct for Advanced DTHML Popup called "Footer Ads Plugin." This adds a number of nice looking footer templates to Adanced DHTML Popup software. Here, I'm showing four such footer styles in popups that appear in difference positions. I'm using the feature "Multiple Simultaneous Instances" to show different content in different places. In this example, I did not require to change the size of the other popups but I could do that too if my requirements were different.
See some footer template styles available with Footer Ads Plugin by clicking on the following links. When you click on a link, a popup appears that shows a sample footer style image from another section of this web site. Internally, each link shows the same popup but at a different position with a different image. The idea is to give an impression of multiple popups appearing in a sequence. That is why this feature is called Multiple Sequential Instances.
Footer template "style-2 black" in the folder footers-form-logo:
Click here to see this footer style.
Footer template "style-4 blue" in the folder footers-form-logo:
Click here to see this footer style.
Footer template "style-2 purple" in the folder footers-form-logo:
Click here to see this footer style.
Footer template "style-1 blue" in the folder footers-form-nologo:
Click here to see this footer style.
How this example was made: First, I created an ADP Ultimate project to show the first popup above.
Then I clicked on the "Multiple Sequential Instances" button to add the other 3 popup instances to the same project. For each of the other popups, I directly changed the position and the image being shown in the content. After compilation, I got the complete API code for the links to show these popups that I could use in this examples page.
How ADP Ultimate helped in this project? if I had used ADP Pro, I could only create the multiple contents showing different images directly with it. All other work would be manual. For example, I would need to remember the numeric ids of various contents. Then to show those contents in the same popup at different positions, I would need to manually code all the API calls for making the links. It was certainly possible but required considerable manual work and extensive knowledge of the ADP API calls.
In ADP Ultimate, by using the "Multiple Sequential Instances" feature, adding instances of the first popup was easy. I did all of the above customization for each additional popup instance directly in the software and it generated all the code for the links, ready to use in the links for this example.
|