[jQuery] Re: repeatly fadein/fadeout an object

2009-06-06 Thread Davis
Hello Gustavo, thanks very much for your help, solved. thanks also for those previous helper. Thanks/Davis.

[jQuery] Re: Restrcit user copy the site page article

2009-06-06 Thread bharani kumar
Hi its ok ya , Am not bother abut the browser disable , Because its intra net project , So we disable in the systems, Tell me the snippet for that , thanks On Sun, Jun 7, 2009 at 9:46 AM, Ricardo wrote: > > It's "doable", but save your efforts. After you deliver the HTML to > the user's

[jQuery] Re: Restrcit user copy the site page article

2009-06-06 Thread Ricardo
It's "doable", but save your efforts. After you deliver the HTML to the user's browser, nothing is gonna stop him from copying it if he wants to. Ex: if you block it via Javascript, just disabling javascript nulls it. In Firefox you can use -moz-user-select: none, but disabling CSS or simply pres

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Ricardo
Still not the best solution, but a bit more efficient: $("li").removeClass("even odd").each(function(i){ $(this).addClass(i%2 ? 'odd' : 'even') }); On Jun 5, 8:40 pm, MorningZ wrote: > // delete > then > > $("li").removeClass("even").removeClass("odd") >       .filter(":odd").addClass("odd")

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Ricardo
assuming you're always deleting one element at at a time (or in odd quantities, hehe), how about $(deleted_element).nextAll().toggleClass('odd').toggleClass('even'); (would be shorter if toggleClass could take multiple classes) On Jun 5, 4:57 pm, "Dave Maharaj :: WidePixels.com" wrote: > I hav

[jQuery] Restrcit user copy the site page article

2009-06-06 Thread bharani kumar
Hi All , How to restrict the user copy the article content in the page , 1.I want to disable the copy from the right click menu , 2.also want to restrict the user Select all the article and take the copy , Any idea for this Thanks

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Ricardo
That's a check for proper W3C box model support, as you can see it runs on document.ready (jQuery(function...), so it's impossible that the document body doesn't exist yet. Kranti is right, it's likely a previous error that's causing it. On Jun 5, 9:07 am, Lideln wrote: > Hi ! > > I have an issu

[jQuery] Re: jQuery in OfficeLive

2009-06-06 Thread kranthi
clearly you are not including the jquery.js file(u are including a file but that is empty) web developer firefox addon comes handy in these cases

[jQuery] Re: jQuery in OfficeLive

2009-06-06 Thread GCasalett
I appreciate your replies. The pages that are not working are at www.casalett.net/newhome . I am a new jQuery user, so I may very well be overlooking something, but I can get the pages working offline. I do have Firefox and Firebug, and I have included the jquery.js file like so: //this one i

[jQuery] jquery .live with a dialog box-can't get dialog to work

2009-06-06 Thread ktpmm5
I'm currently loading data from a mysql db - if a certain condition is met, a volunteer button is displayed. When the button is clicked I want to display a dialog box, and a php file is called to populate the box. First I initialize the dialog: [code] $(document).ready(function() { $(

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread Charlie
i did realize after reading your post my bad for not paying closer attention to the  OP, wrapping it all first then moving out of p makes sense mkmanning wrote: This still won't move the optional caption text (see my post above). On Jun 6, 4:21 pm, Charlie wrote: One reason

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread mkmanning
This still won't move the optional caption text (see my post above). On Jun 6, 4:21 pm, Charlie wrote: > One reason I follow this board is to learn how to do things I haven't > encountered. I had no idea off top of my head how to do what you want but in > quest to learn jQuery many of the prob

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread mkmanning
Waseem's answer doesn't look good for a couple reasons, most importantly calling obj.remove(). That will delete the image from the DOM, which renders every action before it pretty useless :P It also doesn't take into account the OP's request to also include the caption text if it exists. Try thi

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread Charlie
One reason I follow this board is to learn how to do things I haven't encountered. I had no idea off top of my head how to do what you want but in quest to learn jQuery many of the problems on this board are great for training one's self. Thanks to team jQuery for such a good library and for e

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread infoaddicted
wasseem's answer looks good, I'd just like to off a little friendly advice on coding style, advice meant to make revisiting your own code in the future easier as well as making it under- standable to others. in a block like: { var a= $(this).attr('alt'); ... } consider u

[jQuery] Re: Thoughts on creating a hoverable alphabetical list

2009-06-06 Thread Scott Sauyet
Dave Joyce wrote: http://stuff.exit42design.com/grabup/475e4d0e25eaf92eefcecdd23af0b0c6.png It's an alphabetical list of letters down the left column. When you hover over those letters, a list in a block on the right side (with overflow hidden) moves up or down to the letter that's being hovere

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread waseem sabjee
i would usually wrap anything effected by jquery within a div var obj = $(".pcontainer img"); var nav = obj.parent(); nav = nav .parent(); nav.prepend(obj); obj.remove(); On Sat, Jun 6, 2009 at 11:11 PM, Bruce MacKay wrote: > Hi folks, > > The following function takes an image tag (

[jQuery] Re: A beginerhaving problems with jquery

2009-06-06 Thread Charlie
you already have what you need whenever you see a reference to jquery.js ( in tutorials,plugin docs etc) you can substitute jQuery.1.3.2.js. or any other version The numbers after jQuery are version numbers, but this is the jquery.js you are needing. You can do one of following: save the jque

[jQuery] Moving a div container from within to before a p container

2009-06-06 Thread Bruce MacKay
Hi folks, The following function takes an image tag (or table) that appears within a p tag container in the form < p> text < /p> and wraps the image (and caption if a title is present) into a div for floating left, right, or centering. My problem is that I don't know how to shift the proce

[jQuery] Re: urgent json parsing error!!!! very important

2009-06-06 Thread mkmanning
It's not a cross-domain security issue, it's a JSONP issue (maybe an authentication issue). Twitter's API allows you to make GET requests which are returned as JSON with an option to specify a callback function. Afaik it doesn't support JSONP however. You can add &callback=some_function and the re

[jQuery] Re: Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-06 Thread Gustavo Salomé
IE cant handle css-images properly Try to use your images as html. 2009/6/6 D A > > > I'm attempting to create a mini slide show of rotating image. I'm > > using jquery cycle lite: > > > > http://malsup.com/jquery/cycle/lite/ > > Well, after a lot more trial and error and experimenting, I've com

[jQuery] Re: ajax.request equivalent in jquery

2009-06-06 Thread mkmanning
You already set the postBody in your first jQuery conversion: data The docs should provide you with all the explanations you need. On Jun 5, 12:31 pm, deex wrote: > Hey all... > > I am doing a conversion of prototype to jquery and am stuck on a > script... I can't figure out how to define certa

[jQuery] Re: urgent json parsing error!!!! very important

2009-06-06 Thread Aaron Gundel
My guess is that you're not building an extension for twitter that will run on their site, so you're violating the cross domain request rule. You cannot directly request from twitter.com, you'd have to proxy through a page on your site (some page that forwarded this request to twitter and returne

[jQuery] Re: simple(fy) data count

2009-06-06 Thread Gustavo Salomé
Sorry, i think i was sleeping when i wrote the code hehe Its $count.data('clone_count'). My mistake. 2009/6/6 Peter Marino > hi, > ok... now I tried it.. but it > seems that > > $count.('data') > > is not valid way of testing if data is there.. my javascript dies at that > point. > > peter > > On

[jQuery] Re: A beginerhaving problems with jquery

2009-06-06 Thread BrownPrince
Thanks for the tip. Please could you send me any jquery.js file and any other helpful jquery libraries. My Email is t.una...@yahoo.co.uk. Thanks in anticipation of your help. On Jun 5, 6:33 pm, waseem sabjee wrote: > that is the correct file name > > say if the jquery.1.2.3.js sits on your deskt

[jQuery] Re: repeatly fadein/fadeout an object

2009-06-06 Thread Gustavo Salomé
Using that function that i wrote do something like this: a global var like : var timer; then modify the function making the setInterval function receive it: timer= setInterval(...) then bind the click of the stop blink button to clear the setInterval : $('#stop_blink').click(function(){ clearInter

[jQuery] Re: I need a copy of jquery.js file.

2009-06-06 Thread Chris Owen
Can you not just download it from: http://code.google.com/p/jqueryjs/downloads/list Chris. On Sat, Jun 6, 2009 at 7:24 PM, BrownPrince wrote: > > Please could anyone send me a copy of jquery.js file with other jquery > library scripts. Pls send to t.una...@yahoo.co.uk >

[jQuery] I need a copy of jquery.js file.

2009-06-06 Thread BrownPrince
Please could anyone send me a copy of jquery.js file with other jquery library scripts. Pls send to t.una...@yahoo.co.uk

[jQuery] Re: Text Scroller vertical

2009-06-06 Thread waseem sabjee
whats the link ? il have a look. On Sat, Jun 6, 2009 at 5:42 PM, Robson wrote: > > Hey guy, take a look at this page of mine and see if my solution is > what you're looking for. If it solves your problem, just copy it from > the code. No plugin requires. >

[jQuery] Treeview

2009-06-06 Thread weirf...@google.com
I'm trying to use the treeview 1.4 with jquery.tabs.pack which comes with jquery.1.1.3.1.pack There appears to be some sort of compatability issue between the 2 versions of code and I can't find a download where the tabs and the treeview are listed in the same place. Below you can see all the fi

[jQuery] Re: Text Scroller vertical

2009-06-06 Thread Robson
Hey guy, take a look at this page of mine and see if my solution is what you're looking for. If it solves your problem, just copy it from the code. No plugin requires.

[jQuery] Cycle Plugin Questions

2009-06-06 Thread Terry
Hi all. I am a newbie to jquery as well as the Cycle plug in. I initally have 2 questions. First, can I utilize the prev and next options along with the pager option, so that someone can have both options of clicking prev/next and or click on one of the pagers. And second, can I have a Cycle slide

[jQuery] Re: Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-06 Thread D A
> I'm attempting to create a mini slide show of rotating image. I'm > using jquery cycle lite: > > http://malsup.com/jquery/cycle/lite/ Well, after a lot more trial and error and experimenting, I've come to the conclusion that the plugin (or, perhaps more likely, IE) can't handle background image

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Dave Maharaj :: WidePixels.com
Thanks everyone for your assistance. Greatly appreciated. Dave -Original Message- From: RobG [mailto:robg...@gmail.com] Sent: June-06-09 11:27 AM To: jQuery (English) Subject: [jQuery] Re: Even Odd Rows On Jun 6, 11:25 pm, Karl Swedberg wrote: > You can make that first line a bit

[jQuery] Re: Even Odd Rows

2009-06-06 Thread waseem sabjee
here's something i put together var iseven = 0; // a normal 1, 0 switch var limit = 34; // maximum limit $("body").prepend('<\/ul>'); // i want to do this as a list for(var i = 0; i < limit; i++) { if(iseven = 0) { // if odd $(".test").append('Odd<\/li>') iseven = 1; } else { // if even $(".test

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread kranthi
i dont have a faintest idea why this is happening. and i am sure that i am not providing a solution to your problem. but from my experience of debugging JS errors on IE 6 (while it works fine on IE 7) i can tell you that probably you encountered a IE 6 specific JS error before that line of co

[jQuery] Re: Cycle Plugin and Wordpress not playing nice

2009-06-06 Thread Mike Alsup
> http://www.ltdmag.com/hometest/ You have an error: $("#indexGallery").cycle is not a function because this URL returns 404: http://www.ltdmag.com/hometest/ltdmag.com/wp-content/themes/ltd_theme/js/jquery.cycle.all.js

[jQuery] Re: Even Odd Rows

2009-06-06 Thread RobG
On Jun 6, 11:25 pm, Karl Swedberg wrote: > You can make that first line a bit more compact: > > $("li").removeClass("even odd") It's still very inefficient. All that is required is for the LIs below the deleted one to have their class swapped from odd to even and vice versa. -- Rob

[jQuery] urgent json parsing error!!!! very important

2009-06-06 Thread grand_unifier
$(document).ready(function() { $('form#search').bind("submit", function(e) { e.preventDefault(); $('#content').html(''); var query1 = urlencode($('input[name="user_

[jQuery] question on jQuery.get(url)

2009-06-06 Thread JRough
I have a question about .get(url) jQuery.get() calls a page on a server somewhere but what I want to do is get the data pairs from a local page url and parse it and post it to google maps . I have a desktop application that posts a user choice from a form to this html page on my desktop and I g

[jQuery] Re: jQuery.post -> PHP script -> redirect

2009-06-06 Thread kranthi
$.post worked for me (the redirection is completely accidental and i had to scratch my head for hours to understand why this happened).. i was not able to understand what your problem is, but i noted a few } mismatches in your code. that should have been $(document).ready(function() { $("#su

[jQuery] Re: repeatly fadein/fadeout an object

2009-06-06 Thread kranthi
use setTimeout clearTimeout combo. var timer; function func() { $("a.tm_link").fadeOut("slow").fadeIn("slow"); setTimeout("func()", 5*1000) } onclick clearTimeout(timer);

[jQuery] Problem w/ Rapid getJSON Calls

2009-06-06 Thread Nestor Alvarez
I'm trying to make a little script to check the availability of usernames. I'm doing it with the following javascript (currently outputting information for debugging)... $("input[name='username']").keyup(checkIfUsernameExists); function checkIfUsernameExists() { username = $("input[name=

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Naren
Use var body= document.getElementsByTagName('body')[0] body.appendChild( div ); body.removeChild( div ); On Jun 5, 9:07 pm, Lideln wrote: > Hi ! > > I have an issue... What is weird, is that my colleagues don't have > it ! (and I did not have it this morning) > It happens only on IE6... Everyth

[jQuery] Re: jquery.ui.cascade null/not an object/undefined, etc etc.

2009-06-06 Thread kranthi
most possible reason is ui.cascade is not defined by the time u call the above line of code. If ui.cascade is defined in an external js file (sorry i never used this plugin) then the file must have been included after calling this line of code. other possibility being... you are using frames/ifra

[jQuery] Re: drag and drop portlet system based on DotNetNuke

2009-06-06 Thread Rick Faircloth
Look good, Armand...however I couldn't get the editing feature to work. Rick On Sat, Jun 6, 2009 at 4:18 AM, Armand Datema wrote: > Hi > > Just wanna show of our portal system based on DotNetNuke jQuery and > jQueryUI > > We took the sortable example and modified it with > > up down movement an

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Karl Swedberg
You can make that first line a bit more compact: $("li").removeClass("even odd") --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2009, at 11:40 PM, MorningZ wrote: // delete then $("li").removeClass("even").removeClass("odd") .filter(":odd")

[jQuery] Re: jQuery.post -> PHP script -> redirect

2009-06-06 Thread WD.acgrs
$.ajax should be used instead of $.post. WD On May 27, 5:48 pm, mrozko wrote: > Hi All, > > I am looking for the solution of this problem: > > i have a login form. i would like to "shake" the login-form box, if > the authentication (PHP+MySQL) failed. > i use jQuery.post for posting the values

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Lideln
Hi, I am using strict doctype, but I think I tried loose too but no success. I don't "do" the append thing, what I quoted is the jquery 3.2 library code where it fails (I was previously using the minified version, but not handy to debug) Any idea ? On Jun 6, 5:27 am, Aaron Gundel wrote: > What

[jQuery] Re: Echo html in with jquery? (code attached)

2009-06-06 Thread jez
thank to everyone who replied! I figured out using $('head').append is the way to go! many thanks for the pointer and help! best, jez On Jun 4, 9:27 pm, Ricardo wrote: > Works fine in FF/IE/Webkit: > > $('head').append('') > > On Jun 4, 1:26 pm, jez wrote: > > > Hello, > > I am almost certain

[jQuery] Re: event

2009-06-06 Thread Chris Chen
current domElement 2009/6/6 runrunforest > >if(o.btnGo) >$.each(o.btnGo, function(i, val) { >$(val).click(function() { >return go(o.circular ? o.visible+i : i); >}); >}); > > > Hi, > > I wonder whats the second p

[jQuery] event

2009-06-06 Thread runrunforest
if(o.btnGo) $.each(o.btnGo, function(i, val) { $(val).click(function() { return go(o.circular ? o.visible+i : i); }); }); Hi, I wonder whats the second parameter, val, in the function means ?

[jQuery] Re: IFrame caching in Firefox

2009-06-06 Thread waseem sabjee
here's is one way you can do this however my way does not use IFrames, but it does pull all the html from another page. your html your script $.ajax({ url:"source.html", caching:false, success: function(html) { $("#target").html(html); } }); so what i do is i loop it in a setTimout func

[jQuery] Re: ajax.request equivalent in jquery

2009-06-06 Thread waseem sabjee
To be honest i have not used prototype before. i'm not sure what post body does. On Sat, Jun 6, 2009 at 3:22 AM, Dan Cochran wrote: > Thanks for the responses. I did realize after I posted that I hadn't > converted the css changes yet... > > What about postBody? What is it? > > On Fri, Jun 5, 2

[jQuery] drag and drop portlet system based on DotNetNuke

2009-06-06 Thread Armand Datema
Hi Just wanna show of our portal system based on DotNetNuke jQuery and jQueryUI We took the sortable example and modified it with up down movement animation slide into place smooth animation drag to delete and click to delete restore functionality Inspiration was the bbc.co.uk site http://www.

[jQuery] Re: simple(fy) data count

2009-06-06 Thread Peter Marino
hi, ok... now I tried it.. but it seems that $count.('data') is not valid way of testing if data is there.. my javascript dies at that point. peter On Fri, Jun 5, 2009 at 11:30 PM, Gustavo Salomé wrote: > $count=$(".div_count"); > var clone_count =!$count.('data') ?1:$cont.data('clone_count')+