web-development

When did it become OK to use UTF-8?

When did people start using UTF-8 in files encoding and HTTP Content-Type headers? Since all web servers, OSes, text editors and browsers support it today, when did it become "compatible" between these? ...

ASP .net application finds local resource files in Web Development server, but not local IIS

When I run the application using the Web Developer it works fine. However when I run it using local IIS I get the following error: Any ideas? Thanks!! The resource class for this page was not found. Please check if the resource file exists and try again. Description: An unhandled exception occurred during the execution of the current...

HTML5 video works in Firefox but not IE

Hi. The HTML5 video player (JW Player) on this page works fine in Firefox, Chrome, Safari, Opera, but not IE: http://bit.ly/9mR6Wy If you scroll through the carousel component, you'll notice the video's width gets "crushed" on IE and the text next to it, visible on the other browsers, isn't displayed. The video slides are 1 and 5 in the...

jQuery funcionality not working within an ajax-controlled section of the webpage

Hi, This 'Timepickr' jQuery function is woking fine in one section of my webpage using the following code... <? include("header.php"); ?> <br> <form method="post" name="form1"> <div id="div"> <center> <table border="0" cellpadding="0" cellspacing="0" width="60%"> <tr> <td width="150">Time</td> <td> <input class='timepickr' type='text' ...

What does "1" mean at the end of a php print_r statement?

My print_r($view) function yields: View Object ( [viewArray:View:private] => Array ( [title] => Projet JDelage ) ) 1 What does the "1" at the end mean? The PHP manual isn't very clear on how to parse the output of print_r.... Thanks, JDelage ...

Simple image editing within browser on page (Java/Flash/Javascript)

I have a page that needs simple image editing within the page. It can be either in flash or Java. Are there any open source tools that you can recommend? I am looking for a flash or Java tool that can do the following: Cropping Resizing Nothing else required but simple features like this will be a plus If the above can be done in Jav...

What is a CMS that allows inset PHP, stores "templates" on files instead of in a DB, and is easily extensible?

Basically I want the flexibilities of ExpressionEngine, and nearly the same idea, yet free. I use EE2 on dozens of my clients sites, but the $299 hit is cutting a ton off my income since most are just easy $1,500 projects. Most important is the ability to use PHP in the templates/script. Wordpress looks solid, but I noticed it does not...

How to center the following menu?

I've got the following inside a div. I'd like to center the menu elements. Currently they appear like so... | Home | Blog | About | Contact | I'd like it to center so something like... | Home | Blog | About | Contact | Here's my CSS, what would I need to change? ul#menu { margin:0; padding:0; list-...

how to implement logic for my download button

Hi I want to know how to implement logic for my download button in PHP. I have a file in web server and have a page with download button. I want to start download a file when user press download button. How to implenent? Thanks ...

What are these .dll's that I see embedded or referenced in web pages?

I'm researching how to build some tools in my website and as I'm looking around examples of similar tools in other websites, I've noticed the source code referring to .dll files. I'm relatively new to web development, so I'm only accustomed to seeing references to script files. What are these .dll's that I see referenced in web pages? ...

When talking about the interactive nature of HTML5, you're really talking about HTML, Javascript, and CSS, right?

I'm about to begin building a highly interactive and dynamic website that could be implemented beautifully using Flash. For many reasons, I'd like to ditch Flash and build the site using the least common denominators (HTML, CSS, and JS) across the big platforms. I'm trying to understand the interactive nature of HTML5 that people speak...

How to post an YouTube Video link through Facebook Graph API

Specifically what I'm looking for is the embedded video player functionality you would receive if you had just manually shared a YouTube video but done programmatically through the Graph API. ...

Can I call a Struts2 action on click of a html link in html page.

I want a Struts2 action to be performed on click of a html link in a html page. My first question is whether is it possible to perform a Struts2 action in a html page(not JSP)? If yes, take a look at my code below: home.html href="home.action" struts.xml action name="home" class="com.struts.action.HomeAction" result nam...

Converting a Servlet to Struts2 Action Class

I'm porting a dynamic web project to Struts2 and I gotta convert a many servlets to Struts2 actions. I want to use the ServletRequestAware, ServletResponseAware and SessionAware interfaces and keep most of the code unchanged. Please take a look at BaseAction.java class which I found by GOOGLin'. I want to use this so that i can make othe...

Things to be done before hosting a website in internet in ASP.Net

What are the things to be done before hosting the website in internet server? All kinds of testing and defect fixing work are over for the website which is currently hosted in intranet server. We have the server informations for hosting the website and also the database details. We also have the list of third party controls/softwares whi...

NEW to drupal...I have a question or two.

Im sort of new to this web developer thing (I really enjoy it!). I always want to give clients the option to edit their content with the whole login system setup...I've been hearing/reading about Drupal and it seems that this is my best option to offer content management, increase productivity, stable code, and uh increase productivity. ...

Tracking a child window across page loads

Is it possible to track a child window if the parent page is reloaded? I currently open the window like so: var childWindow; childWindow= window.open('url...'); and when I want to reopen the same child window I do childWindow.focus(); The obvious problem is that if the parent window is refreshed then it loses track of the chi...

Cross-browser, clean solution for drop-down menus across frames?

Let me start off by saying I really like Superfish (& jQuery). Unfortunately, this - apparently? - does not offer cross-frame support out of the box. Situation: extranet website, consisting of 2 frames, divided horizontally. The top frame (the smallest one) contains a menu. When hovering over this menu, the "drop down" content gets disp...

How can a web page play mp3 on iPhone/iPad

As far as O know, web pages play mp3 sounds by embedding invisible Flash players. Since Flash is not available on mobile webkit (iphone/ipad), how is it possible to play mp3 on this platform? ...

jQuery functionality not propagating to all areas of page

Hi, I'm using the 'timepickr' jQuery function, the problem is it works ok in the main webpage, however when I invoke it through an AJAX call, the funcionality is non-existant. The input box is displayed fine, but the mouseover funcionality isn't there. Code I'm using as follows.... This is the page that contains the "div2" div: Note...