Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Strange Behaviour of scripted menu

I recently developed a page with a menu that is scripted to turn two stacked squares OFF and ON. The menu has ten items. There is a gray square for each item representing the OFF state. There is also a colored square stacked on the gray square for each menu item. When a gray square is clicked, an action script calls certain data to appear on a chart, and a Conditional script tells the gray square to toggle OFF. The colored square is scripted to toggle also, so it turns ON.

This menu worked beautifully and then suddenly (on my local machine) the squares stopped toggling. I have not been able to figure out why. We have a page out on a network with this menu that still works as it should, but a duplicate page on my local drive is not toggling. Is there something obvious that I'm missing?

Thanks for your help,

Russell

2 Replies
datanibbler
Champion
Champion


Hi Russell,

well, if you are sure that there is no difference between the working and the non_working version of the app other than the one is on the network and the other is on your local machine, then it might be that you have something path-sensitive in your code?

Otherwise, something is not working with your variables (I guess, for that is the most common reason).

Have you checked all that?

If you have variables to toggle those squares on and off, they should be binary (1 and -1), that is the easiest way that you can easily toggle them just by multiplying with -1.

It's hard to analyze your app with nothing to go but a screenshot.

Can you post your code?`

Best regards,

DataNibbler

petter
Partner - Champion III
Partner - Champion III

By stacked - do you mean layered in two different layers? From experience layers seem to work a bit odd at times in QlikView - could it have anything to do with that?

It is really hard to just guess - don't you have a QVW you could share?