598 comments found.
<body ng-app="app" ng-controller="AppCtrl" >
<div> <a ng-repeat="childs" in=""> {{myTest()}} </a> </div>
<div class="app" ui-view="" />
2, at the end of app.ctl.js
$scope.myTest=myTest;
function myTest(){
console.log("from my test!");
return ;
}
when switch the menu , it print the call myTest times at console, why it execute more than one time! I really don’t know the reason, can you help me?
ng-repeat=”childs in [‘a’]” Sorry!
<div ng-controller="MyTestCtrl"> </div>
angular
.module('app')
.controller('MyTestCtrl', MyTestCtrl);
function MyTestCtrl(){
console.log("from my test!");
}
- {{ section.name }}
Am I right u’re using voidberg/html5sortable in flatkit? Assuming the above is my html file. How do I use the events and options?
I need to get the new order into my controller. Any way to manage that?
Would be awesome thanks.
I’m sorry it stripped out my code. I’m using the sortable and nestable from views/ui/sortable.html. How to get the changed order into the Controller?
Sortable http://farhadi.ir/projects/html5sortable/ use the sortupdate event to get index. $(’.sortable’).sortable().bind(‘sortupdate’, function() { //Triggered when the user stopped sorting and the DOM position has changed. });
Nestable https://github.com/dbushell/Nestable use change event to get serialized data. $(’.dd’).on(‘change’, function() { $(’.dd’).nestable(‘serialize’); });
Hello, I’m totally grateful for your nice professional UI kit
I’m using the idea of –pop up form- same as the one you are using in the menu of header by css class (animated fadeInDown ), but I want to use it in footer.
The problem when I’m using it in footer it causes expanding for the background -which affect the design, and the form is stick directly under the link’s position.
So,
1- How can I control the position of the form (like moving it to up little bit)?
2- Can I change the direction of the motion (of form’s entrance) to be from left or right in spite of – fadeInDown-?
I’ve sent you – now – through email same question but with screenshot of my website to clarify my issue
Kindly check the attachment (more detailed screenshot).
Seeking your precious support.
Thanks
Got your email and replied. Thanks
Hi Why google map in HTML not display after set Lat Lng ?
I need to know how did you implement the google map in html version? Thanks
Hello I would like to used HTML version but how can i add sidebar menu , top bar same as the demo ?
The sidebar and topbar are there, preview the file on a local server. it’s using ajax to loading topbar/sidebar blocks.
Hi. Very nice theme. I’m interested in buying it but would also like to have the PSD version. Will you be able to deliver it? Let me know, would like to get started within 24hrs. Have a nice weekend!
No PSD file for this item. Thanks
I miss a full static HTML version without ui include . Had I known this I would not have bought the template ! This should be better explained again in more detail in the description 
ui-include just for ajax loading partials/blocks. when you integrate this html template into your cms, you do not need to split the common components from the full static html page.
Thanks
That’s right , but it is not right , I buy a HTML template and then invest several hours needs to remove the whole ui include. If it should be so simple why have not published any Static version . There are indeed some customers who have asked for it . Do not get me wrong , the template looks great. And has a lot of work cost but most customers need not include ui.
It’s a html template but with ajax to load the common components. i do not know how do you want to integrate this item into your code, but you finally need separate the common components into separate files.
Thanks
Hello,
I just bought your template but I couldn’t find the PSD files inside, where do I can find them?
thank you
No psd file for this item. Thanks
Hi, this template can be easily integrated with an application developed in Rails 4
You can use the html version. Thanks
Hi, i use the aside navbar, i need to center (vertcal) the
- element inside it.
With margin-top it seems not work.
This is an image. http://postimg.org/image/echjg8hcb/
Other things is that i need to use some navbar in tablet and smartphone. Insteed of large navbar i need to show some navbar. How can i do it.
Thanks
.navside [flex]{
display: flex;
justify-content: center;
flex-direction: column;
}
use the layout 4 for top navbar.
Hi, great template. The code organization in the AngularJS version has been much improved over Angulr. Very nice to work with.
Anyway, there appears to be a CSS problem, even in the live demo (for instance, http://flatfull.com/themes/flatkit/angular/?layout=4#/app/dashboard).
The box-shadow on the fixed header disappears when scrolling over the boxes below it. It disappears where there are boxes & continues to show where there are no boxes, so it would seem to be a z-index issue. I have tried to fix it with different combinations of z-indexes on various elements, but have had no success.
Could you please take a look & see if there is any way to solve this? I am using slightly stronger box shadows & the disappearing shadow problem is even more noticeable. Cheers.
When opening the dropdown grid menu (in Layout 4) while the screen size is narrow, the dropdown menu extends past the left border of the screen & half of it cannot be seen. http://tinypic.com/r/2uiynio/9
I have tried without the .pull-right css class, however, that merely makes the dropdown menu go outside the right side of the screen.
Is there any fix to make the dropdowns work on small screen sizes?
Tested on chrome/safari, the box-shadow on app-header works fine, Which browser are you using?
put a .pos-stc-xs class on the dropdown
<li class="nav-item dropdown pos-stc-xs">
Thanks! ‘pos-stc-xs’ works brilliantly.
I am experiencing the box-shadow issue on both Firefox & Chrome on Windows 7.
Screenshot from my local install: http://tinypic.com/r/okvl3r/9 .
Screenshot from the demo at flatfull.com: http://tinypic.com/r/e0ki7p/9
You can see in both where the navbar goes over the content box in the center of the page, the box-shadow on the navbar disappears. Where the navbar is not positioned above an underlying box, its box-shadow is visible.
Another navbar problem. When I am at xs screen sizes, & the navbar menu collapses into the ‘hamburger’ icon, & I expand the menu, then open the megamenu dropdown, the megamenu extends below the bottom of the visible part of the page/viewport. Since the menu is attached to the navbar, which is ‘position: fixed’, it isn’t possible to scroll down to see the bottom half of the mega menu, leaving all those items inaccessible.
http://tinypic.com/r/rlxr8n/9Is there a way to fix this, perhaps to make the navbar not ‘position: fixed’ only while the collapsed menu is open? Or some other possible solution? Many thanks.
<div class="app-header navbar-md white box-shadow-z2">to make it more obvious.
use a custom css on the mega menu
@media (max-width: 767px){
.navbar-toggleable-sm{
max-height: 300px;
overflow-y: scroll;
}
.navbar-toggleable-sm .dropdown-menu{
position: relative;
float: none;
}
}
Thanks again. Using the custom css for the mega menu plus angular-perfect-scrollbar works great.
Regarding the box-shadow on the navbar, adding box-shadow-z2 allowed me to at least see the shadow over underlying boxes, however, it is just a thin line. Is there any way to make the box-shadow look consistent no matter what it scrolls over?
Another odd css behavior I’ve encountered with the navbar: When on a small screen with the collapsed menu expanded, then resizing to a large screen size, the expanded menu stays expanded as it was in small screen format, rather than going back to a normal large screen layout along the navbar. Layout 4. It happens in both Firefox & Chrome, even in the demo.
Screenshot: http://tinypic.com/r/2rg289v/9
Any ideas? Probably something small like the other issues you helped me with. Thanks again.
.box-shadow{
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.03), 0 1px 0 rgba(0, 0, 0, 0.1);
}
The collapse is opened and need use a js to hide it when your resize page.
$( window ).resize(function() {
if($( window ).width() > 767 && $('#navbar-4').hasClass('in')){
$( '#navbar-4' ).collapse('hide');
}
});
The resize jQuery works. Thanks again for all your help. I would encourage you to add the fixes you came up with back into Flatkit in the next update, since it would make it even more usable on small devices right out of the box.
Yes. will include the fixes in next update. Thanks
Team,
How can integrate this template with my app in MVC6?
Regards,
Use the html version. Thanks
Hi there,
Is there a static html version that doesnt reference pages with the ui-include tag? Its really annoying to get that working with Ruby Rails.
The ui-include is same as “load” or “require” in Ruby Rails.
Uncaught TypeError: Cannot read property ‘apply’ of undefined
why
Uncaught TypeError: Cannot read property ‘apply’ of undefined(anonymous function) ui-jp.js:17(anonymous function) jquery.js:3256fire jquery.js:3099self.fireWith jquery.js:3211deferred.(anonymous function) jquery.js:3301fire jquery.js:3099self.fireWith jquery.js:3211deferred.(anonymous function) jquery.js:3301script.onload @ ui-load.js:50
This page of the JS I how to integrate into the config.lazyload.js inside and such as call out
http://tympanus.net/codrops/2015/11/17/multi-level-menu/Can you help me to write an example? Thank you very much
ui-jp only support standard jquery plugin, eg your plugin name called “pluging”, <div id=”element”ui-jp=”pluging”> will call $(’#element’).pluging(‘option’);
code from your link is not a plugin. can not use ui-jp.
My English is very poor, I can’t understand what you said. Can you help me to write a complete example?
My English is very poor, I can’t understand what you said. Can you help me to write a complete example?
function MLMenu(el, options) {}
it’s plan javascript function.
but you can wrap it as a jquery plugin.
(function($, MLMenu){
$.fn.MLMenu = function(params)
{
return this.each(function() {
MLMenu(this, options);
});
};
})(window.jQuery, window.MLMenu);
save this code as mlmenu.jquery.js file
then config these files in the config.lazyload.js and use <div ui-jp=”MLMenu”> to call it.
Thank you very much; you’ve done me a great service. But I still don’t understand. I’m so stupid.
Tip the following error:
Uncaught TypeError: Cannot read property 'querySelectorAll' of null main.js:49
Uncaught ReferenceError: options is not defined mlmenu.jquery.js:5
Can you help me to write a complete example to give me a download link?
Thank you again.
(function($, MLMenu){
$.fn.MLMenu = function(option)
{
return this.each(function() {
MLMenu(this, option);
});
};
})(window.jQuery, window.MLMenu);
I will not
Help me write a complete example of it, thank you very much
1. save the http://tympanus.net/codrops/2015/11/17/multi-level-menu/ js code to mlmenu.js
2. save the mlm css style to mlmenu.css
3. save (function($, MLMenu){ $.fn.MLMenu = function(option) { return this.each(function() { MLMenu(this, option); }); }; })(window.jQuery, window.MLMenu); to mlmenu.jquey.js
4. config it in the (angular/html/)scripts/config.lazyload.js.
{ name: ‘MLMenu’, module: false, serie: true, files: [ ’../libs/jquery/mlmenu/mlmenu.css’, ’../libs/jquery/mlmenu/mlmenu.js’, ’../libs/jquery/mlmenu/mlmenu.jquey.js’ ] }
5. on your page <div ui-jp=”MLMenu”></div>
Uncaught TypeError: Cannot read property ‘split’ of undefineduiLoad.load ui-load.js:24(anonymous function) ui-jp.js:16jQuery.extend.each jquery.js:374jQuery.fn.jQuery.each jquery.js:139$.fn.uiJp ui-jp.js:8init app.js:113(anonymous function) app.js:80(anonymous function) app.js:154
Can you help me to write a complete example to give me a download link? Thank you again.
If the lazyload not works for you. you can include the files on the index.html to use it directly.
Hello, how can I update a flot chart when the dataset has changed ?
In a previous comment by other user you answered:
“if you want to update the charts in your controller. flot use the jquery to call the flot function to redraw it.”
Could you show the code to do it ?
Kind regards,
Esteban
You can call the flot function with your new data or option. $(‘element’).plot(option)
thank you !!! it worked fine!
Hi, could you add me to your gitlab repository? (https://gitlab.com/u/jfcpcosta)
Added. Thanks
How do I use double quote (“) in ui-options parameter?
ui-options='
series : [
{ name:"\"Market"}
]
'
In IE 9, the dropdown-menu links under the user profile in the header is clickable even when it’s not expanded/open. So, the links in the dropdown are clickable when the menu isn’t open.
The point-events not working on ie9, you can remove the “dropdown-menu-scale” class.
Thanks
Just another question:
Could u send me an example how to implement 404 document into app.routes. I know i could use the .otherwise but i want to load the homepage if the root url is called but the 404 if a state is called that is not available.
http://www.example.com should route to http://www.example/#/app/dashboardbut if a url is requested like
http://www.example/#app/notexisting should route to http://www.exmaple/#app/404use $stateChangeError
http://stackoverflow.com/questions/23281351/angular-ui-router-handling-404sHi, i need to find the pace.js configuration. Where can i find it in your folder structure? I need also the answer if exist a method to use a fullpage image as pace.js loader. (insteed of progress bar on top page use a full image and hide the content of page until it is loaded).
Thanks
the pace.js located in the libs/jquery/pace/ and you do not need init it. but you can use different style for it. http://github.hubspot.com/pace/docs/welcome/