I can't get sIFR to display. It just shows the regular web text. I've went through the steps several times.
Maybe I'm just missing some tiny bit of code, but I think I've followed all the steps correctly. Just can't get it to display.
Anyone want to look and see if I'm just screwing up some mundane detail? Here is a link to my test page
Test Page
Any help would be appreciated!
You're including the config file before the main library file. Try to switch it around.
If you're in Firefox, you can look at the Error Console. Where it says.
Error: sIFR is not defined
Source File: http://www.creativewhirlwind.com/reallynewversion/sifr_test/js/sifr-config.js
Line: 25
You should also look at using FireBug.
Related
Can not extract resource from com.android.aaptcompiler.ParsedResource#d5789c4.,Can not extract resource from com.android.aaptcompiler.ParsedResource#57808e1e.
i had the same message of error and it resulted to be this annoying litle mistake in the color resource file: the double angle bracket, which by the way the compliler doesn't highlights
>#color/gris_oscuro
This is likely a problem in some resource file. I think it's very frustrating, the error message says "Check logs for more details" but I am not sure how to get the logs.
I had a similar problem and after many attempts I exited Studio, manually removed the build directory, and tried again. This time I did see a log, and they pointed at my strings.xml file, which I was able to fix.
By the way, I realized that if you run "Compile some_file.xml" from the Build menu, you'll get the error even if the error is somewhere else. So this is not helpful.
(FWIW, my error had to do with a single quote inside a [[CDATA]] block. I thought that Xml allows any text inside CDATA, but maybe Studio is less forgiving. Anyway, your error is probably something else, you'll just have to find it.)
I see here that people discuss how to get grade logs. I was not able to run gradlew from the terminal (I am on macOS) but that seems to be the official way to get lgs.
Check colors.xml and strings.xml file. I had error in colors.xml. I had written wrong color code of two colors. That is why I was getting this error.
Is it just me, or is the angular-material "Getting Started" example broken?
On that page (link above), there's an inline codepen to show using angular-material. But the demo doesn't work! (In particular, I don't see a button to collapse the sidebar.)
Since I used this example in my started project, I spent quite some time troubleshooting it -- to no avail. Then, I realized the example itself it may be broken. And sure 'nuff, it is!
Does anyone know what the actual bug is, so I can work around it on my test app? It must have worked at some time; but I can't figure out why it's broken now.
Thanks!
That particular pen is working fine for me but I have noticed a few are not working, and it's due to the angular-material.js link being incorrect in the dependencies (under the pen's settings) the link provided redirects to the CSS.
This is intentional - the sidebar only becomes collapsable on smaller screens and is open on larger screens. Shrinking your browser window will show the collapse button.
That being said, the Getting Started page is definitely in need of an update. It is a good guide for a basic page structure, but the individual demo pages will be a lot better if you're looking to try out some of the components. (Every demo has a CodePen link to open an editable version.)
I've been playing around with highcharts for the first time because it looks amazing! I'm trying to implement it on the Joomla platform but don't seem to be able to get it working.
I think I've successfully called the highcharts.js and jquery in the head. And I've added the div with the sample code down the page but the chart does not seem to be drawing. If I look at the console in firebug I can see there is a syntax error but unfortunantly I can't see what might be causing it given that I just cut and paste the sample code.
Thanks in advance,
Rowan
It looks like a problem with jquery / mootols problem, have you tried to use highcharts mootos wrapper without jquery or use noConflict jQuery.noConflict(); ?
Ah fixed it myself, I googled the error Uncaught SyntaxError: Unexpected token ILLEGAL and it turns out sometimes when you copy and paste js it does some weird things at the end. So I deleted the last line and simple retyped it and hey presto!
A website of mine is behaving weirdly. The layout sometimes is fine, and sometimes it is screwy. An example page that I see the problem on is this one: link
Disclaimer: I have yet to start my investigation into cause in earnest. I am turning to Stackoverflow because I am lazy and I hope someone will say "That happened to me once, it is probably this...". So please, no one get stuck into this working out this issue if it is something you have never seen before, as it wouldn't be fair as I have not done it myself.
Ok, some background:
The problem usually (maybe always) occurs when first viewing the page
The problem does not show up always, only sometimes
When the page shows up munged, if you refresh it usually reloads looking as it should
The site is a rails app
The css is passed through the neat Smurf Gem, which automatically minifies the CSS and Javascript on the page.
The layout problems happen in firefox (both linux and winXP)
The CSS is served up in the production environment using the ":cache => true" option which concatenates all the css files into one file
Anyway, I am hoping that this has happened to someone before and it will be really simple to fix. If not, I'll go and investigate and return with the solution (or a request for more help).
Thanks in advance!
James.
[edit]I added the first two bullet points, inspired by the comments and first answer[/edit]
We have had something similar when using HAML and SASS that resulted in the CSS being completely unavailable. It only happened on deploys. We determined it was a combination of the Rails stylesheet merging and the generation of the CSS from SASS. Sass was not done generating the CSS, which it did so on the first request to the application, when Rails attempted to merge it all together. The result, a corrupt useless CSS file. Then we stumbled upon this article which has a solution for preventing this issue.
Based on all this, my best guess is that the Smurf gem is attempting to generate your file on the first request, but Rails is serving it out before its done. The generation completes then each following request is fine. If this is the problem then the only solution i know of is to get the file generated before the first request. Of course, this does assume that it is related to deployments or application restarts in some way.
Peer
I had such a problem. The problem was only at the first time the page was loaded. Just reload it and it was fine.
The problem in my case was that the images where not there in the cache for the first time so the browser didnt know it's dimensions when preparing the page which caused the problem
If an image doesn't have a height/width assigned to it, a place is created on the page and it's put there. If the image doesn't quite fit, the browser may not know this until it's refreshed. Then it already knows the size and can properly fit it onto the page.
Can someone point me to the code or a way that I can say print to screen which admin template is being used?
It happens many a time when I am replacing a admin template for an model that I add the template and hit the page and bham... still the same template.
Usually its a case issue or something like that... but it takes me a while if I get stumped to realise what my issue is.
Can anyone suggest an approach, be it put print statements in django code to show which template is getting resolved?
Regards
Mark
Use the django-debug-toolbar, it has a tab that shows all the template_s_ (plural) that are used.
If you run Django's development server from the command line, you can definitely just use print statements to find out which template is being used. You can also use the FireBug plugin for Firefox to figure out what the server is sending back to you.