Possible Duplicate:
What's the shebang (#!) in Facebook and new Twitter URLs for?
#! What does it mean in a URL ?
I found it in facebook & twitter url !
http://www.facebook.com/#!/
http://www.facebook.com/#!/?sk=messages
http://www.facebook.com/#!/?sk=ff&ap=1
http://twitter.com/#!/messages
http://twitter.com/#!/BillGates...
I'm creating a website using the cakePHP framework and I and a newbie to php and web programming. I want to do something similar to Digg's submit button, where you type a url and it fetches an image, title and sometimes a short description of the article on the webpage. I'm assuming this would be done using php but I'm open to any meth...
I ask this question because so many times i build a website then i have to spend sometimes as much time i took building the website, modifying code so it works in ie.
it takes a long time because at present debugging tools for ie are appalling. definatley not up to the standard of firebug.
in a few years gone, if i was to create a flash...
{with} and {loop} plugins in Dwoo template engine change default context for variable name resolution.
If in Dwoo you feed template:
{$arr.foo}
{with $arr} {$foo} / {$arr.foo} {/with}
with data:
array('arr' => array( 'foo' => 'bar' ))
it will output:
bar
bar /
because second {$arr.foo} actually means {$arr.arr.foo} in global c...
When I set the font family, font size, color etc. it seems that some nested elements override these with ugly browser defaults.
Must I really specify those a dozens of times for any kind of element on my page, or is there a way to set them globally once and forever?
How to do that?
...
I'm building a JS library which has a requirement of looking at form[action] and a[href] values and resolving them into absolute URLs.
For example, I'm on http://a/b/c/d;p?q and encounter an href value of "../g" (assume there's no <base> element). The resulting absolute would be: http://a/b/g.
Is there a JS library that does this alre...
From the documentation I've found this example:
We can animate any element, such as a simple image:
<div id="clickme">
Click here
</div>
<img id="book" src="book.png" alt="" width="100" height="123" />
With the element initially shown, we can hide it slowly:
$('#clickme').click(function() {
$('#book').fadeOut('slow', func...
Hi,
I have the following sample HTML code: http://pastebin.com/Mya6tPc6
And here is the jQuery code I am trying to use:
$("#folder1").click(function(){
alert($(this).attr('id'));
});
$("#f1").click(function(){
alert($(this).attr('id'));
});
Here is the problem:
If the user clicks on the element 'folder1', it will display 'folder1'...
I've recently discovered a website which does something really cool! Example:
There are two links "Cat" and "Dog".
There are two DIV containers, id="catImage" and id="dogImage"
The initial URL looks like http://mysite.com/#cat
Initially, the cat image is visible
Clicking on the Dog link will fade out the catImage div and fade in the d...
Sales guy here (duck) has a 3 programmers strong team at hand and asks what kind of clients he could provide them with. They love RoR but are not shy of other technologies. They want to do web development as a team. Now the question is what kind of projects can they realistically tackle? I researched the market and it seems there are...
I can think of quite a few components that need to be created when authoring a web application. I know it should probably be done incrementally, but I'd like to see what order you usually tackle these tasks in. Layout your usual order of events and some justification.
A few possible components or sections I've thought of:
Stories (i...
Possible Duplicate:
What do most users consider acceptable load times on a website?
How long should a page take to render after it has been received? I'm talking about initialization javascript and css.
I know this should be considered with what an acceptable overall load time should be. And, I would like to see numbers on th...
Hello,
I am relatively new to Photoshop and I want to improve my skills. I am looking for recommendations from the stackoverflow group for screencasts or tutorial which will show me the basics to advanced use of the Photoshop software,
Any suggestions would be greatly appreciated,
--J
...
Hi, I was looking around and cannot seem to find a way to create a simple form with no submit button (enter only) that checks to make sure that the information typed in is really a email address. Any help would be appreciated.
*Disclaimer I know almost nothing about PHP. I realize this is very easy, I just do not understand it.
...
Hi,
I am trying to set up a preview button in an edit form based on the railscast by Ryan Bates. There are two buttons [edit] and [update].
When the user clicks the preview button, the "update" function in the controller is called. If I simply set the @article variable based on a find of the article table (as per below controller) th...
This may be a too broad question but how would you develop a simple web-based IDE/editor? For a lecture I was thinking of a simple editor where you could enter some sort of code, press compile and then display the results, error messages etc. in some way.
Does anyone knows some examples (with source code maybe), or any suggestions on ho...
The quick login/no registration of stackoverflow is one of its finest features. I'm just curious if there's an off-the-shelf solution for providing this service.
Has anybody seen anything?
...
As i would now like to develop better webapps then the basic php and javascript ones that i currently create, i would like to know how web devs create some of the amazing websites that i have used over the past few years.
For example, On some of the websites that i visit they have the ability to drag and drop items from a palette onto t...
how can i create form for web analytics for other blogs to serve as sitetrail ,webdigr etc.
from my own blog techlaugh.com . .
plz serve me .
...
Is there a real reason to hide exceptions on a webpage? I can understand hiding to not scare users but on the site i am developing theres no concern for scaring users. I imagine if you have SQL injection holes hiding the exception wont actually matter.
So what reasons might one have to hide exceptions on a webpage from users?
...