mardi 1 août 2017

Building tree-like structure

I want to display tree-like structure on the page. It can be quite big and include ~10k items. User is supposed to scroll this page and interact with items. Also, items can be added, removed or modified with javascript.

I see two ways to do this: 1) build real tree structure, which means multi-level nesting in HTML; 2) build linear structure and emulate tree form using indents for every item.

So, my question is which of this methods are better in terms of performance, I mean layout rendering. Is the first way is worse because of bigger DOM depth?




Wordpress Drop down menu

I have a question that how to make a drop down dynamic menu in wordpress. I want a feature that i should post a download link with title in my database and it should be added in one page in that drop down menu.

Feel free to suggest any theme or script if my idea already exists.

Thanks!




How to get specific data from a website and show it in my app?

Maybe similar question was already asked but I couldn't find answer that would work for me. I want to get from website (http://ift.tt/29JM2Lt) only this informations (in red square) : date, time and name of clubs. I looked that there is a way to get informations with json parsing but I don't know how would that work here. Im new to this and don't even know what to search for, I don't need written code just help on how to do that. enter image description here




How to control the number of values in x axis

I'm using real time amchart to display some information, I get the data for both y axis and x axis from the database, the x axis is real time and it's updated every second, but I can't control the number of values that are shown in x axis!

I've tried min, max and gridcount but nothing seems to work! Any suggestions?

Thank you.




python SimpleHttpServer doesn't show my language(Farsi) correctly for web pages

So I have this page that is displayed correctly when I simply open it in the browser enter image description here

But when I run a localhost with python and open it again from there, it can not display the language properly enter image description here

I've tried changing the charset in html code, but it wasn't helpful




How to get button value chosen by the user and use it on the controller in laravel 5.4

I am new with php and laravel and I have a problem:

How to get a button value chosen by the user and use it on the controller to retrieve specific information from database.

I get the "termkey" from the database and I need to know the value selected by the user.

This is my view :

view

controller




Wikitude can't quit the architect world

I use the angular routing method to load every architect world enter image description here

But when I clicked the return button on HTML, I couldn't go back to the previous page and could not quit the architect world

enter image description here

I would like to know how to set the home page as the architect world, and how to enter another page, how to return to the previous level page. Here is a picture of my project Hope to get your help

[enter image description here][3]

This is a page that can load the architect world, and the home page does not load the architect world [enter image description here][4]