[jQuery] Re: displaying image in top right corner

2009-11-02 Thread jmatthews
Put a hidden in your html. Hello Jquery: $("#mymouse").mouseover(bla bla { $("#myimage") do things (e.g. set top, left, margins, color, MAKE VISIBLE.) - best to just add a class in lieu of this mouseout(bla bla $("#myimage") reverse everything you did on mouseover - best to

[jQuery] Re: Block UI question

2009-11-02 Thread jmatthews
Once you re-direct by submit, your current page loses control. That's the problem with the submit button. When user presses, your page is immediately gone. You need to manually do this by making your own, fake "submit." Stick a .gif "submit look-alike" in your html. http://www.w3schools.com/a

[jQuery] Re: Selectors

2009-11-02 Thread jmatthews
The reference does not show the use of quotes like you have: http://docs.jquery.com/Selectors/not#selector Their example: $("input:not(:checked) + span").css("background- color", "yellow"); Yours re-written: $('tr .myToggle:not(:hidden):odd').addClass ('gray');//hopefully works On Nov 2, 3

[jQuery] Re: class toggle navigation

2009-11-02 Thread jmatthews
I'm a little confused, but before I examine more closely, one thing I'd like an answer to is whether you have defined the initial "active" incorrectly. You gave the link to http://www.thomasrugani.com/static/designobjects/02.html That's 02.html - NOT 01.html Yet, when I look at the source of

Re: [jQuery] Why this code don't work

2009-11-02 Thread ReynierPM
Dhruva Sagar wrote: Well I have made some changes to the test.html to achieve the desired results : http://code.jquery.com/jquery-latest.pack.js"; type="text/javascript" language="javascript" charset="utf-8"> //

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
Well I have made some changes to the test.html to achieve the desired results : http://code.jquery.com/jquery-latest.pack.js"; type="text/javascript" language="javascript" charset="utf-8"> //

Re: [jQuery] Why this code don't work

2009-11-02 Thread ReynierPM
Dhruva Sagar wrote: Where have you added the $('#another').click() ? Is it even in $(document).ready() or not ? Are you sure that the click handler is even being called ? I have created a test.html and tested what you want, it works perfectly for me. http://code.jquery.com/jquery-l

Re: [jQuery] Need help using JQuery selectors

2009-11-02 Thread Dhruva Sagar
Bracket's don't match in your javascript code. The *if($(caller).css("display") == "none") { *<-- bracket is not closed. Thanks & Regards, Dhruva Sagar. Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I a

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
Where have you added the $('#another').click() ? Is it even in $(document).ready() or not ? Are you sure that the click handler is even being called ? I have created a test.html and tested what you want, it works perfectly for me. http://code.jquery.com/jquery-latest.pack.js"; ty

[jQuery] Need help using JQuery selectors

2009-11-02 Thread wesley.bunton
I am trying to use this jquery slide function that i found online. It's a very basic slide plugin i suppose, which selects a div using the div's id tag. I wanted to make my menu hide/reveal multiple divs and therefore I modified this function that I keep in my .js file to make things work theore

Re: [jQuery] Why this code don't work

2009-11-02 Thread ReynierPM
Dhruva Sagar wrote: You should be doing $('#word').after(''); This doesn't work too. I try and get none HTML input added after input#word. Why? -- Saludos ReynierPM

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
You should be doing $('#word').after(''); append() would add your HTML code as a child of that input, hence you will not get the desired results. Thanks & Regards, Dhruva Sagar. Pablo Picasso - "Computers are useless. They can only

Re: [jQuery] Re: jQuery form plugin?

2009-11-02 Thread Jim Byrnes
Mike Alsup wrote: Can you post a link to this page, or a similar example page? Unfortunately no. It is an internal app that hooks to a MySQl database on a web server I setup on my desktop. I did put together a small test case that exhibits the same behavior. I am running jQuery 1.3.2 and

[jQuery] Why this code don't work

2009-11-02 Thread ReynierPM
Hi every: I need to add some fields when a user clic a link. For this purpose I build this piece of code: [jQuery/JS Code] $('#another').click(function(){ $('#word').append('name="word2" id="word2" value="" size="50" />'); }); [HTML Code] Texto: href="#" id="another">Adicionar criterio Bu

[jQuery] Re: how i can get the "id" of the dropped tag

2009-11-02 Thread Dave Methvin
You'd be better off asking this in the jQuery UI group.

[jQuery] JQuery in ZK 3.6.2

2009-11-02 Thread Bruno Fonseca
Hi, someone want help me in this task: I want use MeioMask (http:// www.meiocodigo.com/projects/meiomask/) in my app. I know what zk5 is integrated with jquey, but i can not upgrade version of zk in my app. I try this code, but no sucess: http://www.w3.org/1999/xhtml";>

[jQuery] Selectors

2009-11-02 Thread Manimal
Here's what I'm trying to do. When I click on a tr i'd like it to hide then re-style the table to alternate gray rows. So on click I hide the tr then run this at the end of the animation/ hide $('tr .myToggle').removeClass('gray'); $('tr .myToggle').not(':hidden').not(':even').addClass('gray');

[jQuery] Block UI question

2009-11-02 Thread Rich
I'm trying to implement a processing message and I think Block UI might work however I can't seem to get it to redirect after my processing is complete. Basically, I have a form and a submit button which does a post to a server and passes in several parameters for calculation. The server can take

[jQuery] displaying image in top right corner

2009-11-02 Thread ehm djii
hello, i am pretty new to jquery and hope this is the right place to ask. my problem is the following. when i mouseover a certain element on a page, i want that a certain image is displayed in the top right corner of the page, no matter where the it is currently scrolled. how can i achieve that?

[jQuery] how i can get the "id" of the dropped tag

2009-11-02 Thread Smirnoff
how i can get the "id" of the dropped tag in this code : $(document).ready(function(){ $("#draggable").draggable(); $("#droppable").droppable({ drop: function() { alert($(" ??? ")); } }); }); the tags is : thanks.

[jQuery] Re: jquery superfish performance question

2009-11-02 Thread grabnerandi
Hi Joel I did some more testing. I wrote a small sample with 3 different menus: 50 items, 100 items and 500 items (I know - 500 is a lot - but the page that I've analyzed actually had that many) I made the change to the library. For the 500 elements the superfish method takes 3459ms on my laptop w

[jQuery] tabSwitch - dynamic height

2009-11-02 Thread macsig
Hello guys, I'm using tabSwitch (www.hieu.co.uk/blog/index.php/tabswitch/) and I need to set the panel height dynamically (according to the div 'page_container' height) so I tried var page_height = $('#page_container').height(); $('.panel').tabSwitch('create', {type: 'slide', loopback: 1, height:

Re: [jQuery] Loading jQuery dynamically

2009-11-02 Thread Massimo Lombardo
On Thu, Oct 22, 2009 at 04:19, Christophe wrote: > It seems that the usual ways to dynamically load scripts (like DOM > insert) are all asynchronous. Basically, I am looking for a function > like getScript, outside jQuery. var scriptLoader = document.createElement("script"); scriptLoader.src = "h

[jQuery] jQuery form Validation plugin with JSP

2009-11-02 Thread Felix
I have a static html page for testing and the remote field is wired correctly with email as the following rules: { FirstNameEdit: { required: true }, LastNameEdit: { required: true }, EmailEdit: { required: true, email: true, remote: "emails.jsp" } ,

[jQuery] Re: class toggle navigation

2009-11-02 Thread Bernard Elsmere
thanks Richard, but it doesn't work - were you aiming to combine the 2 scripts in one? On Nov 2, 9:08 pm, "Richard D. Worth" wrote: > Try this > > > $(document).ready(function(){ >   $('a').click(function() { >     $(this).toggleClass('active'); >     showPic(this); >     return false; >   });})

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-02 Thread jeremyBass
Hate to bump this again but I'm stumped... I've tried the every combo of http://sorgalla.com/projects/jcarousel/#Configuration http://www.malsup.com/jquery/cycle/options.html and this was the best I got... I did try the carousel.add(i, mycarousel_getItemHTML (mycarousel_itemList[i-1])); based

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-02 Thread Ariel Flesler
$.scrollTo('#elem', 1000, { over:{ top:1 }, offset:{ top: -$(window).height() } }); Haven't tried it, but this should do. If it doesn't, you could just calculate the position using simple math. -- Ariel Flesler On Nov 2, 8:28 am, Deniz Dogan wrote: > I'm looking for a JQuery plugin like scr

Re: [jQuery] class toggle navigation

2009-11-02 Thread Richard D. Worth
Try this $(document).ready(function(){ $('a').click(function() { $(this).toggleClass('active'); showPic(this); return false; }); }); ... Image   01 02 03 04 - Richard On Mon, Nov 2, 2009 at 2:48 PM,

[jQuery] Re: jquery superfish performance question

2009-11-02 Thread grabnerandi
I am not able to test it - at least not on the page I've found the problem as the page is not under my control. I am doing some web page analysis and discovered this issue and believe that this change can significantly improve the performance. Once I find some time I can try it out on a local web-

Re: [jQuery] Slider

2009-11-02 Thread Richard D. Worth
Are you adding slider1 and slider2 to get the value of slider3? In that case, why does it step at 10, 20, 30? Or perhaps you're multiplying them. Not sure since you say "the value combination." Are you wanting to animate smoothly between each step even though it can't sit at any value between them

[jQuery] Treeview .js file location

2009-11-02 Thread Andrew243
Hi, My hosting service does doesn't have gzip compression enabled -- and I'm looking for a server to connect to jquery.treeview.js to speed up my page loading. I use http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js and http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min

[jQuery] Re: Slider

2009-11-02 Thread Lance May
Luh Hooo Zer, Have you thought about making all of the sliders a 1:100 range and treating their current step as a percentage of your minimum and maximum values? That way everything will "slide" through each step the same, but you will be able to vary your ranges separately without effecting th

[jQuery] Re: jQuery form plugin?

2009-11-02 Thread Mike Alsup
Can you post a link to this page, or a similar example page? On Nov 1, 6:00 pm, Jim Byrnes wrote: > I am new to jQuery and really new to the form plugin so I must be > missing something simple but I can't figure out what is wrong. > > I have this form: > > >         Print Items Due Report >    

[jQuery] class toggle navigation

2009-11-02 Thread Bernard Elsmere
Hello I'm trying to implement a minimal navigation bar using jQuery's toggleClass() function but can't seem to get it working, no matter how many tips from all you gurus out there that I follow meticulously. It's the .img_selector div at the bottom of the page: http://www.thomasrugani.com/static/

[jQuery] Re: Jquery Cookies Or Sessions

2009-11-02 Thread James
You can't really check whether a local cookie is expired or not. However, you can probably check the value of the cookie and see whether it's a valid value. For example, the user visits a page. It creates a simple local session cookie named "sess" with value "true", and 1 hour expiration date. Java

[jQuery] Images won't show or fadeIn after .cycle

2009-11-02 Thread Jose Hidalgo
Hi all, I have one with a list of s, but after I .cycle the and .cycle("stop") it the images won't show up, neither by .show, .fadeIn or anything. Is this normal ?, how can I stop the cycle and just show the image I want ? Thanks.

[jQuery] Re: jquery ajax and listening for users exiting the site

2009-11-02 Thread James
Is http://myWebsite.com the same domain that your beforeunload code is called on? If not, then it won't work because of cross-domain policies for AJAX (XMLHttpRequest object). If so, try removing the full URL so that it's a relative path, e.g. "/ usersessions/store" Also, make sure that: this.

[jQuery] Re: Issue when caching jquery objects

2009-11-02 Thread James
Does: $myCachedSelector.removeAttr('disabled'); work as expected? On Nov 1, 11:42 pm, north wrote: > Hi, > > I usually cache jquery objects in variables or a config object. > > Lately I ran into a strange issue with that when trying to do this: > > $myCachedSelector.attr('disabled', false);

[jQuery] Re: input file type get name

2009-11-02 Thread Adonis
ok, problem was the resetForm:true. Setting it to false fixes the empty values...for now. cheers, On Nov 2, 6:46 pm, Adonis wrote: > well, > I ll be more specific, here is the code part > > ** > $("#image_overlay_group_form").ajaxForm({ >                 success: function(msg) { >                

[jQuery] Re: input file type get name

2009-11-02 Thread Adonis
well, I ll be more specific, here is the code part ** $("#image_overlay_group_form").ajaxForm({ success: function(msg) { var downLat = $("#image_overlay_sw_lat").val(); var downLon = $("#image_overlay_sw_lng").val(); var upLat = $("#i

[jQuery] Slider

2009-11-02 Thread Luh Hooo Zer
I have 3 sliders on one page. the value combination of slider1 and slider2 dictates the position of slider3 handle. but its not smooth... for instance, slider 1 and slider2 have 30 steps, so is pretty smooth to slide, but slider 3 i can only site to position at values 10, 20, 30 it doesnt sli

Re: [jQuery] Scroll so that an element is at the bottom of the viewport

2009-11-02 Thread Massimo Lombardo
On Mon, Nov 2, 2009 at 11:28, Deniz Dogan wrote: > I'm looking for a JQuery plugin like scrollTo but which lets me scroll > the viewport so that the bottom of an element is at the bottom of the > viewport. > > Is this possible with scrollTo? If so, how? Otherwise, is there any > other plugin I can

[jQuery] Re: ajax not sending back details

2009-11-02 Thread MorningZ
There's something wrong in your server code: Parse error: syntax error, unexpected '[' in /home/lastings/ public_html/play/app/controllers/usersessions_controller.php on line 15 As for trapping the error in jQuery... this always works for me as an error catch: error: function(x, y, z) { //

Re: [jQuery] "file" upload without actual file

2009-11-02 Thread brian
So send it as data. You could encode it as Base64. On Mon, Nov 2, 2009 at 10:35 AM, ericjs wrote: > Hi, > > I need to post to a servlet where one parameter is a file...just as > would be sourced with a file upload input in a form. However, I don't > want to offer a file selection, or even have th

Re: [jQuery] Scroll so that an element is at the bottom of the viewport

2009-11-02 Thread brian
Off the top of my head, one idea would be to use jquery to add a hidden/empty element after the one you want at the bottom, then use the ID of the former to scroll to. On Mon, Nov 2, 2009 at 5:28 AM, Deniz Dogan wrote: > I'm looking for a JQuery plugin like scrollTo but which lets me scroll > the

Re: [jQuery] $ is not defined

2009-11-02 Thread Michel Belleville
I'd say you your script may not be accessible through the relative url, or the relative url points somewhere else. Try using an url based on the server root : If you're running the app from the server's root and your jQuery script is accessible at http://www.your-server.com/javascripts/jquery-1

[jQuery] "file" upload without actual file

2009-11-02 Thread ericjs
Hi, I need to post to a servlet where one parameter is a file...just as would be sourced with a file upload input in a form. However, I don't want to offer a file selection, or even have the client side file system involved at all. The contents of the "file" will be generated dynamically by the ja

[jQuery] ajax not sending back details

2009-11-02 Thread numerical25
I am trying to send data to a remove server via ajax. I am recieving the xmlHttpRequest Object, but all of its properties are undefined or empty $('#testReq').click(function(){ alert('Button Works!'); $.ajax({ type: "POST",

[jQuery] Re: Firefox problem on ajax loaded javascript

2009-11-02 Thread Mark Leung
I have such similar case in my project, but it did work in FF and IE. but recent days, I found it does not work in Safari instead. On 11月2日, 下午6时29分, nomen wrote: > Hi all: > >    I have a simple page. >    Clicking in a button it loads a content by Ajax to the page, let's > call to it "subpage

[jQuery] $ is not defined

2009-11-02 Thread Al Carnali
I’m having trouble running a simple JQuery script. When I run the script using a local version of the jquery-1.3.2.js file, I get a “$ is not defined” error. If I do the same thing using a version on the google.code server it works just fine. I’m sure that I’m referencing the correct

[jQuery] jquery glider inside tabs

2009-11-02 Thread Ken
Hi, I'm trying to create a 3 tabbed panel with a slideshow in each tab. The information will be dynamically generated by my CMS. The problem I'm running into is that the plugin I'm using allows for only one initialized id. So I am initializing and it works in the first tab, but doesn't work in

Re: [jQuery] i can't use HTML ID's appended dynamically

2009-11-02 Thread Charlie Griefer
On Mon, Nov 2, 2009 at 12:00 AM, Aymen louati wrote: > Hi Guys i'm having a serious problem : > i'm using a JSON File to bring data and append it into HTML element so > i can get few divs and a link i automatically generate the > ID's then i select each ID and call a jdialog plugin so i can di

[jQuery] Solution wanted, to display an image on mousover within select option

2009-11-02 Thread heohni
Hi, The following we try to get working: A html select box, with about a certain number of option elements. On mouseover of one element, we want to open a div aside the select to show an image. Is something like this possible? And if yes - how? Thanks! Bye!!

[jQuery] Re: select a tab by default

2009-11-02 Thread MorningZ
http://jqueryui.com/demos/tabs Choose "Methods", then look for the "select" method On Nov 2, 9:57 am, northernLights wrote: > All, > > I have placed the tabs widget on my page, however, I don't want the > first tab to be the default.  I want the third  tab to the default > opened tab.  How do I

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-02 Thread jeremybass_offset
Is there no one that would have any idea?... I'm sure that it's something simple... to produce the error on this site http://www.visitnorthcentralidaho.org/ the cycle + jcarousel for imgs on the left side... you just need to hover over the img to see the thumbs when in IE once all is loaded, you h

[jQuery] select a tab by default

2009-11-02 Thread northernLights
All, I have placed the tabs widget on my page, however, I don't want the first tab to be the default. I want the third tab to the default opened tab. How do I change the default? Thanks

[jQuery] Re: jquery superfish performance question

2009-11-02 Thread Joel Birch
Hello, You would still need to wrap that "this" in a jQuery object, otherwise it refers to a DOM object. At that point, I would think that referring to an existing jQuery object, as Superfish currently does, would be preferrable. Are you able to test this, to be sure? Thanks Joel Birch

[jQuery] jQuery and asp:UpdatePanel trouble

2009-11-02 Thread Alexey Kiryushkin
myscripts.js file: -- function DoJavaScripts() { $("a.iframe-time").fancybox({ frameWidth: 350, frameHeight: 170 }); $("a.iframe-date").fancybox({ frameWidth: 350, frameHeight: 250 }); $("a,area,div").toolt

[jQuery] Jquery form

2009-11-02 Thread Olabri
please ignore previous post. found the problem

[jQuery] Jquery form

2009-11-02 Thread Olabri
Hi I'm using jquery with the form plugin. However since i have to also use prototype (for a snapin chat) so I have to use jQuery.noConflict (); This seem to break the form plugin. Has anyone else managed to combine these two? code is like this: jQuery.noConflict(); var $j = jQuery; $j(doc

[jQuery] Is there any way to get all bound events for a specific element?

2009-11-02 Thread Yifan Hu
Hi All, I want to get a list of all bound events (jquery event) for a specific dom element. Is there anyway to do that? Thanks, Andy

[jQuery] listmenu submenu (dis)appearing too quickly, will hoverintent help?

2009-11-02 Thread gerkuil
Hi all I am using the jquery listmenu (http://www.ihwy.com/labs/jquery- listmenu-plugin.aspx) and I like it, the only issue I have is that the submenu appears and disappears too fast. I believe it should be possible that with using hoverintent.js the reaction to mouse over and mouse out actions c

Re: [jQuery] How to post modified XML document whose source was an AJAX get

2009-11-02 Thread nathan
tarh33l wrote: I'm trying to take some XML I receive from an AJAX call (via a "GET"), manipulate it, then POST the document to an ASP.NET page. My "get" looks like this: var createNewUsersExtendedAttributes = function() { $.ajax({ type: "GET",

Re: [jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-11-02 Thread acetrader
Hi guys, thank you very much for your help :) I tried the id tag and value by jquery and now everything's working !!! :) , weird how browser compatabilty works ey, Thank you guys, The Ace -- View this message in context: http://old.nabble.com/AJAX-page-working-in-IE6%2C7%2C8-but-not-in-Firefo

[jQuery] Scroll so that an element is at the bottom of the viewport

2009-11-02 Thread Deniz Dogan
I'm looking for a JQuery plugin like scrollTo but which lets me scroll the viewport so that the bottom of an element is at the bottom of the viewport. Is this possible with scrollTo? If so, how? Otherwise, is there any other plugin I can use?

[jQuery] i can't use HTML ID's appended dynamically

2009-11-02 Thread Aymen louati
Hi Guys i'm having a serious problem : i'm using a JSON File to bring data and append it into HTML element so i can get few divs and a link i automatically generate the ID's then i select each ID and call a jdialog plugin so i can display a dialog window the problem is that the jdialog is not wo

[jQuery] Customized Coda-Slider CSS/JS Cross-Browser Issues

2009-11-02 Thread Owenwarner
Hello, I'm currently trying to wrap up a website and having some issues with coda-slider lining up, adding margins and more depending on the browser. I was able to resolve the issue in Windows for on the current FF, IE8 and seemingly IE7 although random padding is added at times. The site is

[jQuery] Autocomplete: highlight is not working if the result contains escaped html characters

2009-11-02 Thread varun shankar
I have textfield where I am using the autocomplete. I want to allow users to use html in the input . And while outputting the result I am escaping the html. Now there is an issue if I use the default "highlight" feature of the autocomplete plugin. If the result contains escaped html characters, t

Re: [jQuery] Create PDF from js

2009-11-02 Thread Richard D. Worth
See http://code.google.com/p/jspdf/ - Richard On Mon, Nov 2, 2009 at 5:26 AM, m.ugues wrote: > Hallo all. > Is there any plugin for creating custom PDF from javascript? > > I found this library http://www.collinssoftware.com/Pdf_Samples_1.htm > but is not free. > > Kind regards. > > Massimo >

[jQuery] Firefox problem on ajax loaded javascript

2009-11-02 Thread nomen
Hi all: I have a simple page. Clicking in a button it loads a content by Ajax to the page, let's call to it "subpage". In "subpage" I have some HTML(some select lists) and a jquery code in "$(document).ready(function(){...". The javascript code launches another js ( http://www.yxscripts.c

[jQuery] Create PDF from js

2009-11-02 Thread m.ugues
Hallo all. Is there any plugin for creating custom PDF from javascript? I found this library http://www.collinssoftware.com/Pdf_Samples_1.htm but is not free. Kind regards. Massimo

[jQuery] Issue when caching jquery objects

2009-11-02 Thread north
Hi, I usually cache jquery objects in variables or a config object. Lately I ran into a strange issue with that when trying to do this: $myCachedSelector.attr('disabled', false); The selected object simply remained to be disabled. When I used the normal syntax $('#mySelector').attr('disabled',