I'm faced with a business requirement that I believe may be solved by implementing CSS variables.
Basically, while the front-end developers on this project are in charge of CSS implementation, the designer wants to be able to introduce different "themes" for the site.
By swapping one theme for another, a range of changes (such as font-...
Hi,
I am showing the birthday option and have used the jquery ui date picker. The problem is that I want show past dates for example starting from 1950 till 2000 but I don't know how to do that, i tried this but it did not work:
$('#dob').datepicker({
showOn: 'button',
buttonImage: 'images/calendar.gif',
buttonImageOnly: tr...
Hi,
I've found Lombardi's Blueprint as an example of applying GWT. It's awesome.
I wonder how is it built, inspite of using GWT. What kind of widget and client JS frameworks did they use. Any info appreciated.
...
Hi to all.
I'm developing a ASP.NET MVC 2 web application. So far, I managed to define access rules for every controller function, using "RequiresRole" attribute.
Suddenly, this way of defining access rules stopped working (now every user can invoke any of the controller methods). :S. I tried debugging, and it seems that user-roles are...
which is better for use
.menu{
float:left;
width:600px;
height:25px;
background:url(bg.png) repeat-x;
}
.menu ul{
float:left;
}
.menu ul li{
float:left;
width:150px;
height:25px;
background:#F00;
}
or
.menu{
float:left;
width:600px;
height:25px;
background:url(bg.png) repeat-x;
...
I want to ensure my pages will look right as soon as IE9 comes out.
For example, I have already noticed that the background-size in the IE9 platform preview works, but is inconsistent with chrome, chrome resizes maintaining the aspect ratio, while the IE9 platform preview distorts the aspect ratio.
But who knows if this will be addres...
Firstly, I am fairly new to server side scripting so I don't know if this question makes sense.
Suppose a page has stored sessions for PHP, Perl and ASP. Is there a quick and easy way to emulate the browser being closed and re-opened to reset/destroy/clear all the sessions at once? Or would one have to go through the session clearing fo...
Hello,
I'm currently working on a webpage and I'm having troubles with Firefox when I resize the browser window. Content in the "featured" div overflows when the window is made smaller. However, this is not an issue in IE 8. I have not tried any other browsers yet. Any ideas?
HTML:
<div class="slider_container>
<div id="featured>
...
Hi. I'm trying to use the JW HTML5 player in an AnythingSlider. It works fine on all the browsers but not on iPad; Page is here: http://bit.ly/d3ouub
Here's what's going on:
- If you start a video in any of the AnythingSlider panels (Panel 1 and Panel 5 contain video), the video will overflow the AnythingSlider and appear either on the...
Hello,
I upgraded my site from asp to asp.net.
This means that all of my previous asp files became obsolete.
I don't want to lose my Google Ranking of the old pages.
What is the proper way to redirect?
I tried to catch all of the old asp pages is my 404 and then to:
if Request.QueryString("aspxerrorpath").contains("index.asp") = true ...
I was asking the following question during interviewing in a company working on cloud computing, and did not answer well. Any suggestions on how to analyze this question will be greatly appreciate.
Our company has hundreds of millions of users and we expect zero down time in production, explain techniques and programming practices that ...
Hey everyone,
I've recently started a new web development project for an embedded device and wanted to solicit some recommendations for technologies to use. The device will serve HTML pages which include AJAX code to retrieve data from a JSON server. We're tentatively using Cherokee as the web server, though we're not tied to it.
Curre...
So in my script I have...
<script type="text/javascript">
var images = new Array();
var numImages = 3;
var index = 0;
function setupSwapper() {
for (i = 0; i < numImages; i++) {
images[i] = new Image(266, 217);
images[i].src = "images/image" + i + ".png";
}
setTimeout("swapImage()", 5000);
}
function swapIm...
What is the Microsoft version of an embedded Java web applet? Is there a good example of one on the web?
Also, why is the dynamic web dominated by ajax and not embedded applications?
...
I am trying to develop my first python web project. It have multiple tabs (like apple.com have Store, iPhone, iPad etc tabs) and when user click on any tab, the page is served from server.
I want to make sure that the selected tab will have different background color when page is loaded.
Which is a best way to do it? JavaScript/CSS/Direc...
My organization is rewriting our database-driven website from scratch including a brand new database schema.
In the current setup both live and test websites use the exact same database.
We would like the next version to have a separate database for both live and test versions of the website.
Updating the live version of the database ...
Possible Duplicate:
Very large HTTP request vs many small requests
I need a 2D array(as Json) to be sent from server to client. It would be around 400X400 in size with each entry around 4 characters of text. So that makes it around 640KB of data.
Which of the following extreme approaches is better ?
I make a large HTTP requ...
We all know the difference rendering on different browsers and various support for styles and other things on different browsers.
While start developing a site, which browser would be optimal to start and then to proceed with convincing other browsers by various methods.
For e.g. Is it ok to start with IE and then do the necessary chan...
Is there any tool available to just format (remove whitespace and indent correctly) an *.html.ep file?
Its a template file of a perl app.
Thanks
...
I'm working on an ajax web appliation which contains many running timeouts and intervals. And now I need to clear all running timeouts and intervals sometimes. Is there a simple way to stop everything without need to store every timeout and interval ID and iterate through them and clear them?
...