Hello,

We have released a new version of Likno Web Modal Windows Builder: Build #242

Check out What's New:

- Improved the image preloading.

- Minor fixes in the examples (improved identation in multi-row fields etc).

- Improved behavior in "Open on Page Load" & "Close automatically after" properties.

- Fixed an issue in copy-pasting the Style values where the z-index value was not copied over.

 

You can download the latest version at:

http://www.likno.com/jquery-modal-windows/download.php

 

Tags: , , , , , , , ,

 

Hello,

We have released a new version of Likno Web Modal Windows Builder: Build #238

Check out What's New:

- Added the ability to open a modal window on Mouse Out of Page, i.e. when the user drags the mouse outside the page from its top side (does not apply to the three other sides). This happens only once while the page remains open, unless the page is refreshed.

Modal Window Opens on Mouse Out

- Improved the support for rounded corners in browsers that do not properly support it (Opera, Chrome, Safari).

- Fixed a specific case where the code "parent.likno_modal_window.close()" did not work.

 

You can download the latest version at:

http://www.likno.com/jquery-modal-windows/download.php

 

Tags: , , , , , , ,

 

 

This Manual is the Help File of the “Likno Web Modal Windows Builder” application (which is included in the application), published here as a PDF document.

Click to download/read the Likno Web Modal Windows Builder Manual (PDF).

 

Tags: ,

 

Hello,

We have released new versions of Likno Web Modal Windows Builder: Builds #230 up to #236.

Check out What's New:

- Added support for opening specific sheets (with "Sheet Names") of multi-sheet modal windows when using the "Opens on Page Load" functionality, either through a "variable in page" or a specific "URL anchor". Read more about this technique

Moidal Window Opens on Page Load

- Added support for custom "Modal Window Z-index" per window.

- When multiple modal windows are open concurrently, the z-index of each new window is increased so that it always appears on top of the others.

- Minor interface fixes for proper highlighting of properties.

- Interface enhancements on the "Modal Window Shadow" property (remembers unused values, etc.).

- Added new property: Modal Window Rounded Corners. In browsers that properly support CSS3, the corners of the modal window can be rounded (supported in IE9+, Opera 10.50+, Firefox 3.5+, Safari/Webkit 522+, Chrome and others). You can adjust the roundness of each corner all together or even separately!

Modal Window Rounded Corners

Modal Window Rounded Corners
- Added new property: Modal Window Shadow. Available in browsers that properly support CSS3 (IE9+, Opera 10.50+, Firefox 3.5+, Safari/Webkit 522+, Chrome and others). See first image above.

- Improved the “close” behavior in IE6 and iPhone/iPad.

- Improved the interface speed.

- Fixed an issue with properly saving the custom “After Close” javascript code (if enabled).

- Fixed an issue with the “ESC” key that did not work in some cases.

- Fixed the issue with the background scroll blocking which was omitted in the last releases.

- Fixed a case where setting a custom "glide" effect did not work.

- Fixed an issue with a javascript error when the compile name contained slashes.

- The core library uses the new jQuery v1.6.2 library.

- Added keyboard navigation for multi-sheet windows (slideshows). The visitor can now use the arrow keys to navigate through sheets (slides) and the "P" key to "play/pause" the modal slideshow.

keyboard navigation slideshow

- New jQuery loading method: If a jQuery instance already runs on your page (because you load it independently from Likno) then the Likno library does not load its own jQuery instance but uses the existing one.

- Added more name checks to avoid jQuery conflicts.

- Fixed a case where the loading of modal windows from different folders could make their images to not appear.

- Fixed a problem with external URLs.

- While the modal is open the scrolling of the page in the background is now blocked.

- Fixed a case where passing the starting page as a parameter (through the API) was not working.

- Fixed a case where the modal did not properly break out of frames in Opera.

- Fixed a conflict with MooTools where modals in IE9 always appeared full-screen.

 

You can download the latest version at:

http://www.likno.com/jquery-modal-windows/download.php

 

Tags: , , , , , , ,

 

September 7th, 2011LWMW: Opens on Page Load

Feature available since Build #236, September 7, 2011

This topic elaborates further on the "Opens on Page Load (method 5)" feature of Likno Web Modal Windows Builder .

A modal window can open automatically when the page appears, with any of the following methods:

 

Method 5.1  (interface)

 

Specify this feature inside the project (through the interface)

Just check this option:

 

 clip0015

 

Note: Only one modal window can open automatically on page load (so do not use this option for multiple windows on the same page). 

 

Method 5.2  (variable)

 

Use a javascript variable in the page that contains the modal window

In the HTML code of your page add the following code:

 

    <script>var modalwindowname_open=1;</script>

 

OR

 

    <script>var modalwindowname_open="SheetName";</script>

 

where:

modalwindowname is the name of your modal window here:

 

 clip0025

 

 

For example, the proper code for showing the 2nd modal window of the above project is:

 

<script>var Modal_Window_2_open=1;</script>

 

(the value "1" specifies the window's sheet if more than one exists, see below)

 

 

Notes on "Method 5.2" (variable in page):

 

 

- if the modal window is a "multi-sheet" one, you can use a different value (other than "1") in the variable to specify a different sheet to appear (other than the 1st one) when the modal window opens.

 

You may also use a "sheet name" instead of a number (sheet order), if you expect that the sheet order may change in the future (by adding new sheets between the existing ones, etc.).

 

How?

 

Remember that a "multi-sheet" window is defined by consecutive DIVs.

 

You can add an attribute called lwmwSheetName to the particular sheet (DIV) that you want to be displayed when the modal window opens and then use its value in the variable.

 

For example, for the following "multi-sheet" window that contains 4 sheets...


<div>

    <p>This is the content of the sheet for the product "iPhone"</p>

</div>

 

<div lwmwSheetName="product_iPad">

    <p>This is the content of the sheet for the product "iPad"</p>

</div>

 

<div>

    <p>This is the content of the sheet for the product "iMac"</p>

</div>

 

<div lwmwSheetName="product_Mac_mini">

    <p>This is the content of the sheet for the product "Mac mini"</p>

</div>

 

...you may open the modal window "on Page Load' with the "iPad" sheet displayed, by using ANY of the 2 following HTML code in the page:

 

<script>var modalwindowname_open=2;</script>

 

OR

 

<script>var modalwindowname_open="product_iPad";</script>

 

As you realize, the 2nd implementation will still work if you later decide to change the order of the "iPad" sheet from 2nd to 1st, but requires some additional code when initially setting up the sheet's "DIV".

 

On the other hand, the 1st implementation is simpler as no additional code is required anywhere, but it is only safe as long as you are sure that the order of the sheets will remain unchanged in the future.

 

 

- if multiple projects use the same modal window name (in the same page), add the compiled project name in front of the variable to distinguish the window:

 

<script>var my_first_project_Modal_Window_1_open=1;</script>

 

Important! If you use dashes ('-') in your compiled project name, you need to make them underscores ('_'). For example, if your project name is likno-modal-project.js, the variable should be as follows:


<script>var likno_modal_project_Modal_Window_1_open=1;</script>

 

 

 

 

Method 5.3  (anchor in URL)

 

Use a special anchor in the URL that opens the page

Open the page that contains the modal window using a special "anchor" on its URL:

 

        http://www.mysite.com/mypage.html#modalwindowname_1

 

OR

 

http://www.mysite.com/mypage.html#modalwindowname_SheetName

 

 

For example, this is a proper URL if the name of the modal window is "Modal_Window_2":

 

        http://www.mysite.com/mypage.html#Modal_Window_2_1

 

 

 

Notes on "Method 5.3" (anchor in URL):

 

 

- this method works only when the page is opened by a link from another page, not from the same page (because most browsers do not refresh the page when the link is from the same page).

 

 

- if the modal window is a "multi-sheet" one, you can use a different number at the end (other than "1") to specify a different sheet to appear (other than the 1st one) when the modal window opens.

 

You may also use a "sheet name" instead of a number (sheet order), if you expect that the sheet order may change in the future (by adding new sheets between the existing ones, etc.).

 

How?

 

Remember that a "multi-sheet" window is defined by consecutive DIVs. You may optionally add an attribute, called lwmwSheetName, to the particular sheet (DIV) that you want to be displayed when the modal window opens and then use its value in the URL.

 

For example, for this "multi-sheet" window that contains 4 sheets...


<div>

    <p>This is the content of the sheet for the product "iPhone"</p>

</div>

 

<div lwmwSheetName="product_iPad">

    <p>This is the content of the sheet for the product "iPad"</p>

</div>

 

<div>

    <p>This is the content of the sheet for the product "iMac"</p>

</div>

 

<div lwmwSheetName="product_Mac_mini">

    <p>This is the content of the sheet for the product "Mac mini"</p>

</div>

 

...you may open the modal window "on Page Load' with the "iPad" sheet displayed, by using ANY of the 2 following URLs:

 

http://www.mysite.com/mypage.html#modalwindowname_2

 

      OR

 

http://www.mysite.com/mypage.html#modalwindowname_product_iPad

 

As you realize, the 2nd URL will still work if you later decide to change the order of the "iPad" sheet from 2nd to 1st, but requires some additional code when initially setting up the sheet's "DIV".

 

On the other hand, the 1st URL is simpler as no additional code is required anywhere, but it is only safe as long as you are sure that the order of the sheets will remain unchanged in the future.

 

 

- if multiple projects use the same modal window name (in the same page), add the compiled project name in front of the modal window name to distinguish the window:

 

http://www.mysite.com/mypage.html#my_first_project_Modal_Window_1_1

 

Important! If you use dashes ('-') in your compiled project name, you need to make them underscores ('_'). For example, if your project name is likno-modal-project.js, the variable should be as follows:

 

http://www.mysite.com/mypage.html#likno_modal_project_Modal_Window_1_1

 

 

- you can also add multiple anchors in the same URL to specify initial parameters for other Likno controls that exist in the same page, such as tabs, accordions, etc.!

 

Example: http://www.mysite.com/mypage.html#my_modal_window_1#my_tab_control_3#my_accordion_control_2


(for more info on their usage read the respective Help section of Likno Web Tabs Builder, Likno Web Accordion Builder, etc.)

 

Tags: ,

 


© 2009-2012 Likno Blog – Drop-Down Menus, Javascript Menus, CSS Menus