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


Initial Email From:
Stanley
Initial Email Subject: Help for Likno Web Modal Windows Builder
Support Case Month: March 2012

Dear Support,

May I know is there any way to put % for width and height? (the reason why I like to switch from lytebox to model window is because of % for width and height in lytebox has compatibility issue with IE)

Regards,

Stanley 

Reply From: Likno Customer Support

Yes, on the link values, use something like this:

<a href="havascript:void(0);" onclick="openModal('/CardScan_feature.html','50%','40%');">Click Here</a>

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Stanley

Dear Support,

1) I've tried that but did not work (passing width and height in %)

2) How to pass the title to each modal window? (it has the same title for each modal)

Regards,

Stanley

Reply From: Likno Customer Support

I just tried it in your online page, and the size worked fine…

If you want to also change the title, then you need to add this too in the function..

The link should be:

openModal('CardScan_feature.html','80%','40%','the title');

and the function:

function openModal(url, w, h, t) {

        cardScan({bodySource:"<div externalUrl='"+url+"'>",containerCss:{width:w, height:h},header:{text:t}});

}

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , , , , , , ,