|
Start here[^]. How long it takes is totally dependent on your ability to learn.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Thanx!
|
|
|
|
|
I can't get this damn thing to work and it's driving me nuts. Here's the scenario:
Linux box running Apache - set up to send the Access-Control-Allow-Origin * header for the folder I'm working with
PHP web service that will build and return a JSON object on a request to mypage.php?project=1 or similar
Simple html test page running locally (from the file system) on my machine using jQuery to retrieve the JSON object from my web service like so:
$.getJSON(url, function (data) {
$.each(data.factors, function (i, field) {
$("div").append(field.FactorName + " ");
});
});
Works fine in FF, works fine (on FF and IE) if I upload the page to the same server as the web service and run it form there, doesn't work at all in IE when running the page locally (doesn't look like the response is ever received).
I did a little research and it looks like for cross domain scripting in IE you should use XDomainRequest instead of XMLHttpRequest (which I think jQuery is using under the covers in getJSON). So I try this (based on some website):
if ($.browser.msie && window.XDomainRequest) {
var xdr = new XDomainRequest();
xdr.open("GET",url);
xdr.onload = function() {
alert("XDR Sent");
};
xdr.send();
}
else {
$.getJSON(url, function (data) {
$.each(data.factors, function (i, field) {
$("div").append(field.FactorName + " ");
});
});
}
On IE it chokes on xdr.open with an "Access is denied" error. Any idea what the problem might be?
|
|
|
|
|
Afternoon guys, I'm having some trouble lining up this image, It was cropped down in photoshop and now i'm trying to add it as you can see in my code but if you preview it you will see it is slightly off and I have no idea why!?!?
HTML
<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset=UTF-8" />
<title>Awesome Website from CSS-tricks</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<ul id="nav">
<li></li>
</ul>
</body>
</html>
CSS
* {
margin: 0;
padding: 0;
}
body {
font-size: 62.5%;
font-family: Helvetica, sans-serif;
background: url(images/body-bg.png) repeat-x top #f5ecd4;
}
#nav {
height: 336px;
width: 800px;
margin: 0 auto;
background: url(images/header-bg.jpg) no-repeat;
}
wanted to attach image but not sure how!
|
|
|
|
|
I didnt understand your question
but your meta declaration is improper.
you wrote
Aaron Howarth wrote: <meta http-equiv="Content-Type" content="text/html"; charset=UTF-8" />
it should be
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Your slightly off does not make sense and another thing is improper image repeating may not workout.
|
|
|
|
|
Mention you images dimensions please.
Sojaner!
|
|
|
|
|
I think I know your problem, you need to deal with the
lu and
li tags in the css.
Try this:
ul {
list-style-type: none;
}
in your css and you will notice the difference.
This may be useful to you:
CSS UL LI - Horizontal CSS Menu
Hope this will help you.
Sojaner!
|
|
|
|
|
I came across bala's article on how to upload files in directory to sharepoint. However, im not sure of how to apply it. i have never done this thing before. can someone show me the step by step on how to do and how to run the codes?
|
|
|
|
|
Back around 1999 I was on a team working on a very early version of a Web project. It had a SQL backend, and it used ASP to send the data back and forth from the server to the client. I left that company before the project ever came to light, but I'm almost 100% sure that something entirely new replaced it once it went public. I don't have any formal experience with Web development, so my lack of knowledge of what's available is part of the reason for my inquiry.
I said all of that to ask for ideas and/or suggestions on what tools to use today for a small-medium size project that would do basically the same thing -- store data in a fairly simple database structure, and allow multiple users to view/change that data from their browser.
[edit]
A friend on the "inside" informs me that company policy prohibits server things like ASP, IIS, Tomcat, and PHP.
[/edit]
Thanks.
- DC
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
modified 9-Feb-12 16:13pm.
|
|
|
|
|
C#/Asp.Net, SQL Server 2008. Job done.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
I'll give my 2 cents for VB.NET, I'm using it for Intranet development because I have to support an application that is based on VB.NET.
You didn't mention if this was in-house project or a commercial project.
|
|
|
|
|
When you must not use a web server, you can opt for .NET Remoting - but on the client side, you'll need a "normal" application to communicate with your server.
|
|
|
|
|
I want to develop a page using MVC. The tricky thing is, the page should be an usercontrol which will have a list of static standard controls like textbox, radio button, drop downlist, checkbox etc. There will be multiple models, each models have different set of controls.
So for example, Model1 will be having one radiobox, one textbox, and Model2 will be having two radiobox, two checkboxes etc.
Finally it should be rendered appropriately in the view.
How can I do this? Any article towards this would be great.
Thanks in advance,
meeram395
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hi everyone,
I have a business site that I need to secure.
I wrote the site in ASP and the platform is IIS 7.
I need that the users must login to see the web pages and the photos.
I mean that just authorized users will have access.
The first way i thought is to make ASP session after validating the user and password of each try via SQL database, this is good way I think and I know to do so.
Now by this way any anonymous user will not have any access to webpages, but the problem is that if the user will type direct photo URL like mydomain.com/images/1.jpg any user have access and even anonymous can see them.
I need that only sessioned users will have access, those that not authorized, I want to deny.
How can I do it?
Your help will very appreciated as I tried so many searches and didn't find anything helpful.
Thank you!
Ofir
|
|
|
|
|
|
Johny, thank you for your reply.
I checked and it seems that this is the solution for my case.
Do you know if this example also available with SQL provider as well?
thanks.
|
|
|
|
|
What is CSS Hacks and the types and use?
|
|
|
|
|
|
|
CSS hacks are used to make the code cross browser compatible. You can apply CSS hacks to make the code run well in IE if it is designed for mozilla.
|
|
|
|
|
I have prepare a check box list for multiple selection.I want to provide Search functionality same like list search extender provide.If any idea then please help
|
|
|
|
|
How do I query a big form in a database and print results or convert to pdf
|
|
|
|
|
Write a Crystal or SSRS Report to display the results of your query.
That report can then be exported to pdf or printed...
|
|
|
|
|
Hi
I have a forum site, in which i have to post code..
Please suggest me for this i am using pre tag for this but i am unable to give css,color in code that is keyword,code..
thanks in advance
|
|
|
|
|
Try this open source code colorizer CodeColorizer[^]
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|