web-development

Short URL Outbound Link Tracking in PHP and MySQL

I have a site that shortens links based on Noah Hendrix's tutorial on the subject. I decided that it would be great if I could track when users click the short URLs, similar to the way that HootSuite users can track their links with Ow.ly. I currently have a database which has the short URL stored along with the true URL and it's click...

What's the best way to create a JavaScript namespace?

I have not yet found a common way on the Internet for creating a namespace in JavaScript. What's the best way to create a namespace (and please list any downfalls that particular approach might have). ...

Problem with CSS for mobile website

Hi guys, I am building this mobile website. If you check it on your mobile browser it should fit in such that there is no horizontal scrolling. (Content should only be vertically stacked). Can someone help me in fixing the CSS of the page. Just let me know what the correct CSS should be so as to auto adjust for different mobile phones...

creating a tag-based website and not using programing?

Hi. I want to create a tag-based website, and I need a tool that I could use (preferably without programing). It's a site where a user could pick tags on a certain item (tags are to be listed under a few categories). On the other end - a visitor could choose a tag, and then be redirected to a few items on which that tag was selected the...

how to do this boxes in bbc website

hello for all in this web site http://www.bbc.co.uk/ or in the end of this site http://www.cliprz-php.com/ more boxes like (travel , radio , sport , tv channel) i need to make this css boxes in my website and insert news into it how can i do this or any tutorial ...

jQuery: Executing code for each element that matches a selector

$("p") references all paragraphs on the current web page. Is it possible to execute code for each element that matched the selector? Here's a simplistic example in pseudo-code: // Show the background color of every paragraph on the page foreach (object = $("p")) { alert(object.css("background-color")); } ...

How to illuminate a browser window/tab when something interesting happens in the page?

Possible Duplicate: Make Browser Window Blink in Task Bar Hello I want to notify that something interesting has happened in a web page which is in a browser window or a tab. Eg. In Gmail chat, if you are in a different tab/window and if some one pings you in the chat the tab glows and shows some description running. How to...

Database Design Decoupling

Hi, I am working on a .NET web project with an SQL Server back end. There is a core part of the database that is populated with stock data. This data is loaded daily by a loading application. This data should remain readonly to the website. By this I mean, that I do not want a Web developer to modify the tables that are are specific ...

jQuery incorrectly reports a width of zero

I'm trying to access the width of certain elements by using jQuery's .width() function, but sometimes the return value is 0 when I don't expect it. Is this a known issue? Does an element have to be visible for this to work, perhaps? If there are limitations, how can I work around them? ...

How do I get the top and bottom bar like this?

Hey guys.. Check out the fading grey on top of the page and the grey for the footer here http://www.alcatel-lucent.com/wps/portal/BellLabs .. How do i get this using css... I tried using #bgtop{ background-image:url('bg_top.JPG'); background-repeat:repeat-x; margin-top:auto; } But this doesnt work.. Please help ...

Fitting a <ul>'s width to accommodate the menu items

I have a menu that contains submenus. Its HTML source looks like this: <ul id="menu"> <li> <a href="javascript:;">Menu 1</a> <ul> <li><a href="javascript:;">Item 1<a></li> <li> <a href="javascript:;">Subitem 1</a> <ul> <li><a href="javascript:;">Subsubitem 1</a></li> </ul> </...

Web based face recognition system

I am thinking of building a web based face recognition system. I know there are a few like KeyLemon, and others offered by different manufacturers that allows the laptops users to login into Windows using their face. I am wondering if this functionality could be transfered to a web application. ...

Building website like askmeflash.com

Dear All , I am new to html world . I build all our websites with flex . I have concepts of html ,php ,java(architect) ,Mysql( Oracle DBA) Looking for your help to build website like askmeflash.com . I mean Are there any available frameworks I can use to build like that? What should I learn to build website like this? What tools I h...

Web application architecture design

I am starting a new project trying to create a web application for an electronic programme guide for TV. This is not going to be a large scale project, but just something that I can use to learn web application programming. I am going to be using PHP for this. Before beginning coding for the application, there is a crucial question that...

Android app with cloud database

Hello - I am quite familiar with web programming (HTML, PHP, MySQL) and semi-familiar with Android Java programming, and would like to begin a project that combines the two together. Can someone point me into the right direction for how I would access/manipulate a web-based MySQL database from an android app? Thanks in advance! ...

Looking for a good python framework for web apps (w/threading support)

I am looking for a good framework for building web apps in python (could also be python + php). The apps will make http requests (GET/POST) and process data, so I'd like to have threading support to make it faster. I am currently using exec(/path/to/php thread.php ... ); to run "threads" on php. The main app will scrap tons of urls and ...

Jquery not defined timing issues

I am including jQuery in the head of a personal site. I also included an external js file right after it that uses jQuery. <script language="javascript" src="../js/jquery-1.4.2.min.js"></script> <script language="javascript" src="../js/global.js"></script> global.js merely contains the following: $(".nav-item").hover(function(){ ...

How to generate source code name?

<!-- 88 88 88 88 88 88 88 88 88 88 ,adPPYYba, 88,dPPYba, 8b,dPPYba, ,adPPYba, 88 88 "" `Y8 88P' "8a 88P' `"8a a8" "8a 88 88 ,adPPPPP88 88 ...

UI pattern to allow user to add item with unlimited sub-items

Hi all I'm writing an ASP.NET app. I need to include a page where the user can add an item which has several sets of subitems, each of which sets is unlimited in number. The subitems themselves contain between 10 and 15 fields, so need a fair bit of UI space. As an example of what I mean, the user needs to be able to add a Business rec...

Looking for fine-grained background grid (or alternative method) for exact positioning of form controls

I have to use MSIE - I have no choice, so let's now discuss that, thanks. I am having problems positioning form controls within fieldsets (within fieldsets (within fieldsets)). I have seen some solutions requiring me to add JS to my page and would rather not. At the moment I am using http://www.smileycat.com/miaow/archives/images/m...