I have used a scrollTop function in jquery for navigating to top. But strangely 'The smooth animated scroll' stopped working in safari and chrome(scrolling without smooth animation) after I made some changes. But it is working smoothly in Firefox. What could be wrong?
Here is the jquery function i used,
jQuery
$('a#gotop').click(functi...
So I downloaded a jQuery UI Theme and link it, but it looks nothing like the them on the site. The buttons are huge and so is the text.
<link rel="stylesheet" type="text/css" href="/css/trontastic/jquery-ui-1.8.2.custom.css">
$('#Delete').dialog({
modal: true,
autoOpen: false,
title: "Dele...
Hello. I have the following jQuery script that makes an orange transparent hover effect cover the image when it's rolled over. How do I make it so this script will animate in and out (with a fade?)
$(document).ready(function() {
$('#gallery a').bind('mouseover', function(){
$(this).parent('li').css({position:'relative'});...
I'm trying to create a greasemonkey script (for Opera) to add autocomplete to input elements found on a webpage but it's not completely working.
I first got the autocomplete plugin working:
// ==UserScript==
// @name autocomplete
// @description autocomplete
// @include *
// ==/UserScript==
// Add jQuery
var GM_JQ ...
Is it a good way to use JQuery UI themes while implementing a high traffic website. Is it easy to edit and customize a little based on my website needs? Does it has any famous problems? want to hear your ideas about it and is it safe to use or its better to write all my CSS from scratch.
Note that i checked the themes there and found ...
In the following code once the mouse out is done the mouse over again does not work ,what is the work around for this
<!DOCTYPE html>
<html>
<head>
<style>
/* div { background:#def3ca; margin:3px; width:80px;
display:none; float:left; text-align:center; }*/
</style>
<script src="http://code.jquery.com/jquery-latest.min.j...
I'm using a basic integration of jQuery Tools "tabs" function and it's working perfectly for me, but the one thing it seems to lack over jQueryUI is that there's no way I can find to make the tabs collapsible. By that I mean all you need to add is
collapsible:true
to the jQueryUI tabs function.
Does anyone know of a way I could appen...
Hello,
I have jquery tabs like
<ul id="tabsList">
<li><a href="#tab-1">Name 1</a></li>
<li><a href="#tab-2">Name 2</a></li>
<li><a href="http://www.google.com/">Name 3</a></li>
</ul>
<div id="tab-1">content 1</div>
<div id="tab-2">content 2</div>
the first two tabs load the respective divs. But the third one should go ...
I'm trying to use jQuery Button to build a button bar for each item on my page; however following the examples I get poor performance when the number of items goes over 100. I've added context to my calls which helped a little but it bugs me that I'm revisting the same context for each button built.
Below is an example of the code used ...
All,
I have a PHP website written in Zend Framework and MVC. Most of the controller actions check if the request is an Ajax request or not, else they redirect the user to home page. I am thinking about various ways to break that site. I am considering the following scenario:
A user creates his own PHP project on his Local machine.
Use...
Hello,
I would like to use my existing Jquery UI tabs to shoot my users off to a new browser window
Unfortunately adding a target="_blank" to the jquery tab code doesn't work.
Does anyone have any ideas?
Here is the default Tab Code found here
<div id="tabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#t...
Hi,
While creating a jQuery widget, what convention should I use to name my CSS classes. jQuery uses a 'ui-' prefix followed by the plugin name and a class specific name (example : ui-datepicker-header).
Should I use this convention? Or is the 'ui' prefix "reserved" for jQuery's official use only?
...
I am using Xinha editor with Jquery 1.4.2 and cannot use the UI components in IE 8.
Other browsers work great!
include the following scripts:
jstree also throws a 'data not included' exception (which stumps me since it works without including the xinha library)
Is there a way to find the conflict with Xinha and either wor...
Hello,
I have the following script
jquery here:
<script type="text/javascript">
$(function() {
$(".column").sortable(
{ connectWith: '.column' },
{ handle: '.widget-header' },
});
$(".widget").addClass("ui-widget ui-widget-content ui-helper-clearfix ui-corner-all")
.find(".widget-...
I want to add 'Year' or Years' to the end of a string depending on the string.
Like this:
$("#selector").val(conditional_value_here);
Using jQuery UI I have a slider that manipulates a value:
$("#slider").slider({
value: 1,
min: 1,
max: 25,
step: 1,
slide: function(event, ui) {
$("#amount").val(ui.value + ...
I have some indicator displays settings which float above a menu. Problem is when someone resizes the 'indicators stays on the same place', the page needs to 'refreshed to position correctly'. How to have a page refresh by itself when it detects the page is being resized?
or is there any better way to do it?
jQuery
function findPosY...
Hi,
I have the link below that executes the action message/new which shows a
form inside a jqueryui modal dialog.
<div id="myDialog">
</div>
echo jq_link_to_remote('Enviar mensaje', array(
'url' =>
'mensaje/new?receptor='.$miembro->getId().'&tipo=0&estado=0',
'update' => 'myDialog',
'complete...
While this should be relatively straightforward, I can't figure out how to move (rather than copy) LI elements between ULs.
All I want is to drag any item from list foo to list bar (or vice versa) without duplicating the element.
While connectToSortable does almost exactly what I want (though I'd prefer to avoid sortable), it clones th...
i'm using this script http://jqueryui.com/demos/autocomplete/#default with database. i want to highlight typed words like this: www.docs.jquery.com/Plugins/Autocomplete. Please help me.
...
I prefer my datepicker to be formatted with this option
{dateFormat: 'mm-dd-yy'}
Ex: 06-16-2010
But, I would like to allow people to enter in a slash as a seperator instead of a dash if they choose.
Is there a way to setup the datepicker so that it defaults to mm-dd-yy but wouldn't prevent someone from entering mm/dd/yy?
I do know ...