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