web-development

Page title structure: SEO and accessibility

I am choosing a page title structure for my website and am unsure what to choose in terms of accessibility and SEO. Is there a benefit to putting site title after the page title because of the unique part being earlier? Are there any other benefits one way or another? Example 1: Page title | Delan Azabani Example 2: Delan Azabani » Pag...

How can I do the pagination in my Perl CGI script?

I have a CGI page with a table which is populated by fetching the data from database, in a word its like a DATAGRID. And just at the bottom right end of tha Grid I need a link like "First << 1 2 >> Last" or like" |< < > >| "on clicking which I can navigate to and fro the records. And I am intend to have "10" records per page. While sur...

PHP parse error - please point out the coding horror...

Here is the code: Class_view.php contains the class definition as an associative array: class View { private $viewArray=array(); function getViewArray() { return $this->viewArray; } function addToViewArray($key,$value){ $this->view[$key]=$value; } } In Index.php I have: $view=new View(); $view->a...

Javascript Windows Framework

Sometimes I see web based software that is designed using some slick javascript windows which try to emulate the Windows desktop experience (draggable windows and a start menu). Are there any free frameworks like this available? ...

Max image width in Mobile Safari? Getting unwanted downscaling on panos

I want to display very wide, panoramic images in Mobile Safari (iPhone, iPod, iPad). These work fine in OS X Safari and in other browsers, but on Mobile Safari there seems to be a limit on the maximum image width. Consider this web page: http://basepath.com/public/test1.html with this source: <!DOCTYPE HTML> <html> <head> <meta name ...

Dynamically obtain data for HTML5 Graphic

On my Website I have tables of data that is stored on a database. Also, I use HTML5 in order to generate graphics relative to those data. While there are some general use graphics, I also want users to see how some specific data has evolved in time. Currently, in order to see that data, you need to click on a link at each value, leading...

How to show just text inside an INPUT attribute? HTML

I do want to show just text inside an INPUT. So, How can I do it? <p><input type="image" src="" border="0" name="submit" alt="Donate"></p> Basically, It works good but Safari and Chrome does not display the alt="Donate. Instead, it shows an empty square. Edited: I have used this code from bobince: <input type="submit" class="unbu...

How does JavaScript interpret indexing?

function highlightRow(searchRow) { if(searchRow != null) { var oRows = document.getElementById('Table').getElementsByTagName('tr'); //use row number to highlight the correct HTML row. var lastTwo = searchRow; lastTwo = lastTwo.slice(-2); //extract last two digits ...

How can I automatically track PayPal donations and display it on my site?

Hi, I would like to automatically track PayPal donations and display the current donation amount in my site. So, How can I do it? Should I use PHP? Do you know tutorials for it? Thanks ...

How do you allow users to dynamically create a web page within a web app?

For example, when a user adds a question to a Q&A site, that question typically gets its own web page, and that web page was created on-the-fly. How can you do this with PHP? Could anyone point me to any resources? Thanks. ...

jQuery UI Slider stop

I'm using the jQuery slider as a submit button because it's cool and a good anti-spam filter. However, when the form is validated, in case the user didn't fill something out, the page displays and alert and set the slider value to 0. It works pretty well, excepting by the fact that when the user dismiss the alert, the slider goes back to...

Datagrid friendly web stacks?

Hi all, I have an internal web application that updates a database schema equivalent to something like this: cds ( cd_id : primary key title : string ) tracks ( track_id : primary key title : string ) cd_tracks ( cd_id : references cds(cd_id) track_number : integer track_id : references tracks(track_id) ) That is, a t...

stackoverflow style notification bar

Possible Duplicate: Notification alert similar to how stackoverflow functions The notification bar the top, which shows things like ' you earned xyz badge". How is it done? I am trying to create someting similar in my rails app. I use blueprint for my layout, it's a standard single column 950px layout, with everything from t...

How to select a row in rich:dataTable by mouse click?

Hello I have a rich:dataTable on one modalPanel alongwith two commandButtons named as OK and cancel. In one of the columns I have radio buttons. By selecting a radio button and then click OK. I am able to select that particular row. But my requirement is to delete the column which has radio button. I want to select the row by clicking o...

Robust auto-refresh web page

I have many web pages that needs to auto-refresh once a minute. Easily done with META REFRESH or a some javascript. (And yes, the whole pages needs to refresh -- LOTS of content changing). However, it needs to be as robust as possible. If the web server is momentarily down or there is a network hiccup, it can't refresh and will then ...

how do i build a website using access 2010?

has anyone done this yet? please show me some good tutorials on building websites with databases using ACCESS 2010 you can build a website using it: http://www.youtube.com/watch?v=AU4mH0jPntI ...

What ways are there for web developers to collaborate when building a web app/site?

After much planning we're going to be building on, and heavily modifying some CMS software. There are going to be three to four developers working on the project with myself overseeing work. They will be working from a single document listing features to be made. How do we go about bringing these developers together, ensuring they col...

Is it true that writing the database name in every query is faster than calling mysql_select_db() on every page load?

Hi, I work at a fairly big website; we have ~400-500 million page views a month. We use PHP and MySQL. Currently our page flow works like this (semi pseudo code for clarity): mysql_connect(); mysql_select_db('red'); mysql_query('SELECT * FROM apples'); mysql_query('SELECT * FROM cakes'); One of my co-workers suggested that mysql_sele...

how to popup my google chrome extension

google chrome extension: i have added a context menu to the browser, how to I popup the popup.html on click on the context menu item ? ...

How to stay tuned with the latest technology of web, desktop and mobile development?

There are so much new things going on in the era of Internet and I wonder how you guys are staying updated in this area. Do you have good links, yearly conferences, blogs, twitter profiles, irc channels, mailing lists etc to share? I want to stay tuned too! ...