|
True, but it is a simple straightforward question and should be answered.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
I've this production site that's performing very slow for every action.
We've checked database side and database is tuned and queries, when they reach the SQL Server - performs fine. There's little bit of time difference when it runs in query analyzer and when it comes from the web - say 2 seconds.
But that doesn't explain why it takes 30 seconds just to login.
So we are trying to troubleshoot it.
Is Fiddler or any other tool might be helpful here?
Thanks.
|
|
|
|
|
What technology? ASP.NET? Java? Php? Ruby?
When asking questions like this, always furnish all the available and relevant information.
|
|
|
|
|
Hello Shameel,
It's ASP .NET (.NET Framework 4.0) and Entity Framework V5 in combination with WCF web services.
SQL Server 2008 R2 back end.
Hope that helps.
Thanks.
|
|
|
|
|
Still relevant code & query is missing
|
|
|
|
|
It happens for every action. So it is a general problem, not related with any specific query or code.
Same code performs much faster in development environment.
So - what I'm looking for is any tool(s) that can help investigate the issue.
Thanks.
|
|
|
|
|
|
I'll check them, thanks raja.
|
|
|
|
|
I'm having trouble getting my media queries to work.
No matter what media query I write in the CSS file, it just seems to be ignored. An example is as follows:
@media only screen and (min-width: 320){
header nav ul li{
display:block;
}
}
I've got lots of other CSS code in the file but not in media queries. Does everything need to be in a media query?
|
|
|
|
|
Shouldn't your min-width value have a px appended?
min-width: 320px
|
|
|
|
|
Thank you. That solved it.
Another problem that I'm finding is that I can't get my menu items centered in the middle of the
header nav and be consistently centered for popular device types. It looks fine of the iPad, but on a Macbook Pro Retina it's more left justified. My base code centers it up nicely on an older LCD DELL 1024 x 768 monitor but the base code has no effect on the Retina. I've coded media queries for iPad min and iPad portrait and landscape and it's all good.
Can't figure out what I'm doing wrong.
|
|
|
|
|
Hello, first time poster. Total newbie.
It's a fairly specific question, but if you could look it over I would really appreiate it. I'm having trouble getting a really solid answer from web designers or video animation guys on odesk.
My problem is this:
I am using this theme:
http://www.cssvillain.com/chimera/
- I need it customized with an animation
- Where the car goes, I will add a, roughly, 30 second animation, of two models (15 secs per model, not 1 min total). The models are basically just one color with lights for buttons, and some textures.
- Background, ideally, would be clear - but I can work around this if it can't be done.
- Image quality must be very high
What file format do I need? I googled the pros cons but I'm not sure what will apply to this template, and video length.
I lean toward GIF because I can have a clear background, and it looks pretty universal -- but it looks like image quality/video length could be limited. Will my high quality, but only 30 second animation be limited by GIF? Will this template support any format, and how would I know? We need a format that will be very universal, does that limit my choices?
Just tell me what to pick. Maybe add why.
Thanks,
Kyla
|
|
|
|
|
I need to display a child html page inside the main html page using HTML Import.
I tried a sample but it seems to be failing on link.import.querySelector().
The sample code I tried is mentioned below:
Can you help me to resolve the problem.
Main.html
<!DOCTYPE html>
<html>
<head>
<link rel="import" href="Child.html">
</head>
<body>
<button id="button1" onclick="onclick">Button1</button>
<div id="ChildContainer" />
</body>
<script>
button1.onclick = function ()
{
alert("Before reading imported files.");
var link = document.querySelector('link[rel="import"]');
alert("Before importing Child.");
var template = link.import.querySelector('Child');
alert("Before cloning contents of Child.");
var clone = document.importNode(Child.content, true);
alert("Before setting the child to ChildContainer.");
document.querySelector('#ChildContainer').appendChild(clone);
};
</script>
</html>
Child.html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="Child">
<h3>Sample Text</h3>
</div>
</body>
</html>
aks
|
|
|
|
|
I'm sorry to tell you but you have to start to learn HTML/JavaScript from the very beginning, as the place here is to small to explain you all the mistakes (logical and technical) you did in this code...
Some probably can write you the proper code, but that will take you nowhere as you clearly do not understand HTML...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Can any one help me to solve this issue?
aks
|
|
|
|
|
I am newbie to web & HTML5.
Can you please help me to load an ocx file to an html(5) page.
aks
|
|
|
|
|
I will not explain you how to use OCX in HTML pages, as I advice you strongly against using esoteric solutions (OCX) in the web...
If you do some Google you will find a lot of solutions, but you will notice that the newest of them is from about 2005-2006 - almost 10 years!!!
It means that OCX is dead - and for good reason. Do not use it!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Thank you for the update.
I have a traditional application with an ocx supporting some advanced imaging operations.
HTML5 supports some basic imaging operations like mirror, rotate etc.
But I also need some advanced imaging operation like text overlay etc.
I will appreciate you on suggesting mechanism to achieve these in HTML5.
aks
|
|
|
|
|
|
My files are hosted at http://myproject.6te.net/. After account creation it sends the activation link on the email. But the link that is sent to email will not be able to activate the account. There is need to activate the account from the database server etc. or what other problem. I am following the tutorial at http://youhack.me/2010/04/01/building-a-registration-system-with-email-verification-in-php/ activate.php is at the link and can be seen/downloaded
|
|
|
|
|
when we write :) or :p or something else on facebook chat or other sites that supports smiley. This code changes to smiley image. thats mean javascript replace that short code (":P") etc to a image. so first we have to find that code (":P") from a text like (" hello friens :P how are you?") after finding that we have to replace with it proper image.
Blogger does not support img tag to post in comment. so there is only way that we can use [img]
(image source url)[/img] and our javascript code finds the [img][/img] tag and then extract the image url from it and replace it with a image.
so this is to be written in javascript i think.
1.use var data = document.getElementById("Id-of-comment").innerHTML;
2. We get data. now we have to find the [img]...[/img] tag {data.search("[img]"); possibly)
3. now we have to obtain the link in a variable.
4. now we have to replace [img]......[/img] with [img]https://www.gravatar.com/avatar/4ce47f47105a3bd1ca4700f02b5deff1?s=32&d=identicon&r=PG[/img]
<script>
function myFunction() {
var n;
var m;
var p;
var s;
s = document.getElementById("mm").innerHTML
n = s.search("[img]");
m = s.search("[/img]");
p = s.slice(n,m);
s = s.replace("[img]","'");
s = s.replace("[/img]","'");
alert(p + n + m);
var b;
b = ""
document.getElementById("mm").innerHTML = b;
}
</script>
Mrinmoy
|
|
|
|
|
Hey All
thanks for taking a moment out to check our question. We are wanting to create a youtube players exactly like edx use with chapter markers so students can click on external links with titles and be taken to that exact location within the video on youtube.
Our question for you is HOW do we make this happen? do we need to hire a developer or can this be a simple tweak? thanks in advance!!
|
|
|
|
|
Dear All,
I want to model any systems/subsystem for any sort of Electronics/Mechanical device in 3D and render it to browser. In order to see the health of components mounted/install (outer surface or inside of the device), I should able to go inside of the model and be able to see all component or device mounted as well as able to monitor the parameter of all such components (more like exploded detailed view). Please note I have update of all such parameter value of component at every second either in XML or in text file. Only hurdle is to display these values of components parameter (temperature, battery value, tank fuel, pressure, power value etc.. ) along with 3d model. Please help how to model this? what will be software to model? how to interact with the model? and how to provide provision to update health parameters? This will be browser based application and O.S is windows or Linux for development.
I will be really thank full to forum for the support.
|
|
|
|
|
Hello friends i am amin i need help i want know how to create login with facebook into my web application.can any one help me how to step by step i am waiting
|
|
|
|