web-development

UNIX web development server for virtual machine PC in Windows

I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice: What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting enviro...

PHP Web-App Design

Am looking for a guide, or simple to understand method of designing a website. I have a good idea of how to do various things in PHP anyways, basic knowledge of OOP, and functions and what not... But I need some structure, to keep me on track and let me know what I should be doing. Is there any websites, guides, or methods that can...

Advice for adding basic dynamic behavior to an otherwise static website

I'm developing a site for a local business and I've finished the design and layout in Photoshop and now I'm getting ready to start creating the HTML and CSS. I'm trying to decide which technology to use on the server-side to achieve the following basic dynamic behavior: Include the site header and footer on all pages without having to...

Selectively enable enter key in HTML textarea (javascript)

Hi, I am using openjs.com's shortcut handling (1) to disable the enter key in my html forms. However, inside of textareas in those forms I want enter key to emit the normal CR-LF pair (because that's what users expect). At the moment assuming I have a form/input structure as follows: <form id="f1"> <fieldset> <input> <textarea i...

How do I make an info bar at the top of the page like on stackoverflow.com?

Im seriously jealous of the person who designed this website and in particular the 'info' bar at the top of the page that notifies you every so often. I very much want this on my website, does anyone know of a downloadable script that resembles something like this? (php) An answer from the stackoverflow design team would be nice! ;) ...

How to open and run this website in VS 2008?

i have the source code of a website in the below address http://www.sourcecodeonline.com/details/aspportal.html How to run this website and edit it in VS 2008 ? there is no solution files here .. ...

is there anyway to find unused css in a website.

trying to clean up a project i just inherited ...

Optimize a web page for Palm Pre

I'm in the process of building a support page for my pre application. I'm having a problem where the content on the page is very small, so the user has to manually zoom in to read it. I've made the page so that there is nothing very wide or tall, but for some reason everything is very "zoomed out" when you first navigate there on the ...

What do I need to know to make my website work on mobile browsers?

I am using ASP.NET 3.5 with Visual Studio 2008. I have a few questions surrounding my website and mobile users. Will my website be displayed correctly on a mobile? What items will not work on a mobile (I know flash can be a problem?) What advice can you give me for my website to work 100% on a mobile? Thanks in advanced! ...

limit for Ajax calls on a web page ?

Is there any limit to number of ajax calls on a web page ? Will it affect the performance of the web application if we have too many ajax calls/timers that have been set to run at frequent interval . Regards, Mithun ...

SEO: Where do I start?

Hi, I am primarily a software developer however I tend to delve in some web development from time to time. I have recently been asked to have a look at a friends website as they are wanting to improve their position in search engine results i.e. google/yahoo etc. I am aware there is no guarentee that their position will change, however,...

How do I detect if a remote web page is avaliable

Hi, I need to check if a web page hosted on a remote server via tomcat is deployed or not.There may be a case where the page is not deployed and I need to capture this. I've tried with URL connection but I guess that is only useful for verifying if tomcat is up or down on the remote system. How can I go about verifying whether the page...

Thunderbird mail HTML render issue when mail send via PHP mail function?

my mail have some tempalte with HTML tags includes and images.. when i am sending mail to my id and open that in Gmail it getting the correct template but in thunderbird am getting only html tags... not the correct format code: <?php // multiple recipients $to = '[email protected]'; // note the comma // subject $subject = 'Birthday Remi...

how is the DOM constructed in the browser (IE or FF) or how javascript traps object hierarchy

Would some please send me the link for any articles , which explains , how DOM is constructed in the browser after the response is received from server ...

What JavaScript cache can you recommend

i'm searching for a good java script in-memory cache lib to cache client side calculation results. My requirements: works in Internet Explorer, FireFox, Safari, Opera, Chrome, others a plus stable mature small fast cache strategies should be configurable several caches in one page, each with different eviciton strategy LFU, LRU a plus...

Creating links for elements with a particular class with jQuery

How can I wrap every element belonging to a particular class with a link that is built from the text inside the div? What I mean is that I would like to turn: <foo class="my-class>sometext</foo> into <a href="path/sometext" ><foo class="my-class>sometext</foo></a> Url encoding characters would also be nice, but can be ignored for n...

Creating my own callbacks

I have a page with some jQuery, and a separate non-jQuery function. Currently my function runs on $(document).ready, but I want to call a jQuery function as soon as my function is finished. I can pass my function as a callback to any jQuery function, but how can I set things up the other way round? So I would ideally like to know how t...

How to measure visiting time of a user

I like to measure the time a user spent on a particualr page of my webapp. First i thought about catching the onunload/onbeforeunload event in the browser and notify the server via a XMLHttpRequest that the user is leaving now like: <body onunload="userLeaves('/url/to/current/page',xxx);" ...> ... </body> where xxx is the inital tiems...

Selective caching in firefox

Is there a plugin or method for performing selective caching in firefox? I can disable caching entirely, but I'd like to be able to still cache some large javascript libraries (extjs) which take several seconds to load. ...

URL shortening: using inode as short name?

The site I am working on wants to generate its own shortened URLs rather than rely on a third party like tinyurl or bit.ly. Obviously I could keep a running count new URLs as they are added to the site and use that to generate the short URLs. But I am trying to avoid that if possible since it seems like a lot of work just to make this o...