web-development

How to resize a .swf file depending on screen size?

I have a website with a large .swf file. However when people with smaller screens view the website, I would like the .swf (which takes up the entire screen) to resize to fit on exactly. Just like how on most flash sites when viewed they fit the screen perfectly, however also then when viewed on computers with smaller screens they resize ...

Videos for developers

Hi, Is there any developers-centric video tutorials site? For example containing video tutorials on topics such as php, jquery, c#, java, etc. Note: I know youtube, so please don't write about such sites. ...

Tuftian design for usernames display

I'm working on a website with a major social networking component. I want the short username display (1 icon (maybe 2) + a styled username) to indicate: presence (active, idle, away, offline) - font weight avatar (autogen or uploaded) - 16x16px prefixed icon explicit relationship to current user (followee, follower, mutual friend, FO...

How do sites count other sites' visitors and "value", and how can they tell users' location?

Hi actually this is a simple question but just came up out of the curiosity... I have seen a web evaluation online tool recently called teqpad.com.I have lots of queries on it How do they do it?? eg:page views daily visitors etc. without mapping real website??... Website worth...is this getting any near to any site?? I don't know how ...

body and (*) Properties in css.

is body properties and * properties have different? i always use body and html properties same. can i use * properties with body and html? and what should be different in * and body property? i unable to understand that is this necessary to use these both property? if i use one of them than its create any problem? i use this *{ ...

Process for working with a remote Web Designer on an ASP.NET MVC project

I have a side project done in ASP.NET MVC. So far the presentation is just very basic functionality. If I were to hire a designer online and work with them to produce the final website design what process should I follow to make it as easy as possible to take their HTML and CSS and translate that into ASP.NET MVC controls etc? I am un...

Flash - page flip which allows site users to create their own book

Hi, as the title suggests, I'm looking for a Flash page flipper which I can integrate with an existing database of users and allow them to create their own flash books - I don't need anything complex as this isn't a CSS, just something which allows users to insert images and some text in each page. I've had a look at quite a few now and ...

Black theme for dreamweaver

Hi, Does anyone a black theme addon for dreamweaver something like this: Thanks ...

What features does Firebug have that Chrome's Developer Tools does not have?

I'm a novice web developer, and I've had Firebug recommended for debugging several times. So far, however, I've just been using Chrome's built-in "Developer Tools". It seems to do everything that Firebug does, and is cleaner and more organized as a bonus. As I get more advanced in my debugging, are there features that Firebug has that I...

What should I use for the backend of a 'social' website?

My two main requirements for the site are related to degrees of separation and graph matching (given two graphs, return some kind of similarity score). My first thought was to use MySql to do it, which would probably work out okay for storing how I want to manage 'friends' (similar to Twitter), but I'm thinking if I want to show users r...

Rewrite redirects the simple regex to base file.

I'm trying to do the basic mod_rewrite clean URL trick, where /category/item rewrites to /category/index.php?id=item. In the /category directory, I have this in my .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteBase /category/ RewriteRule ^(.+)$ index.php?id=$1 [L] It sends the request to the index.php script jus...

Deliverables for PHP web designer

I'm in the design phase of a medium-sized PHP web application (not a static website). Since I'm a programmer with the creativity of an eggplant I'd like to contract with a freelancer to design the look and feel of the application. What deliverable should I ask for from the designer? HTML files? PHP files? How do I apply the look and...

how to expose a service as secure?

hi friends , in a project i want to expose a service to clients for giving a xml file to them. i use web service and soapHeader for authentication. is the way secure? what is foible of it? what is the other Techniques for this aim? i read something about REST. is it for this? ...

JavaScript "this" keyword

I have noticed that there doesn’t appear to be a clear explanation of what is the "this" keyword and how it is correctly (and incorrectly used) in JavaScript on the stackoverflow site. I have witnessed some very strange behaviour with it and have failed to understand why it has occurred. Would anyone care to explain to me how “this” w...

502 Bad gateway WCF does not respond

Hi IIS6 -- I have a server on my network which have a network name called Test_Server. It is connected to ISA proxy. -- I have a server a domain name called Live_Server having the IP Live_IP. It is not connected to any proxy. or suppose to be. -- off course I open all firewall ports --I have a WCF REST service, I use HTTPS to conn...

For performance, use one or several css files ?

I'm wondering if it's better to make one or several files for CSS files ? I always see websites with a plenty of css files, but it seems better to use only one large file. What's your advice ? ...

How do I send a site user login information without being redirected to that site?

I have a form that collects a user's username and password for a third-party site. Only when the login information works do I want to proceed on my site. My problem is that I currently have it set up as a form with the action link the third-party and when they click on the button, it just redirects them to the other site. How can I only ...

Where can I obtain a list of User Agents for SEO bots?

I am implementing a simplistic filter on how much of my site unregistered users can acces. Naturally, I want to give SEO bots free reign/access to most of the site. I know this is simplistic. But its not worth doing anything more complicated. I need to compile a list of names of user agents I will allow, for this, I need a list of the ...

OpenID log in is slow

I have implemented OpenID on my website, so that a user can successfully use the system to authenticate. However, it seems like the redirect from my site to the OpenID provider and the redirect from the provider back to my site takes a long time. I am using PHP and the CodeIgniter framework, with the provided library on their wiki. Wh...

What is the best method to dynamically sandbox inline JavaScript?

I have a WordPress plugin that loads pages with AJAX and to ensure compatibility with other plugins and "widgets." As of right now I use the following code to evaluate all inline JS that is inside the content blocks to be updated: function do_JS(e){ var Reg = '(?:<script.*?>)((\n|.)*?)(?:</script>)'; var match = ne...