web-development

How to display a custom google search result in a new page

Am using Custom Google search in my web page Code: <div id="cse" style="width: 100%;">Loading</div> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript"> google.load('search', '1', {language : 'en'}); google.setOnLoadCallback(function(){ var customSearchControl = new google.s...

how to generate a password for htpasswd file using php

Hi how can i generate a password using php, to use for the htpasswrd file. which encoding we are using? ...

Getting Jquery from google

There are some tutorials which suggest to use jquery path which is from google eg: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; Is that safe to use in our projects? Aren't we dependent because we are not sure it will be there after a year or beyond? The r...

How does Javascript use effect 508 Compliance?

As background, I currently develop for a university, and we have problems with departments demanding "web 2.0 content" and accessibility requirements. How do really big sites that are JavaScript based deal with 508 Compliance? Some sites degrade, and others require enabling JavaScript. How much impact does one decision have versus the...

Web Deployment Project missing in ASP.Net Web Application?

Hi, Please HELP! I have installed the web deployment project on VS 2005. When i click on my Web Site context menu i see the "Add Deployment Project", but when i click on my Web Application Project i don't see it. I have done the task "devenv /setup" in my computer run, but it didn't help. How can i see the Add Web Deployment Project...

What criteria should I take into consideration when allowing users to enter rich text on my website?

I've worked with several different types of "user-generated content" sites: wikis, a message board, blogs... These systems can differ greatly: a blog post editor allows more control over presentation than that for comments on the blog post, a wiki topic editor encourages wiki links over raw URLs, etc. However, one key design decision i...

csv file upload

Hi, In my Grails app, I would like admin users to be able to upload a CSV file that contains data such as: List of users to be added to system List of groups to be added to system Assignment of users to groups I have no idea how the user will generate these CSV files - most likely from Excel, Access or similar, and therefore I've no...

How to achieve web site customization like iGoogle?

I'd like to know how to achieve web site customization like iGoogle (in particular I'd like to know how to drag/drop parts of web page (a.k.a. "prtlets") to different corners) ? ...

Attaching jsondata to the call of loading a jsonstore in Extjs via POST request

Hi, is there a way to attach jsondata to a POST request for loading a store? I know it's possible through a GET request by simply adding params : {data1 : 1, data2 : 2} on the load call, but I've had no success attaching jsondata. I've tried the following and a few variations of it and no luck. I'm using Extjs 2.2 w/ Alfresco //creat...

How to deploy after a build with TeamCity?

I'm setting up TeamCity as my build server. So I have my project set up, it is updating correctly from subversion, and building ok. So what's next? Ideally, I'd like to have it auto deploy to a test server, with a manual deploy to a live/staging server. What's the best way to go about this? Since I am using C#/ASP.Net, should I a...

Stop Firefox rendering inline colours in rgb() form.

I'm trying to write a JavaScript tool to work on items of a certain colour. On a test page, I set the colour using an inline style, to mimic the target pages, but when the page is rendered, the colour is specified using the CSS rgb() function. The HTML tries to emulate the GMail container I want to change the background colour on. Whe...

What are the various browser data cache sizes?

Browsers render content after "enough" data has been received or once data stops flowing in (Content Length reached, for example). I want to slowly stream data to the browser; to do this, I have to work around this data caching. For example, instead of sending 40 bytes of JavaScript, I have to send the 40 bytes of JS followed by about...

Is there another way in java 1.1 to handle cookies in Applets other than JSObject

Hi experts,,, wish you all a happy and exciting year of 2010. Is there another way in java 1.1 to handle cookies in Applets other than using JSObject... ...

Which programming skills do I need to have to write an application in Google Application Engine?

I want to use java platform and I don't know what else I need to know about to write apps in google app engine? ...

Understanding controllers in MVC

I'm building a site similar to StackOverflow, mostly as a learning exercise, and I'm having difficulty understanding how to decide on the different controllers in the MVC pattern. What exactly is a controller? What controllers would you use to model a Q&A website similar to SO? I'm using ASP.Net MVC, and I notice the URL pattern is alwa...

How can I add extra partial views, depending on a dropdownlist selection, in ASP.NET MVC and jQuery?

I have a form to which I want to add extra fields depending on the value of a dropdown list. They would be sets of fields and I was thinking on dynamically changing a div's content with the html from a render partial, which would render a PartialView with the fields I want. Right now the code for the drop down list is the following ...

What really is scaling?

I've heard that people say that they've made a scalable web application.. What really is scaling? What can be done by developers to make their application scalable? What are the factors that are looked after by developers during scaling? Any tips and tricks about scaling web applications with asp.net and sql server... ...

In web-based applications, using a data reader or a data table as a place for holding data gathered from DB?

hi all I have heard that in web-based applications, when we want to get data from DB, it's better to collect data into a data reader instead of a data table. What 's your choice? ...

Role of C,C++,python,perl in Web development

Please bear with me experts i'm a newbie in web dev. With html,css can take care of webpages.. javascript,ajax for some dynamic content.. php for server side scripting,accessing databases,sending emails,doing all other stuf... What role do these programming languages play? Can they do any other important task which cannot be done by PH...

How to make a drop down menu?

Using CSS style Sheet I have the button images, I want to add a button images in to my web page menus For Example Home Contact ->Aboutus -> Location Home, Contact (menu) Aboutus, Location(sub menu) Button images name - button1.jpg I want to add a my button image in the background of menus and sub menus am new...