On nydailynews.com when you copy and paste any text from the site, a snippet of text is appended.
Read more: http://www.nydailynews.com/#ixzz0aN123abc
How do they achieve this?
I have searched all of the external JavaScript files (jquery) and can't seem to find anything that corresponds. Is this something that could be done in ...
Hello,
How do I set the $().sortable(); to a specific area to drag the entire object on? For instance, i want the user to only drag the object by holding on the area of the object.
this is my JS:
$('ul.droptrue').sortable({
connectWith: 'ul'
});
here's my html
<ul class="droptrue">
<li>
<span>Title</span>
...
I got used to Jeditable to live update things inside mssql database. But I wonder if I can update url image on page and in database.
Url image is like this "costumes/china_town/hat.png"
So once I click on image I want be able to edit "costumes/china_town/hat.png" and submit it to database once I hit enter. Then reload image on current ...
If you look at this screenshot, I am trying to have the red image show under a link when you click it. If you click Link 2, it will show under link 2.
It is working in all majore browser except IE 6. When I click a link in IE 6 it loads the on class for the ul, but the image does not show.
Can anyone see a problem with the code I have?...
So I wrote an image gallery with an option to download the original image (by default, it displays a resized version of the image). I would love to know how to I
The following code will force users to save pdf rather than viewing it with browser, I would love to achieve the same effect for the images (jpg, gif, png) by binding the clic...
I'm using jQuery for my app and I'm getting this error in IE:
Line: 13
Char: 9
Error: Expected Identifier, string or number
Code: 0
..well, as you can see, the error isn't quite helpful. How do you fix those weird IE errors? Is there any tool or a list of error descriptions that tells you what to fix?
Thanks
...
I have the following code, written using jQuery:
var strval = '22'
$("#quicknote").attr("href",
"javascript:location.href=/'http://site.com/notes/add?projects=/'+ strval")
Which results in the following attribute:
<a href="javascript:location.href='http://site.com/notes/add?projects='+'strval'"
id="quicknote">
But, what I wan...
I'd like to use DD_belatedPNG for a project, but I'm not allowed to edit the markup to add the following conditional comment that is required for the script to function:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
/* EXAMPLE */
DD_belatedPNG.fix('.png_bg');
/* string argument can be any CSS selector */
/* ....
I am trying to customize a photo gallery in Squarespace. A test gallery can be found here - http://dzrtgrls.squarespace.com/gallery/test-2/4011897 . What I would like is to have the next or previous images load so that the prev - / + next navigation is at the top of the browser window. So it seems I need to somehow append each url wi...
I'd like to know if I can load an external JS dynamically based on some condition, for example:
$(window).load(function () {
if($.browser.msie && $.browser.version=="6.0") {
// load ie.js
// do stuff using ie.js
}
});
...
Hi
I am new to ASP.NET, AJAX, JSON, jQuery and am trying to figure out a solution to the following problem:
There is this web page in ASP.NET which would contain few radio buttons. The page_load() would query SQL Server database and get a list of years i.e. 2009, 2008, 2007, 2006 etc. In the client side script, I need to create as many...
$(window).load(function () {
if($.browser.msie && $.browser.version=="6.0") {
// do stuff
}
});
Just realized that $.browser has been depreciated in 1.3. What is the new method for detecting IE, specially IE6.
...
I need to show a popup (balloon popup as in google calendar) while creating an event in the jquery full calendar.
Any best plugins for the popup which shows as balloon and also which handles the click events (which I am using to create/edit/delete events from popup)?
...
hi there,
I'm suing the jQuery cycle plug-in and it's awesome. However, there's one issue that I can't seem to get around.
My pages are loading via Ajax, but if I refresh a page directly through the browser, it's as if the timeout is still based on the previous pageview.
The slides themselves work properly, but the active slide on t...
I've got some links that I want to select class and id at the same time.
This is because I've got 2 different behaviours. When a class of links got one class name they behave in one way, when the same clas of links got another class name they behave differently. The class names are switch with jquery.
So I have to be able to select a l...
Hi!
I have this jsbin http://jsbin.com/ehidi. I wanted to change the data attribute and param[name="movie"] value attribute. It seems to work on Firefox but not on Google chrome or Safari (webkit?).
Thanks!
...
So the situation is for comments on a blog in progress, each commenter will have the ability to reply to any comment. To do this, I have a link that, when clicked, will reveal (with jQuery) a special reply form right there as opposed to the normal one at the bottom of the page. So instead of loading a form on every single comment when th...
I have added the client side validations on a form using jQuery's validate() function and assigned rules and it shows the error messages in Red color below the respected fields. I want to show same error messages after performing server side validations done in PHP. Please help.
...
Hi Folks
i have a page with swf flash flash with width 300x250
<div id="flashswf"> ...some flash </div>
<div id="maxme">full screen</div>
i have a link called full screen and i need to maximize the flashswf div to fit the current browser maximum height and width
is this possible using jquery ? any ideas plz
...
Hi I wanted to upload images(along with other form details) and preview them, using jsp and servlets. I am able to do the uploading part but could not get, how to preview the images in the frontend.
I am using YUI to implement it. Actually I am trying to reuse an example which is implemented in PHP. I am attaching my Servlet code here....