I am trying to obtain something similar to the "share this on..." menu here but I don't quite understand how they are doing this, even after a look at their CSS. I refer to the fact that the images show up on hover.
My first attempt would be something like
<div id="share_on">
<ul>
<li><a href="#"><img src="shareon-digg.png"...
I have to create a bunch of these "Share this on" Technorati, Digg, Facebook, Reddit, del.icio.us, StumbleUpon, MySpace and so on. It is very easy to find online icons for this task, but it is a little more difficult to find what URLs I should link.
Is there any updated list of all these services? Of course I could copy them from other ...
i wonder if large web applications like twitter and facebook have admin panels to handle CRUD for users, posts, images, themes and so on just like in CMS like drupal?
so programmers have to code the front for the regular users AND back for the administrators?
if i develop an web application is it recommended that i also code the admin ...
This week I decided to add a new element to a javascript array by copying a similar one from a previous line; unfortunately I forgot to remove the comma so the end result was something like var a = [1, 2, 3,].
The code went live late Friday afternoon just before everyone left for the week-end, and it completely broke everything in Inter...
Hi,
If a website operating on a domain other than my own supports get requests, like:
http://api.someothersite.com/v1/farms
There's no way for me to access it using JSON-P right, they would have to have support for it as a query parameter? Something like:
http://api.someothersite.com/v1/farms?callback=fantastic
I mean, there's no ...
I have just installed paperclip into my ruby on rails blog application. Everything is working great...too great. I am trying to figure out how to tell paperclip not to output anything if there is no record in the table so that I don't have broken image links everywhere. How, and where, do I do this?
Here is my code:
class Post < Active...
$.getScript("somescript.js", function() {
alert('Load Complete');
});
Once loaded, is it cached or is it loaded again if referenced more than once?
If an event depends on this file being loaded, will the event be delayed of fail/timeout in case the file takes longer to load or doesn't load?
How do I check and do something in case ...
I have several embed codes on my website, for example:
Embed Code #1:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/f8Lp2ssd5A9ErAc&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="...
I have two webservers in a cluster serving a web application.
Using MS Web Deploy to push a new version of the application to one server, and then again to synchronize the files to the other server in the cluster. It seems to be the most ordinary thing to do.
But wouldn't there be a problemm, when one server is deployed with the new v...
Suppose you have a web application, no specific stack (Java/.NET/LAMP/Django/Rails, all good).
How would you decide on which hardware to deploy it? What rules of thumb exist when determining how many machines you need?
How would you formulate parameters such as concurrent users, simultaneous connections, daily hits and DB read/write ra...
I have a gallery in my rails app that needs to only allow certain images to be shown to specific, logged in users. I am using Paperclip for image processing now, but it saves all images in a public folder available to anyone.
Note that I don't have to use Paperclip if there is a better way, and I already have the login system in plac...
I'm using a content slider plugin that is nice but lacks one important feature: does not stop auto-rotating slides on mouseover.
Here's the relevant part from the script:
var dotimer = function (x){
if((opts.auto) == true) {
if(timer != null)
clearInterval(timer);
timer = setInterval(function() {
...
I am building an advanced image sharing web application. As you may expect, users can upload images and others can comments on it, vote on it, and favorite it. These events will determine the popularity of the image, which I capture in a "karma" field.
Now I want to create a Digg-like homepage system, showing the most popular images. It...
Hi, i bought a web domain with some web space. They support only mySQL DB, how do i access the my SQL DB on my asp.net application? is there is way to access it through .net base classes without installing third party drivers?
...
Is it possible with css to visually indicate which links points to another site?
...
I have the following code:
$('a.btn-slide').toggle(function() {
$("#DivToSlide").slideUp("fast");
// ...
}, function() {
$("#DivToSlide").slideDown("fast");
// ...
});
Later in my code, I want to find out if #DivToSlide is in either the up or down position.
How do I do that?
...
I have a page with several checkboxes on it. The checkboxes correlate to user permissions so when I change users and the page refreshes, the values of the checkboxes should change since each user is different. In spite of the fact that my code sets the value of the checkbox, viewstate or whatever changes the values to what the previous...
i know that everything is going through the controller.
but i often read articles that says something like this:
user interacts with the view
controller asks the model to change its state
model notifies the view when its sate has changed
i dont get the 3rd one. why saying that the model notifies the view, when it actually is notifyi...
How can I write a program in php to get the domain information of an existing domain or if a domain name is already taken...? I would like to get the information using php.
...
Post a snippet of code from your favorite templating engine, with the name of the engine and a link to its homepage; show off its basic syntax and maybe some neat features about it that makes it unique.
Hopefully this will give people an idea of what's out there and make it easier for them to decide on an engine.
...