I've implemented a cycle effect like the one seen here. In that demo the plugin adds the following inline css on the div that contains the sliding elements:
overflow: hidden; position: relative;
On my page however it adds this css:
overflow: hidden; position: relative; width: 302px; height: 414px;
Because of this, part of the conte...
Hello,
Is it possible to use "tabs"(indenting) in textarea using javascript. When tab button is clicked, the next form element is focused. But, i need to indent the text in textarea.
I am currently working in a project and any code with javascript or jquery will help me.
...
Firstly I should mention that I am aware of (and use some) statistics packages, however in this instance i want to write my own ulta-lightweight solution.
what i want to achieve:
user visits a page
once all content loading, parsing etc is complete, a request is made to .php file which increments a mysql db
what I'd like your thought...
I have the following jQuery script on my site to switch tabs without reloading the page. I'm using jQuery core v1.3.2 (NOT jQuery UI)
<!-- JS -->
<script type="text/javascript">
$(function() {
var tabify = function () {
var id = $('#content > div').hide().attr('aria-hidden', 'true').filter(window.location.hash ||...
anyone have an idea to make a marquee effect just like twitter ?
its steamless ( doenst stop waiting for the loop ends ) + fadeing at the start and the end. thanks.
edit
ok edit, ive found one semi - steamless here http://jsbin.com/uyawi/3/edit but its still laggy + not really streamless maybe becouse the use of css?
...
var iNettuts = {
jQuery : $,
settings : {
columns : '.column',
widgetSelector: '.widget',
handleSelector: '.widget-head',
contentSelector: '.widget-content',
widgetDefault : {
movable: true,
removable: true,
collapsible: true,
editable: true,
colorClasses : ['color-yellow', 'c...
Hi,
Quick question, why does my reference to weekdays inside change_date() give weekdays is undefined error in Firebug?
I also tried this.weekdays, same.
How do I correct this?
var timesheet_common = {
weekdays : ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],
change_date: function() {
$('#text_input').val( weekdays[(n...
I'm building an AJAX app. I've got several menus, where there is a list of possible options (provided by the server). The user can choose or unchoose any of those values. When the user makes a choice, it is saved to the server.
So if the total list is [A, B, C, D], it might look something like this:
User has chosen:
-A [Delete]
-B [Del...
Hi there. I've switched from Mootools to jQuery, because I think it has better support. I've got HTML like that:
<ul class="menuHandler">
<li class="menuTreeElement activeOpt" id="menuOpt1">
<ul id="menuOpt1Content">
<li><a href="#" class="menuOpener">Opcje</a><a href="#" class="sprite menuOpener"></a></li>
<li class="submenuElement">Op...
I have a table of roles that has checkboxes with access or not. I need a help-button on the right most column that shows information for the role using JQuery Dialog. For some reason the dialog only shows every second time.
Below is the code I use:
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<%foreach (Role role in...
Hi, I'm trying to remove a class from a HTML tag along with adding a new one and also doing some other magic.
Right now I just have a procedure style coding going on... which I know there's another way of doing it. Like creating a function within another function? I'm not sure what it's called and sometimes when trying to do it, it neve...
This question is really using a jQuery dialog to ask a more generic jQuery question.
I need to, in essence, pass a continuation to a modal jQuery dialog.
I want to define a dialog box once on a page, but when calling dialog('open') on it, I want to arrange for the button functions in the dialog to have a value in scope that they can ca...
Hello again,
My problem now is trying to send the ID (editable: false) of a row when editing that row.
For example, i have a grid with columns userid(editable: false), username(editable: true), firstname(editable: true), lastname(editable: true). When editing the row the grid is only sending the parameters username, firstname and las...
hi guys,
i wonder how i can determine if a ul has MORE than 2 children and if there are two children with two specific classes inside this ul …
if($(this).children().length > 2 && $(this).children('.section-title, .active')) {
$(this).append('<li class="dots">…</li>');
}
???
...
Hi
I am wondering if anyone knows how to solve this problem. I am using the jquery ui tabs and each tab I have is ajax enabled with caching disabled. So every time the tab loads it should load up all the content again.
It does this but what I don't like is first it displays the old version first while it is trying to load up the new co...
Hi,
I am using the following jquery code in my application..
the idea is to click a button when the user comes of a form and clicks any button on the screen..
<script>
$(document).ready(function() {
$('form').focusin(function() {
$(this).addClass('focused');
});
$(':no...
I have a signup form where users kan enter their subdomain of choice when creating an account.
http://_________.ourapp.com
I want them to be able to enter valid characters on the __________ part above only. I'm using a text field for that.
Is there a function or some sort of pattern that exists for such situations? Spaces should be f...
Looks like it just doesnt want to work...
@ Webservice:
<ScriptMethod(UseHttpGet:=False, ResponseFormat:=ResponseFormat.Json), WebMethod()> _
Public Function LoginDB(ByVal user As String, ByVal pass As String) As String
global.user = user
global.pass = pass
If (<<lots of code to check if user is valid>>) The...
I've been struggling with this for way too long tonight, and I haven't found anything useful when searching for answers. It's probably very simple.
I'm trying to load data using the Spotify Metadata API by doing AJAX calls with jQuery.
Running this request in a browser works just fine:
http://ws.spotify.com/search/1/track?q=foo
B...
Hi,
I want to pass the dynamicLi element id and text into the PHP which look like this.
<ul id ='dynamicUL'>
<li id='dynamicLi'><div id="fieldname">Field 1</div></li>
<li id='dynamicLi'><div id="fieldname">Field 2</div></li>
<li id='dynamicLi'><div id="fieldname">Field 3</div></li>
</ul>
The dynamicLi and the fieldname is ...