Questions tagged [multi-level]

529 questions
0
votes
1 answer

Multi-level class inheritance with inconsistent constructors

I have 3 classes that derive from one another - GameScreen is the base class to which MenuScreen is derived from. I then have a third class 'TitleScreen' which derives from 'MenuScreen'. The flow is basically from the base class: 'GameScreen' ->…
Shane Smith
  • 117
  • 4
  • 11
0
votes
1 answer

ASP.Net / MySQL Multi-level menu

I'm trying to generate a menu web control by retrieving data from a MySQL table. I've stored all data in a DataTable but so far I'm able to do one level. I'm sure there must be a recursive function somewhere here but I don't know how to add to…
user2560652
0
votes
2 answers

multi-level menu in smarty

I have an associative array in PHP. Here is the code: $result = mysql_query("SELECT * FROM `tb_menu` ORDER BY id ASC"); $menu = array(); $menu_index = array(); while($row = mysql_fetch_assoc($result)){ if($row['par'] == 0) { $menu[] =…
0
votes
1 answer

How to handle multilevel includes in C?

I have second level include that is giving me grief: Undefined first referenced symbol in file function2 /var/tmp//ccAPaWbT.o ld: fatal: symbol referencing errors. No output…
PovilasID
  • 883
  • 10
  • 34
0
votes
1 answer

JQuery XML Parsing Multi-Level Of Same Element

this is my first question here and I am quite new to web development world. I have a simple question so I don't want to annoy you with all my code, I'll make you a simpler example: I have an XML that looks like this, lets call it "example.xml":
0
votes
0 answers

Getting Blank Option Value When Calling Recursive Function in N Level Of Category

I am Creating Select Box with n Level Of Category But I am Getting Blank record I didnt find error What is the Problem. $value = 'upload_files/'; echo $manage_folder->getFolderOptionListByParentId(0,$value); function…
Munir Vora
  • 51
  • 11
0
votes
1 answer

Parse multi-level xml to .plist Object-c

can you help me parse multi-level xml to .plist, xml file: 783026 45 <![CDATA[Российские реалии)]]>
IlyaKharlamov
  • 479
  • 1
  • 4
  • 10
0
votes
1 answer

Code help, Unlimited php menu

Just got this code working for 2 levels of my menu. But I want it to work with unlimited levels. Do any of you guys have an idea where to start? Right now if I type in more levels in the database it says "Undefined index Linnk & Label Line 29", and…
simon
  • 2,235
  • 6
  • 33
  • 53
0
votes
1 answer

How can I use lua to create levels and maps in cocos2d

I have this idea, where I want to use lua to create my levels, and the maps inside those levels. I want to simply and explicitly be able to manipulate data and add new levels as buy ins in the app store. How can I use lua to create maps and levels…
chrs
  • 5,906
  • 10
  • 43
  • 74
0
votes
2 answers

adding class active & removing default to the menu selected

I have created web application where I want to highlight the menu selected. Below is what I have
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
0
votes
1 answer

Multi level header structure WPF

I need to make a header structure preview in WPF. I have looked into using StackPanels and DockPanels and can't seem to grasp exactly what is need. I also need a programmatic way of creating the header structure as it is created based on information…
0
votes
2 answers

structures for multilevel feedback queue initialization

Helllo, I am trying to build a multilevel feedback queue and im having an issue with accessing the data structures. struct str1 { ` int time; int Id; int Size; struct str1 *next; }; struct mlfq { int quantum; int…
-1
votes
1 answer

type casting not working on inherited class

I have the following classes: Shape Rectangle Square Shape is the parent class , Rectangle extends Shape and Square extends Rectangle. I use StringBuilder and the following code: for (int i = 0; i < 2; i++){ x = Math.random() * 100; y =…
DCR
  • 14,737
  • 12
  • 52
  • 115
-1
votes
1 answer

transform multiindex column dataframe to long table

I have the below Excel table that I would like to transform into something that is easier to analyze. I struggle how to use python to transform this into the desired format. Original Excel table The desired format is as below: Target format I use…
Armin
  • 1
-1
votes
1 answer

Get current slug RouteName in Laravel

I want to change side bar menu to make it open and active when it requested. Here is my code: