Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.


Initial Email From:
Rudolf 
Initial Email Subject: Web Windows Modal Builder 
Support Case Month: January 2014

Hello support,

I need your help: I would like in one page different elements a link to different linkno web modal

Here example:

<!-- ******** BEGIN LIKNO WEB MODAL WINDOWS CODE FOR otto ******** -->

<script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="otto",lwmwBN="246";</script><script charset="UTF-8" src="likno-scripts/otto.js" type="text/javascript"></script>

<!-- ******** END LIKNO WEB MODAL WINDOWS CODE FOR otto ******** -->

<!-- ******** BEGIN LIKNO WEB MODAL WINDOWS CODE FOR luithlen ******** -->

<script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="luithlen",lwmwBN="246";</script><script charset="UTF-8" src="likno-scripts/luithlen.js" type="text/javascript"></script>

<!-- ******** END LIKNO WEB MODAL WINDOWS CODE FOR luithlen ******** -->

And here the link in the same page:

                   <area alt="" coords="321, 142, 329, 137, 336, 134, 331, 120, 320, 111, 317, 96, 319, 74, 295, 67, 285, 79, 284, 96, 305, 104, 314, 120, 321, 136" id="otto" href="javascript:void(0);" shape="poly" title="Frank Otto&#10;mehr info...">

                                                                  <area alt="" coords="333, 161, 343, 134, 352, 123, 367, 118, 376, 106, 369, 89, 350, 84, 336, 90, 332, 97, 331, 110, 335, 122, 335, 128, 323, 137, 330, 147" id="luithlen" href="javascript:void(0);" shape="poly" title="Thomas Luithlen&#10;mehr info...">

The Link to ID=”otto” doesn’t worked – always is called ID=”luithlen”

modal window compiled javascript files

Can you help or is my wishes impossible?

Thank you for your help.

Kind Regards,
Rudolf

Reply From: Likno Customer Support

Hello Rudolf,

This happens because both modal window project have the name of Modal_Window_1, thus it gets confused.

One solution is to rename for example the otto modal window project.
Open the otto.wmw in Likno Web Modal Windows Builder.
Select Modal_Window_1 and click Rename.

Give it a name, for example Modal_Window_otto and click ok.

Re-compile your project and re-upload the produced files to your server.

modal window name

Another solution, which is much cleaner is to have only one modal window project and you can have both modals inside that project. This means that you are required and load only one JavaScript file instead of 2.

You can click on Add as shown below and then add you modal window for luithlen. You then can have the same settings as you had in the single file.

new modal window

You can set the ID as you had set in each separate file, so the the Modal_window_otto you can have the ID "otto" and for the Modal_Window_luithlen you can have the ID "luithlen".

Then you can compile that project and link it to your page.

Let me know if you need further assistance.

Thank you!

Kind Regards,  

Aggelos Tsakonas
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!

Reply From: Rudolf

Hello Aggelos,

Thank you very much.

Your support is high class, you get five stars.

It  worked perfectly,

I have chosen the second solution.

Best regards from Bavaria.

Kind Regards,
Rudolf

 

Tags: , , ,