[jQuery] Declaring Rules in ASP.Net
Hey all, I'm trying to implement validation using the Validation plugin on an ASP.Net (1.1 :( ) form. I'm having trouble with setting up the rules, because they require the form element's "name" tag to assign the rule to, and ASP.Net does some funky stuff with the names (changes a name="myname" to "myUserControl:myname"). I can get that client side name by calling the name the same as the ID, and on server side getting the fomrelement.ClientID, then doing a String.Replace("_", ":"). But now it seems
[jQuery] jCarousel skips images after css edit
Hi, I've changed the thumbnail size, container and clip area of jcarousel from 75x75 to 362x244 in the css file. But now jcarousel skips 2 images when scrolling. Here's a demo: http://www.schilderwerken-ddf.be/jq/ Am I overlooking a setting? Thanks.
[jQuery] jQuery Tabs
Does anyone have a COMPLETE set of css elements and working HTML for the UI tabs? I have spent the last two days trying to get the CSS to work for a simple set of tabs and it just doesnt want to play (all my fault - I'm useless with CSS). My page looks like this (its basically the example page). <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"
[jQuery] Website Down
The documentation links on jquery.com are all failing - no Tutorials, API References etc.
[jQuery] Drop shadow and Menu
I have implemented the drop shadow plugin and it works perfect. I then added Droppy for my menu, and it works. However, the drop shadow in my content area is appearing on top of the menu so the menu is hidden behind it. I remove the drop shadow and all is great. Any ideas? -- View this message in context: http://www.nabble.com/Drop-shadow-and-Menu-tp18720475s27240p18720475.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] .ajax() POST issues with URLs that have commas
I have an ajax post script set up, and will post data to my server. In some cases, our URL's have commas in them. This seems to cause a problem for the POST method (or maybe just javascript) and it seems see the comma as the start of the URL, and cuts off the rest before that. The URLs are from checkbox values, and are put into an array, and then looped through the ajax() POST. Is there something that I should be doing to maybe escape the comma's in the URL so this won't happen?
[jQuery] Add the index or count next to a a filter :contains
Can anyone help me focus my search? I am looking for a tutorial on how to add the count of the items that are returned by a filter contains. Here is my code for finding the text. $(".sub-section-row td").filter(":contains(This is the line of text I am looking for)").length The filter above works and I can get the total number of td's with the text specified. However what I also want to do is write back into the document next to each line of text the number of the text that the filter finds. For instance
[jQuery] ANyone using a jQuery WYSIWYG editor?
Looking for recommendations. Any thoughts? Lemme Dave
[jQuery] Safari unable to get width and height of image.
Trying to use elem.height(); and elem.width(). Safari: 3.1.1 jQuery: 1.2.6 Element is set as draggable ... might have something to do with it.
[jQuery] building an asynchronous tabgroup input
hi people how are you all? I m about to start building a plugin(?) but before i do i wanted to see if it exists and any comments you might have the pluging is for asynchronous loading tabgroup the tab group elelments must be dependent on json (or xml) each of the tabs must be able to handle events It should be p[osible to refence one tabgroup from somewhere else (for example click on another pluggin and that that affects the tab group say adding new tab elements, or updating the expected behaviour
[jQuery] Help with Tabs
Have anybody worked on Tabs here where new tab opens only if its not opened already.
[jQuery] jQuery Docs Site Status
Hi Everyone, Unfortunately, as many have found out, we've been experiencing problems with our server which houses jQuery's documentation. We're actively looking at what the cause is and how to get the documentation back online as quickly as possible. We're very sorry for the inconvenience this is causing and are doing our best to fix it. In the interim, if you need access to API information, you can visit the following link: http://remysharp.com/jquery-api/ This is hosted by Remy Sharp and we truly
[jQuery] jQuery Autocomplete Trouble
Hi, I'm trying to build an autocompleter to look up place names, and send back their corresponding IDs. I have a method to generate the JSON (places.js) that returns the correct JSON array, but the jQuery autocomplete plugin (http://www.pengoworks.com/workshop/jquery/ autocomplete.htm) does not display it correctly; instead, it shows the entire returned JSON array as a string in 1 single <li>. Does anyone know how to get it to properly split up into teh appropriate <li>s? Ultimately, I want to grab
[jQuery] jQuery Cycle Pager Vertical Scroll
Hi, I'm really new to all of this so please be kind... I'm using the Cycle Plugin and want to add numbers across the top (pager) and then when I click on these numbers the images scroll vertically up and down. I can do it where it always scrolls up or always down but I want it up and down. For example: If I have 3 images and I'm on the 1st image - I click on "2" and the Scrolls up - I then click on "3" and the image scrolls up again - I then click on "1" and I want the image to scroll down. I've
[jQuery] pyramiding JQuery phrases...
hello, i have following problem...: i want to send our a function when i am klicking on a -area on my side. it should be differenced if the area is shown or hidden. this is realised with css and i have to use jquery to fire up the function. i just have a more simple example to show u what i mean: <div class="expanded"> <h4> some text </h4> <div class=showhide>...</div> </div> //closing the expanded one i want to track the funcionality when a user hit the span-area and its essential if the div-class
[jQuery] value of onclick-attribut after setting via JQuery?
hello, have a simple question: i am using JQuery to go through my html-site and setting a "onclick" attribut to all links. it is a very big site and cause of using css seperators it may occur that i dont get all the links. so i´d like to look on every link if it has got already the onclick-attribut i set before (but also via jquery). currently i get a undefined-alert if i have this function: [code]$('a').click(function() { var title = $(this).attr("onclick"); alert(title);
[jQuery] How to prevent IFrame refresh from causing browser refresh 'flash'?
Hi, I have an IFrame embedded in a db record view page that is set to poll the dB periodically for flags of other users in the same record. The mechanism seems to work OK, but the browser (FF and IE, though more obvious in the former) "flashes" on every poll -- swapping refresh/stop, updating status bar, etc. There has to be some way to prevent this... I haven't been able to google a solution to this. My code: $(document).ready(function(){ refreshIFrame(); }); function refreshIFrame()
jQuery cycle question
Hi! I'm new to jQuery and Javascript, not new to HTML/CSS/PHP though. I've created a simple slideshow suding jQuery cycle: <script type='text/javascript'> $(document).ready(function(){ $('#slideshow1').cycle({ fx:'fade', speed:'2000', timeout: 0, next:'#next', prev:'#prev'}); }); </script> And: <div id='slideshow1' class='pics'> <div><img src='001.jpg' /><p> </p></div> <div><img src='002.jpg' /><p> </p></div> <div><img src='003.jpg' /><p> </p></div> <div><img src='004.jpg'
[jQuery] Help [class displays form input value]
Want to do this with jQuery: ---------------------------------------------------------------------------------------------------------- * form has (input.text, select, texarea, checkbox) * after i write in input text (some text) next to this input should appear <div> with animation (alpha 0-100%) with message "this field was changed to ...." * after 3 seconds <div> with message should disappear -----------------------------------------------------------------------------------------------------------
[jQuery] how can stop recieving emails from this group..?
<div dir="ltr">Pls Help.!</div>
[jQuery] jqModal issue with iframes
hello friends, i'm facing an unexpected issue with my iframe use of jqModal: see i use nested jqModal windows, which means: i launch a modal window from the main page, the modal displays a form in an iframe. This form contains a link that can open another form in another modal window, also inside an iframe. Since they are all inside their iframe it works quite well, except that, having a regular form submitted in one of them updates all iframes, and the data is saved as many times as there are iframes
Get element position withing another element
Hi i am stuck on trying to find a way of getting the position of an element within another element. for example i would like to get the position of each td in a tr so if i had 5 tds within a tr they would have the positions 0 1 2 3 4. which is possible to find with only one table and one set of tds by using the index function but i would like each td to return its position within its parent tr not the DOM I hope this makes sense to someone.
[jQuery] Need help
I need people with Jquery expirence, if you are looking for work please email me asap.
Adding a CSS class to the 1st occurance of an element?
Hi, Is it possible to adding a CSS class to the 1st occurance of an element on a page? I have a list of lines like this: <div class="theline"><a href=page.html"></a></div> <div class="theline"><a href=page.html"></a></div> <div class="theline"><a href=page.html"></a></div> <div class="theline"><a href=page.html"></a></div> Is is possible to add a CSS class (class="myclass") to just the first occurance of the above lines of code using Jquery? Thanks in advance
[jQuery] iframe document height
$(document).height() works great for getting the height of the content, how would I go about getting the height of the content in an iframe? Thanks!
[jQuery] Syntax to subtract CSS width
Hi, The documentation seems to be down right now, and I'm trying to figure out how to subtract a CSS value: $('#myDiv').css('width', '-=20px'); I haven't used jQuery very long yet, but I thought I saw this syntax or something like it in use somewhere. I can't get it to work though... Chrs, Dav
[jQuery] jQuery Validation Question on remote rule
Hi All, I just have few questions about the use of jQuery Validation remote rule. How remote rule treat data being passed through querystring? What is the form of data being passed through querystring? Is it case sensitive? I hope you can give me answers to those questions. Thanks, Nimrod
[jQuery] connect functions
Hello everybody. This is my first post to this list though already i have been working with jquery for several months. My question is: is there a way to connect the call of a function to another?? I mean, i want to intercept the call of a function and execute another function before (or after). In dojo there is a "connect" function. But i don't find the way with jquery. Any help will be appreciated
[jQuery] How could i write simpler code?
Hi all, i'm learing jquery and i would to improve and speed up the way I write code. I am currently doing tests on "queue","animate" ,but i know that my approach is wrong, i write a lot of lines of code aware that there is a method more accurate and fast to do it. Here a test http://www.pirolab.it/jtb/loader.html link and the function i wrote : jQuery(function( $ ){ $(".a").css("opacity", 0); $(".b").css("opacity", 0); $(".c").css("opacity", 0); $(".d").css("opacity", 0); $(".e").css("opacity",
[jQuery] Hover event problems
Hi I'm developing a basic gallery script for one of our clients, based on code that was already working for this client. The only trouble is that, for some reason, the hover events aren't binding in Firefox 3 (plus numerous extensions). They're being bound in IE7 (although the code still isn't doing what we want!) Here's the code... HTML: <div class="gallery left"> <div class="target"></div> <ul> <li><img src="thumb/image1.jpg" /></li> <li><img src="thumb/image2.jpg" /></li> <li><img src="thumb/image3.jpg"
[jQuery] Documentation for offline use / PDF, once again
Hi there! There are (at least two) threads about offline docs including links, but they're kind of outdated (02/2007 and older). Is there a place where I can get up-to-date jQuery documentation as PDF (or any other type of offline media) "to go"? Thanks a lot! Daniel
html entities xml text()
Hello, I have an XML file and it contains this text: sdfasdf :) asdfa <script>alert('asdf');</script> <hr /> :):) As you can see i have replaced <, >, with the UTF-8 code. Now when i use this code: var message = $(this).text(); Suddenly all the HTML entities are decoded, So < = < and > = > I just want it to stay > and < Can somebody please help me out. Thank you very much!
Problem while using tablesorter CSS in JSP
Hi Am using the same table sorter CSS in Html and Jsp but am not able get the same effect as that of in HTML. for table header the Below css classes are not refering in JSP. Am not able to find the sorting arrows in the header,path of the image are correct though. table.tablesorter thead tr.header { background-image: url("../../../images/bg.gif"); background-repeat: no-repeat; background-position: center right; cursor: pointer; } table.tablesorter thead tr.headerSortDown { width: 120px; background-image:
Jquery.Autocomplete problem with parameters and resubmission
Hi, I am using the autocomplete jQuery plugin: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I have a problem when using 'extraParams'. For example if I have extraParams: { foo: "Bar" } The parameter foo is passed with the value "Bar". But, when I try to use a call back function to set this up so that it uses a value on a form like so: extraParams: { foo: function(){ rethrn $("#Foo").val();} } It looks as though it does not work. On investigation (using Firebug) I see that
(help)multiple select with same name loaded by ajax
hello everybody, i have this problem regarding my multiple <select> var counter = <%= actionNumber %> $(document).ready(function() { $('#wType'+counter).change(function() { $('.actionspan'+counter).load('actionfile.asp?counter='+counter, {'actionval': $(this).val()}); return false; }); }) and the html part: <label>Action:</label><span class="actionspan<%=actionNumber%>"></span><br /> the problem is when prepend this file to a file, the previous workType <select> wont work say: a prepend
Is load() is safe?
Can I use load method in secure pages? is that hacker safe?
JQuery grid and data from a file asp
Hello, I've a big big problem with jquery grid. My data are thaken from a database using a script in asp. My file html is on another server. Can I use Jquery to create my grid and if yes, how? Please, help me. Thank you Bye
[jQuery] get the widht() of a hidden element in IE
hello, i've a little probleme to get the width() of an image which is in display:none; in IE i explain: i have this line: <div> /img/user/Image/gres/nimes.jpg </div> the <div> is in display:none; in my css by default when i load the page. My trouble is that with IE (6/7) i can get the width of the image, but in firefox/safari i can... i try different syntaxe: $('img').width() $('img').attr('width') but that doesn't work....the only escape i find is to putoff the "display:none;" in my css: in this
[jQuery] About slide show
<div>Dear All,</div> <div> </div> <div>i want to create the slide show so that user can add effects on it.just like <a href="http://www.slide.com">www.slide.com</a>. is there any plugin availabe to create slide show like <a href="http://www.slide.com">www.slide.com</a> so that user can choose background and animation effect.</div> <div> </div> <div>thanks to all in advance.</div> <div> </div> <div>humayoo</div>
[jQuery] JS strangeness
I posted a message on comp.lang.javascript asking a simple question and got dumped on, so I'll try again here. I have a large PHP file that includes various jQuery pieces, including a $(document).ready() function. My problem is that it behaves inconsistently under Firefox, and I'm trying to get pointed in the right direction. If I run it locally under FF, it behaves the way I expect it to, but if I run it from the host site, it sometimes gets hung up. Specifically, when the $(document).ready() function
Next Page