Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Bob
Initial Email Subject: Frames
Support Case Month: August 2012

Throughout the different times he have designed and redesigned our site we have been told many things.  And of course many things have changed through the years. 

One that I am just not sure on is the use of Frames.  I recall being told that it wasn't a good practice to use a frameset but it really does seem like the best route to go.  Let me explain...

Our old site which is www.home2000.com used 3 frames.  Top, left and main.  The topFrame held the upper navigation, logo and search feature so it was always a consistent and did not have to be refreshed.  Then when someone would select one of the links in the upper navigation, it would load a menu in the left frame and content in the mainFrame.  This really worked well for us.

When he decided to redesign our site, we wanted to move away from Java mainly.  We also wanted to rewrite our pages to load faster etc.  We had someone who converted our pages into HTML.  When he did this, he wrote the upper navigation into the page as well. Because of this, when we load a new page, the whole thing reloads because its all part of the same page.  If you look at our old site, and compare it to our new site (www.home2000.com/h2) you will see what I mean.

What is our best way to do this?  I was thinking that if I just use a very basic frame system that holds the logo, navigation and search feature; a lower frame could hold the display pages and that way the upper frame always stays consistent because it wont change anyways...it is exactly the same on each page.  I read a little on iFrames, but I really don't think that is the way to go for this situation.  Please let me know what you think would be the best route and if there are problems with using frames this way.

Thanks in advance for your help!!

Bob

Reply From: Likno Customer Support

Dear Bob,

I believe that there is no need to keep using frames in your site. The top frame is really light and considering that any images are cached and not really reloaded every time, it is probably lighter to have a single page instead of three (even if one never reloads).

Moreover, if you use a single page you will be able to use other menu features, such as the “auto-highlight” which shows the current item highlighted.

If you want to keep the maintenance easy, you could put the “top section” HTML into a separate include file (you need some server-side language for this, such as PHP or ASP), so changing the logo in a single file will update all your pages.

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: , , , , , , , , , , , , , , , , , , ,

 

Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
User
Initial Email Subject: Server-Side Menus API Add-in - database-driven - PHP
Support Case Month: May 2012

Hello,

I try to use Database-driven API on "Espace client" tab.

I would display the same information like "Paper" tab if user not registered.

The display is good but links not works and mouse can't click on it.

Thx a lot to help me to get this working.

Related URL: http://votreassistance.fr/tombola/

Reply From: Likno Customer Support

Hello,

First of all, right after you create the item you also add a submenu to it, which is wrong (as in not required), so you can delete this second line:

submenu code

Regarding the actual problem now, it originates from the fact that this item has not been set as “HTML mode”.

To correct this, please add the following parameter to your menu item:

set menu item as HTML mode

Best 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: User

Hello,

Thx a lot for your answer.

Now it is working.

Is it the same (;htmlMode=1) for full html mode ?

Thx again

Reply From: Likno Customer Support

This is the full html mode (there is no “text only” in the script – only “html” and “full html”).

You need full html if you want the links to work, otherwise the whole item will be clickable, pointing to the item’s URL.

Best 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: , , , , , , , , , , , , ,

 

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


Initial Email From:
Hans
Initial Email Subject: Passing paired variables
Support Case Month: March 2012

Hi, I am using the Web Tabs Builder and I would like to pass variables to the pages I selected via the body page link.

This however doesn't work. The variables get lost underway.

How can I pass variables via my URL to the tab pages?

Thanks for your help 

Reply From: Likno Customer Support

Hello,

I am afraid I will need some more information in order to understand the problem. What kind of variables are you passing, and were?

Is this variable a fixed value that you added into the project?

web tabs settings

Or are you passing different values each time using the JavaScript API?

If you are putting the value in the project, like in the screenshot, note that you can only put a specific value – NOT a variable name to be calculated when you click the tab.

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: Hans

Hello,

I am passing variables from outside the Web Tab to the tab sheets.

Like for instance, the year and month variables I use outside the webtab and I need them in the pages inside the webtabs.

I found a solution in that I use session variables. That works all right.

But I know now that it is impossible to transfer name value pairs from outside the webtab to the pages inside the individual tabs.

Thanks for your rapid answer anyhow.

Best regards,
Hans

Reply From: Likno Customer Support

Dear Hans,

It is not impossible to pass parameters. This is why I asked you how you are trying to do this.

The session variables will of course work fine, as would cookies. However it is possible to pass even normal parameters if this is what you want. The way to do this however is through the use of the API and the DIVs or UL/LI population method. In this case, you define the tabs content within your page, and you can use your server-side code (PHP, ASP etc) to “write” the correct URL for each Tab Body.

If you still want to do it this way and need more help, do let me know.

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: , , , , , , , , , , , , , , ,

 

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


Initial Email From:
Ruurd
Initial Email Subject: Modal Windows iframe
Support Case Month: August 2012

Dear reader,

standard behavior of Modal Windows is to "break out" of the frame, as you call it.

How can I show it in the iFrame and limit it to the frame area only?

I did use relative to “a page element”, but then the close image appears in the center of the browser window (not at the right top corner of the Modal Window).

When I use the same code running local with Apache-PHP or on the domain changes the behavior of the Modal Window: on domain the setting: “appears relative to the browser window” does actually show within the iFrame!!

I understand what you write about iFrames in the help system under FAQ, but there is no actual difference I am aware of between the domain and local environment..

What to do?

Thank you for your help in advance.

Kind regards,
RuuRd

Related URL: http://ruurd.eu

Reply From: Likno Customer Support

Dear Ruurd,

Actually, there is a big difference as far as browser security is concerned…

The “break out of frames” feature is always trying to run, but there are cases where this is not possible due to browser security restrictions. These depend on whether you are viewing local files or not, if all your frames come from the exact same domain and even on the browser you are using.

So you may see a Modal breaking out of frames online but not locally, or you may see it work in Firefox but not Opera (which is more strict).

Right now, the modal will always try to break out of frames. The easiest way to stop it, is probably to make your iframe come from a different domain. Note here, that “likno.com” and “www.likno.com” are considered different domains, so it may be as simple  as adding “www” in your iframe src.

If this does not work in your case, then please send me the URL to see what you’ve done. At the end, we may need to add an extra checkbox in the application so that you decide whether the feature should run or not, but since you are the first to ever ask for this we’d rather avoid it for now.

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: Ruurd

Thank you for your quick reply Kostas,

For now I changed my PHP script to solve my issue with a relative URL:

{SCRIPT CODE REMOVED}

$url is used to prepare hyperlinks that create a iframe popups.

I think this is nasty and I would prefer  to escape the “break out of frames” feature in another way.

Would it be possible to toggle the feature with a parameter in the Javascript command that creates the Modal Window, like: Modal_Window_2(frames:{ relativeToFrame: true});

Thank you for your help in advance.

Kind regards,
RuuRd

Reply From: Likno Customer Support

Dear Ruurd,

I am afraid that this is not currently available. Nonetheless, we are about to release a new Modal version, so I will try to squeeze in this feature too.

I’ll let you know later today.

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: Ruurd

Thank you Kostas,

Hope you will make it to implement this “browser escape feature”  in some kind of way.

Take care.

Kind regards,
RuuRd

Reply From: Likno Customer Support

Dear RuuRd,

Please download the latest Modal Windows here:

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

Then, when calling the modal, pass the “dontBreakOutOfFrames: true” parameter. For example:

Modal_Window_2({dontBreakOutOfFrames: true});

Let me know if this works as expected.

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: Ruurd

Maybe you need:

http://ruurd.eu/mediaecology/test/test_modal_project_a.php?stage=#

to avoid redirection

RuuRd

Reply From: Likno Customer Support

It is online. Please download again and let me know.

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: Ruurd

Sorry, Kostas, looks alright now!

Must have been something in the cache …

Running local with param:

modal window

Thanks very much for your quick fix and help!!

RuuRd

 

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

 

Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Theologos
Initial Email Subject: Likno Mega Menu
Support Case Month: March 2012

Hello,

When using your software and Full HTML mode for creating e.g. a Mega Menu, can you enter apart html, php code to dynamically create the html content?

And if yes, does it need full code with connection strings etc. or does it get that from within the page that it is inserted into?

I want to create a big Mega Menu, but the content to be dynamically created.

Thank you in advance,
Theologos

Reply From: Likno Customer Support

Hello,

I am afraid that this only supports HTML, so it is not possible to use PHP. If you want to create dynamic menus there are two ways to do this:

1) Using the Server-side menu API to manually build your menu

2) Using a UL/LI structure to generate the menu structure

The first will allow you to do whatever you want, without restraints, but it requires custom coding in JavaScript (you will have to “write” the JavaScript commands into the page using your PHP code).

The second is very easy to use – just use PHP to “write” a UL/LI list in the page that resembles the menu structure and add (or not) the “protected” menu items as you want. This however forbids the use of custom items, which means that your menu will only use the six main styles (three for group, three for item) defined in the Style Editor.

If you do not use custom items anyway, then I highly recommend going with the UL/LI structure. If on the other hand you do need customizations and are comfortable with JavaScript coding then you can go with the first solution.

Best 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: Theologos

Hello,

What I want to do is populate that html full field of likno, with html generated via php in order to create on the fly a Mega Menu where the html content is dynamically produced.

Example: Within the opened Mega Menu, I want links to be shown that are generated by a database.

Is there a way that this can be done via custom development and how much will this cost?

Theologos

Reply From: Likno Customer Support

Hello again,

Are you suggesting that we do this in your site for you? I guess this is also an option (I can ask for a quote), but if you are comfortable with PHP it should be really easy for you to do the same thing.

Assuming that you do not need any style customizations and hence you can use the UL/LI structure, here are the steps you need to take:

1) Create an include file that will have the AllWebMenus code. You could omit this step and put the code in every single page, but it will probably be much easier to maintain the menu if you have everything in a single file. Make sure this file is included in your pages.

2) The include file should have the Linking Code, and it should also have a UL/LI structure. Here is an example of the Linking Code and UL/LI structure that would generate a mega-menu:

For more details and example of UL/LI code, for the menu you have already created in AllWebMenus, check here:

populate menu inside the page

Note however that you will have to mass-replace all the “&lt;” to “<”, all the “&gt;” to “>” and all the “&amp;” to “&” (with this order) in order for this to work as expected.

Also if you click on the question mark right next to the UL/LI radio, you will find detailed information on how the UL/LI feature works.

Best 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: , , , , , , , , , , , , , ,

 


© 2009-2013 Likno Blog – Drop-Down Menus, Javascript Menus, CSS Menus, jQuery Scrollers/Sliders, Modal Windows