Most popular browsers, while rendering an image, they display it line-by-line top-to-bottom as it loads.
I have a requirement that a wait gif should be displayed while the image is loading.
When the image is fully loaded then it should be displayed instead of the wait gif.
If it helps, the site is http://farros.gr, main image: /images/bg.jpg and the div containing the image is named #main-content-image.
Hi,
I'm using EasyPHP (my OS = Windows XP) and I've wroten an little php-script that should update my database every hour while server is up.
I could include the script into the index.php but then it would only be executed when there is activity on the site.
How can I configure EasyPHP or Cygwin to execute my cron job ?
thx
Quite simply: is there a place such as DeviantArt, but purely for the purpose of sharing software (and source if preferred)? I'm aware that DA has plenty of software, but only related to customisations and UI hacks.
I recently came across some really useful apps I had made from way back and besides posting it on an online code hosting site or a personal portfolio that no one will ever find, is there some more community-ish places on the internet I've missed out on where coding mercenaries share and show off?
Hi
Is there a industry standard way of packaging and deploying web services which can cater to following contraints/Complexities
Web services are developed in different location and ultimately deployed on common site
This should take care of versioning ( Side by side web service deployment)
Client side versioning issues
I am working on a site http://tapasya.co.in where i just impemented mootools slideshow.
But I noticed that menubar that i was using stopped working, it was supposed to drop horizontaly but it is not being displayed now. I have used jquery for it. Please see the source of the web page. What can be the problem ? Mootools conflicting with javascript or some other problem
I've gone to Team--Connect and tried to enter the details for the TFS on the CddePlex site:
https://tfs05.codeplex.com
Then it asks for the user name and password - which I assume is something like
[email protected] + my codeplex password.
But is doesn't let me sign in?
What assumption is making an ass of me?
I have a number of images on a page contained within a single sprite image, these images must be contained within the single sprite due to other requirements of the site.
Whilst this is working fine in most browsers I have an issue on Opera Mini where it is not rendering the sprite at all and just displaying the whole image.
Is there any CSS that can be used to provide a text alternative when the browser is unable to render the sprite?
Hi i am trying to login site with request, using username and password , i can succesfully login the user than i want to parse some html and send it to database ,what it return is activex object that i can not do anything(by the way i am using java to do that) ,in order to bypasss the active x object what is your solution?
1-First come to my mind i can write c# application that using internex explorer dll than login user, it parse html and send it to database than i can use data in database
Ok so here is the situation. Been pulling my hair out on this one.
I'm a noob at this. Only been using rails for about 6 weeks. I'm using the standard setup package, and my code leverages prototype helpers heavily. Like I said, noob ;)
So I'm trying to put in some jQuery effects, like PrettyPhoto. But what happens is that when the page is first loaded, PrettyPhoto works great. However, once someone uses a Prototype helper, like a link created with link_to_remote, Prettyphoto stops working.
I've tried jRails, all of the fixes proposed on the JQuery site to stop conflicts...
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
...even done some crazy things likes renaming all of the $ in prototype.js to $$$ to no avail. Either the prototype helpers break, or jQuery breaks.
Seems nothing I do can get these to work together.
Any ideas?
Here is part of my application.html.erb
<%= javascript_include_tag 'application' %>
<%= javascript_include_tag 'tooltip' %>
<%= javascript_include_tag 'jquery' %>
<%= javascript_include_tag 'jquery-ui' %>
<%= javascript_include_tag "jquery.prettyPhoto" %>
<%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'scriptalicious' %>
</head>
<body>
<script type="text/javascript" charset="utf-8">
jQuery(document).ready(
function() {
jQuery("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
If I put prototype before jquery, the prototype helpers don't work
If I put the noconflict clause in, neither works.
Thanks in advance!
Chris
BTW: when I try this, from the jQuery site:
<script>
jQuery.noConflict();
// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery("div").hide();
});
// Use Prototype with $(...), etc.
$('someid').hide();
</script>
my page disappears!
I sometimes use the following site to look at browser and OS trends http://gs.statcounter.com/. It got me thinking about how the iPad is going to be classified, as a mobile platform or a desktop platform, or is it going to spark a new category. Since it runs iPhone OS, it could be considered a mobile device, but I have a hard time with that because of the screen size.
What should iPad be classified as: Mobile, Desktop, or Other (Try to come up with a good name for Other)?
Hi,
I have an .NET 1.1 web app and I am upgrading to ASP.NET MVC 1.0 app in IIS6.
How do I put up a under construction page so uses see it?
And secondly how can I install the new site and test under
this scenario of having an under construction page??
Malcolm
Using Facebook's Graph API, given a username xyz (assuming they've authenticated my site), how do I get a list of all of the facebook pages that the user administers?
I am using XAMPP and was wondering if I can code my site to include RSS feeds. Would the codes work and can I test it if I am working on a local server?
I am practicing using the OReily head First PHP/Mysql book and I'm on the chapter on RSS and getting RSS videos from youtube.
Lately I'm interested in a topic of genetic algorithms, but i couldn't find any good resource. If you know any good resource, book or a site i would appreciate it. I have solid knowledge of algorithms and A.I. but im looking for something with good introduction in genetic programing.
I am unclear about the differences between international, national, regional and local ISPs. Please explain the differences and their importance, with examples. I am new to this site, so please forgive me if my question is not up to your expectations.
I'm looking to have a livechat service integrated within a site where I can create chat rooms on the fly based on participants tied to that specific area... Anyone recommend using a 3rd party service I can install on the server that integrated easily with .NET, or just build one using polling method? I'd like something with socket connection, but not sure what's out there that either cheap or free that I can use.
I'm developing a website with JRuby on Rails because I need some Java functionality server-side. I figure to deploy it, I will need to use a hosting service that supports JSP. Am I right and is that all I need? Or is there something else I will need to deploy my site? How would I go about doing this?
I've built a Base Controller that all of my Controllers inherit from, and I've got it setup so that it checks the browser type and returns the appropriate MasterPageFile on the fly.
I'm wondering if this is an efficient way to do this or if I should optimize it another way.
Public Class BaseController : Inherits System.Web.Mvc.Controller
Protected Overrides Function View(ByVal viewName As String, ByVal masterName As String, ByVal model As Object) As System.Web.Mvc.ViewResult
If Request.Browser.IsMobileDevice Then
Return MyBase.View(viewName, "Mobile", model)
Else
Return MyBase.View(viewName, "Site", model)
End If
End Function
End Class
Session[Constant] vs Session["String Literal"] Performance
I'm retrieving user-specific data like ViewData["CartItems"] = Session["CartItems"]; with a string literal for keys on every request. Should I be using constants for this?
If yes, how should I go about implementing frequently used string literals and will it significantly affect performance on a high-traffic site?
Related question does not address ASP.NET MVC or Session.
Is there a way that I can trace every method, basically a line trace, in an asp.net web site in production environment?
I don't want to go about creating db logging for every line - i see an intermittent error and would like to see every line called and performed by the website per user.
Hi,
A while a go I saw a good post on SO about a user who wanted to create a site using a point system similar to SO, but I havn't been able to find it since.
Can anyone direct me to a good article or post about creating point driven sites/forums?