[jQuery] jscrollpane issue
Hi Friends! please surf to: http://m2.lab-au.com/projects/pixflow2/texts/abstract/ in the big red square, click on "f555" link inside the text. It opens up a small red area, with the loaded text. Now look at the scrollbar (triggered by the jscrollpane plugin) and the bottom arrow: it misses a few pixels so you don't see it entirely. I've tried everything i could think of, but i can't fix this. Anyone has any idea? I can't believe i've spend half a day on this bottom arrow, your help would be super
[jQuery] Problem with append() and <form>
I have an empty form that gets new input elements when the user clicks on a button that triggers append(). Although the above trivial test works fine, when I try to have a form that already has content, I have the following problem: The new input elements added by append() appear on the browser and show up inside Firebug, but when I post the form doen't get posted. It is like the never end up inside the <form> element... What could cause this behaviour? I am with my back at the wall and cannot find
[jQuery] problems with ajax query
dear list, i wrote a small site which changes content with ajax within a div. everything is working fine on my local machine. but when i upload it on my webspace ajax isn´t working anymore. i thought maybe its a naming problem (because: local windows; web linux case sensitiv). but i can´t find any error. may be someone has a clue what going wrong? this is the div with my "menu buttons": =============================================== <div id="navi">MENU<br /> - <a id="about-nav" href="#">about</a><br
[jQuery] RTE - does it filter input?
Does anyone know if the jquery RTE found at the link below does any kind of filtering of nasty quotes and slashes when submitting its content? Im getting all kinds of weird input and output even when using my usual filters that stop all this stuff coming from non RTE form fields. http://batiste.dosimple.ch/blog/posts/2007-09-11-1/rich-text-editor-jquery.html
[jQuery] reseting select form object to default selected
I do a check to see if what the user selects is greater than a certain value. If it is, I want to return that value to what the default selected was before the user changed it without resetting the entire form. Is there a jQuery way to do it?
[jQuery] treeview : Problem with toggle events after changing tree with ajax / js dom
Hi, I am using treeview to display a tree which is modified via php through some ajax requests. eg. delete node / edit node / add nodes I have seen in the demo files that there is some js code to add tree branches. and they get automatically the on click toggle events. In my case I replace / delete some parts of the tree through ajax. But the on click events aren't working (clear because the html code and events were changed) Is there a solution to reenable the toggle events for a part of the tree
[jQuery] press ok to continue loading the content of this page
Ie6 show me a popup with "press ok to continue loading the content of this page" when i use flash with some jquery plugin in ie6? Some tip to resolve this?
[jQuery] Google Maps Marker to infoBubble to Image to Thickbox
I am trying to create a situation where the user clicks on a marker within google maps, gets the info bubble flyout that contains a linkable image. Once the mini-sized photo is clicked on, it would show a large version of the photo via thickbox. I have gotten as far as getting the linkable images in there, the thickbox class, the rel attribute, all the parts in place, but I can't instantiate thickbox from within google maps. I have created a test link above the div element containing the map, and
Fade Background image on mouseover
I like the jquery library, but I am new at using it so getting things to work correctly is becoming a pain. I have set up an image gallery that when you hover over a image the background is supposed to fade in. My problem is that all the images fade in and out. The gallery is supposed to do like this one with the exception that the background gradient would fade in on mouseover and fade out on mouseout. using this code how do I chain the fade out event to the background div without fading all the
[jQuery] location.hash event
Is there an event fired when the location hash changes? I really need this as I'm using js to modify id's on ready so that when the browser hash changes I handle the scrolling rather than the browser jumping to the target. This all works fine, apart from the final piece of the jigsaw, the browsers back and forward buttons. For example <div id="test"></div> becomes <div id="test-a"></div> so I can handle click events to target the correct location and also direct links http://local/#test, but what
Delay .hover event...
Hello, I have this code: $(document).ready(function(){ $("#illustration-text").addClass("hide"); $("#illustration-image").hover( function () { $("#illustration-text").removeClass("hide"); $("#illustration-text").addClass("show"); }, // Reseting function () { $("#illustration-text").removeClass("show"); $("#illustration-text").addClass("hide"); } ); }); What it does is pretty simple. Add a class and remove another when on mouse over, then, when the mouse
[jQuery] jQuery.validate versus jQuery.yav
We have a lot of forms on our site that are using a script called fValidate for client side validation. However, fValidate is not very friendly to use, hasn't been updated in years, causes incompatibilities with jQuery in IE6 and is just generally horrible. We're looking to replace it with another validator, one that plays nice with jQuery is a must, one that works as a jQuery plugin would probably suit our needs better as we are planning on using jQuery effects on the forms too. Research has dug
[jQuery] Flickering problems in IE
Hello, I am using a slideUp and slideDown animation on several components in a page. It looks smooth in FF, but in IE, there is a flicker when the slideDown starts, and then again at the end of the slideUp. The flicker is showing the entire region that is being hidden / show for a brief moment. Any ideas on how I can approach fixing this? Below is the code from one place where this is happening: function slide_search(type) { $(document).ready(function(){ if (type == 'down') { $('.framenav-search-results').animate({
[jQuery] Dynamic Script Tag n code!!!
how can i insert dynamic script tag inside the head tag like <script language="javascript"> function test(){ alert('hello'); } </script> i want to add the above code in Head dynamically and also want test method working i tried to add script tag inside the head but it does not do so rather i can add any other tag like div, span etc thnx
[jQuery] What's the meaning of "underlying elements" in focus()
Hello all! I read "Note that this does not execute the focus method of the underlying elements." of "focus()" in jq' doc ,but I couldn't catch the meaning of "underlying elements" . Anyone may tell me which elements is "underlying elements", Thanks
[jQuery] How to use Jquery with other Frameworks?
How can i reach the functions that are inside the main Jquery function for example: function dothis(){ doSomething(); } $(document).ready(function(){ function doSomething(){ $("#" + spiel0).css({zIndex :"5 .... } }); the reason i do this is because the dothis() function wont run insisde $(document).ready(function() any Ideas?
[jQuery] Div Changer Script Using Show and Hide
I was just wondering if someone could give this a quick look and see if there is anything wrong with it. It seems to be working on the web site but perhaps there is something I could do to make it more efficient. $(document).ready(function(){ //THIS HIDES ALL LISTED DIVS ON LOADING OF PAGE $('div.blackbook').hide(); $('div.canvas').hide(); $('div.pencil').hide(); $('div.murals').hide(); $('div.shows').hide(); $('div.tattoos').hide(); $('div.miscellaneous').hide(); $('a#blackbook').click(function()
[jQuery] Drag and Drop rows across two tables
Hi all, Is that possible using ui draggable and droppables? In an initial attempt, I tried to create a table and apply $("#table>tbody>tr").draggable(); It works in IE but not in Firefox. -- Best Regards, Jacky <span>網絡暴民 <a href="http://jacky.seezone.net">http://jacky.seezone.net</a> </span>
[jQuery] Getting the Display Value of a Select Box
I am dynamically generating several single selects and the options within them. I know how to get the value of the option which is selected for each select. What I would like to be able to do is get the display value for that option. So, my select might look something like this: <select id="my_select"> <option value="1">Option 1</option> <option value="2">Option 2</option> </select> Is there a way to get "Option 1" or "Option 2" if selected? I know how to get "1" or "2" just fine. Thanks, Alex
[jQuery] Simple jQuery AJAX, going crazy.
I have this AJAX request: $(function() { $.ajax({ type: "GET", url: "xml.php", dataType: "xml", success: function(xml){ alert('success'); }, error: function(){ alert('error'); }}); }); Firebug says it succeeds, but there aren't any alerts, it neither succeeds nor fails? Can anyone shed some light on this? P.S. I've posted about the same message fifteen minutes ago, it just doesn't seem to show up..
[jQuery] xml not working in IE. what am I missing?
I got a serious problem, and it's not the first time I'm facing it. doing an $.ajax() request with dataType: 'xml' won't get any (!) results in IE. other times I got around it using dataType: 'json", but this time I cannot. the xml I use is arriving from a java servlet and I cannot modify it. what could I do? my code is fairly simple: $.ajax({ url:'out.xml', /*this is a test file located on my machine*/ dataType: 'xml', success: function(data){... on FF it works like a charm...
mod_rewrite and Jquery
Hi I am building a site using the MVC pattern and mod_rewrite. in my header file I have included jquery.js as per normal. the file is being loaded but any functions I call from views are erroring as undefined. if I put an alert in the jquery.js file it fires aqs expected but no functions are available if you have seen this issue before please help me out Thanks
[jQuery] Ajax Post URL
Hello. I'm using an Ajax Post. It works fine when I use the path in the url... url: "controllers/processajax.cfm", However, If I want to use a url string like: url: "index.cfm?Action=processajax", Then I get the following error: unterminated regular expression literal It blows up in what appears to be the data results. However, literally the only difference is the URL string I use. Any ideas? Thanks, Mike
[jQuery] jCarousel, Thickbox and AJAX
At this link: http://sorgalla.com/jcarousel/ you can see some examples for jcarousel. There also are an example with thickbox and an example with ajax. Now, if i want to use thickbox with jcarousel loaded by ajax, what i have to do? Thanks a lot, Luca. Sorry for my bad english.
[jQuery] Horizontal jcarousel images stack vertically until fully loaded
It can be so brief you barely notice, or interminable if the jquery carousel is on a page with other elements. The list of images display as thumbs stacked vertically with bullets until everything is ready, then the images snap to the horizontal carousel container. My function: jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel(); }); A poster on Jan Sorgalla's jcarousel blog asked about the vertical stacking and Jan said it only happens with images not loaded dynamically and to
[jQuery] jcarousel - Circular carousel problem with IE
Hi, i got problems with IE and the original "Circular carousel"-Example: In Firefox all seems ok, but IE the left picture dont´t show up. When clicking the next-button, during the animation, you can see the pictue, then it disapears. Any hints? Cheers Muckinger
[jQuery] Question about $(this) and just "this"
I'm studying the excellent jQuery book at the moment. I bought it yesterday and I have a question about chapter 3, page 43. There's this stylesheet switching function: $(document).ready(function() { $('#switcher .button').bind('click', function() { $('body').removeClass(); if(this.id == 'switcher-narrow') { $('body').addClass('narrow'); } else if (this.id == 'switcher-large') { $('body').addClass('large'); } $('#switcher .button').removeClass('selected'); $(this).addClass('selected'); }); }); I was
[jQuery] Books
Hey, I was wondering what books you guys would reccomend? I have been looking here on the groups and on Amazon and not sure which one to go with? Any ideas? Thanks! Ryan
[jQuery] jqModal - Doctypes
Hi, everyone, first time sending a message over here :) Im having troubles with the overlay on IE7. Using this doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Works great on FF, but on IE7 i get that the overlay is somehow missed or under all the other elements, it doesnt care that the jqModal have a zIndex of 5000, greater than anything else on the page. As an observation, it DOES work well on my developing machine with IE7, but not on any other pc using IE7 (i tried on more
[jQuery] newbie ajaxForm/ajaxSubmit question
hi i'm trying to submit an html form containing a file input. the form looks like this: <form id="uploadForm" action="upload" enctype="multipart/form-data" method="post" > <input type="file" id="uploadCandidate"> <input type="submit" value="Upload!" /> </form> the problem seems to be that the form is always submitted as a GET rather than a post, the server does receive the query. i used the example from the jquery site (http://www.malsup.com/jquery/form/#code- samples), which didn't work so i modified
[jQuery] help converting an expression to jquery
I'm trying to purge some expressions from my css, but am finding that in some cases I still need javascript. Can anyone help me understand how to convert the following expression into a simple jquery script? top: expression(offsetParent.scrollTop); It's currently in the following css rule, used to make a simple scrolling table in IE: table.scrollable thead tr { position:relative; top: expression(offsetParent.scrollTop); } Thanks! rolfsf -- View this message in context: http://www.nabble.com/help-converting-an-expression-to-jquery-tp15701513s27240p15701513.html
[jQuery] Form submission breaking out of divs
Hi, I have a structure similar to: <div id="mainContainer"> <div id="emailContainer"> <div id="emailContent"> </div> </div> </div> When submitting a form by piecing together the query string through Javascript and then going to a new URL it stays within the #emailContent div and behaves as it should e.g loadContent('emailContent', 'email/reply_email.php?' + theURL); But if I try and use the Jquery forms plugin (as found on http://malsup.com/jquery/form/) it keeps breaking out of the div structure
[jQuery] Select first input text
Someone can tell me why it $("input:text:first"); works only Fire Fox and no works in IE? Thanks.
[jQuery] [tabs] Using jQuery inside tabs
I have created a page that calls $tabs.tabs("add", this.href, title); Where this.href is the link I am opening as a remote tab. This works and the tab is added with the correct page showing, however, any and all jQuery which is in the remote page called does not work. I noticed by looking at the generated code that the tab only has the pages body and has stripped all header information. So, in a thought of working around this, I added all the jQuery to the page creating the tabs. This did not work
[jQuery] Smoothing out CSS inconsistencies
Hi all, Our CMS uses JQuery heavily and I've been playing with it today to get some CSS properties. Specifically height, width and background-color. I find it a bit frustrating that jQuery doesn't smooth out the browser inconsistencies in the returned data with these. For example, if I don't have a width or height defined and call $ (element).css('width') : firefox: returns an actual width (with a decimal point in - seems very precise) ie: returns "auto". Another example is background-color. In IE
[jQuery] [off topic] pspad question
There is any way to PSPAD auto-indent my code? Specialy with javascript and php :) I look at pspad manual and site, 3rd party scripts, and found nothing yet thanks Feijó
[jQuery] your long result-lists of jquery-scripts -- preview-images might help users to identify !! names dont help much - intensive searching
I ended up with on result when I searched through you long result- lists of jquery-scripts today... -the names of the scripts did not help me much - intensive searching / but unable to find a script I once saw on your site - preview-images might help users to identify !!!
[jQuery] getting the text inside the first <li>
Hi :) I've got a series of nested li's. <ul> <li>TEXT1 <ul> <li>TEXT2</li> <li>TEXT3</li> </ul> </li> </ul> if I click on "TEXT1" I want to get just "TEXT1". but doing this: $('li').click(function(e){ e.stopPropagation(); alert($(this).text()); }); will alert "TEXT1TEXT2TEXT3". I tried $(this).get(0); but it returns [object HTMLLIElement]. how am I getting the text from this LIElement? thank you andrea
[jQuery] Using wrap() On Absolute Positioned Element
This isn't working for me. The div has two classes: "actionBox" and "popup". If I go into the css and remove "position:absolute" from class popup, wrap() works fine. Anyone know how to use wrap() on an absolutely positioned element?
[jQuery] :input selector
Hi, How can I tell what type of input the field is in this 'each' loop? [code] $(":input").each(function() { // how to get the type of input? // i need to get all the inputs and than determine the type of input }) [/code]
Next Page