[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
> > parent page. I'm not sure if there is  simple change for the elements > > in the code to just then include in the iFrame page or possibly a way > > to link the iFrame link to a function stored on the parrent page. > > Any help is appreciated. > > Thank you in advance, > > CodingCyborg

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
I can't seem to find documentation on the additional parameters of the jQuery selectors. I've searched the jQuery site and Google, but can't find this information. A link to the page would be helpful. On Nov 6, 6:25 pm, jquertil <[EMAIL PROTECTED]> wrote: > sorry I dont really understand your que

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-06 Thread CodingCyborg
iv exists for some reason. I'm not sure if that's because the div only possibly exists and is "print"ed onto the page if needed, or for some other reason. Is there a possible fix for helping jQuery recognize that the div has a function connected to it? On Nov 6, 9:58 pm, Codi

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
This is Beautiful! To save yourself from the copy/paste to create the repeated bounce, and to make the file smaller, you can simply replace the three lines that were enormously long with this: startHim(); And then add this at the bottom of the js file: var num = 1; function startHim(){

[jQuery] Re: animated robot cartoon with jquery

2008-11-06 Thread CodingCyborg
t has the same basic directory set up, but with the modified script.js file for viewing. On Nov 6, 11:07 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > This is Beautiful! To save yourself from the copy/paste to create the > repeated bounce, and to make the file smaller, you can simply re

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
ed or a whole number multiple speed you could just changed how much code was in the function and the numbers associated with it. (If any of that makes sense.) But that saves more code, and again, makes the file a bit (Quite seriously only a few bits :P) smaller. On Nov 7, 12:44 am, "anthony.calzadi

[jQuery] Re: "Link" in an iFrame changing Parent window elements

2008-11-07 Thread CodingCyborg
e function in the parent page.  On that note, if the function DOES > exist in the parent page, my example should work.  jquertil's example > was how to interact with the DOM of the parent, not how to call a > function that exists on the parent. > > On Nov 6, 10:23 pm, CodingCyborg <[

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
Once again thanks for your insight. I really am a complete novice at > programming in general. I'm really scrutinizing your code so as to > learn from it. > > -Anthony > > On Nov 7, 8:34 am, CodingCyborg <[EMAIL PROTECTED]> wrote: > > > I just noticed, after

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
. On Nov 7, 8:58 pm, "anthony.calzadilla" <[EMAIL PROTECTED]> wrote: > Thats incredible! How did you do that?! I'm going to dig into your > code and try to figure it out... AWESOME! > > -A > > On Nov 7, 8:50 pm, CodingCyborg <[EMAIL PROTECTED]> wro

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
sounds for when it's moving that would be nice :) Best of luck. On Nov 7, 10:12 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > I found the "edge of the cliff" while allowing the robot to roll > multiple times without resetting the backgrounds. From there I thought > it

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
file')[0].playSound(); > > JK > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of CodingCyborg > Sent: Friday, November 07, 2008 9:04 PM > To: jQuery (English) > Subject: [jQuery] Re: animated robot cartoon w

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
7;t all clear at the same time like they should have. This one is a bit rough around the edges, but the sound is a nice addition :) On Nov 8, 1:46 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > I was actually pleased to find that there is a jQuery plug-in for > playing sounds! Now if I co

[jQuery] Re: Poll sumbit

2008-11-08 Thread CodingCyborg
I'm not sure if this is the only way, and I'm not actually sure of how to do it, but for a registration page I have for a game they use functions that reference PHP pages that interact with the database and return information such that the page doesn't have to reload in order for database interact

[jQuery] Preloading WAV file?

2008-11-09 Thread CodingCyborg
I need to preload a WAV file so that it doesn't end up behind the graphics that its supposed to match with... However I can't seem to find a plug-in or simple script to do this. Help is appreciated :) -CodingCyb.org

[jQuery] Delaying a .css until an animation on a different div is done?

2008-11-10 Thread CodingCyborg
Hey, I have a button set up to fade out and then hide a div within a div. The parent div has a 1px border, but it looks odd to have the border float while the inside div fades away. I would like to set it up so the border goes to "none" then after the inside div fades and hides the border goes bac

[jQuery] Re: Jquery Countdown!!!

2008-11-09 Thread CodingCyborg
Since the way this forum is set up the line breaks are changed. This caused some of your code lines to be off. The line after "layout:" with the "+" at the end should be on the same line as the "layout:" line. Also, I'm not sure if this one matters, but put the "'yODHMS'," on the line above it rig

[jQuery] Re: animated robot cartoon with jquery

2008-11-09 Thread CodingCyborg
e any more animations shoot me an email, even if you don't want any improvements on them, it's nice to have something to mess around with :P On Nov 8, 2:02 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > http://codingcyborg.com/jQueryFun/Robot/robotSound.html > > Not the be

[jQuery] Script to keep draggable windows in the main window not working?

2008-11-11 Thread CodingCyborg
} } }); Not sure whats messing it up. I've tried changing a few parts of it to no prevail. Help is appreciated. -CodingCyborg

[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-12 Thread CodingCyborg
; (); > > Good luck > > pd > > On Nov 12, 1:24 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > > > I have a script to keep the draggable windows from leaving the main > > window they are in. When I comment out the code everything else works > > perfectly. But if I

[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-12 Thread CodingCyborg
Well, it turns out I just wasn't paying attention when I ended the .each function and only had a } when I needed a }); That fixed it all up and it's running fine now :) On Nov 12, 3:55 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > Thank you for your response. Unfortunately th

[jQuery] Changing the SRC of an iframe

2008-11-13 Thread CodingCyborg
I currently have this function set up: function link(win,url){ if(url){ $(win+' > iframe').attr("src",url); } setFocus(win); } And I don't get any errors in the console. win is a div that contains an iframe hence the child selector. I've tried a few differ

[jQuery] Re: Changing the SRC of an iframe

2008-11-13 Thread CodingCyborg
part it doesn't change the src... On Nov 13, 9:26 am, ricardobeat <[EMAIL PROTECTED]> wrote: > That should work, can you show us some HTML? > > On Nov 13, 1:02 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > > > I currently have this function set up: > > &

[jQuery] Re: Changing the SRC of an iframe

2008-11-13 Thread CodingCyborg
of the div with id > "win10". Remove the ">" from your selector and it should work: > $(win+' iframe').attr("src",url); > > -Hector > > On Thu, Nov 13, 2008 at 10:51 AM, CodingCyborg <[EMAIL PROTECTED]>wrote: > > > > > &

[jQuery] "this" and z-index changes

2008-11-13 Thread CodingCyborg
I recently have been playing around with a "Desktop" module that was on nettuts and made a modification for it that doesn't fully work. There are many draggable windows, and in order for them to function like a real desktop they need to have z-index changes such that if you close one on top the la

[jQuery] Re: "this" and z-index changes

2008-11-14 Thread CodingCyborg
through the .each() multiple times while others don't move. Or when others go through it they affect the first one through it. Help would be highly appreciated! On Nov 13, 1:08 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > I recently have been playing around with a "Desktop"

[jQuery] Re: "this" and z-index changes

2008-11-14 Thread CodingCyborg
              $(this).css("z-index",newZ2); >                                 $(this).children('h1').text(parseInt($ > (this).css("z-index"))); >                             } >                         }); >                 } >         }); > > On Nov 14, 11:13 am, CodingCyborg <[EMAIL PROTECTED]> wrote: > > >         j

[jQuery] Re: "this" and z-index changes

2008-11-14 Thread CodingCyborg
nly 1 unit greater >                                 newZ2 = zindexlt2-2; //just to be safe >                                 $(this).css("z-index",newZ2); >                                 $(this).children('h1').text(parseInt($ > (this).css("z-index"))); >

[jQuery] Re: "this" and z-index changes

2008-11-14 Thread CodingCyborg
                $(this).css("z-index",newZ2); >                                 $(this).children('h1').text(parseInt($ > (this).css("z-index"))); >                             } >                         }); >                 } >         }); > >

[jQuery] Re: "this" and z-index changes

2008-11-14 Thread CodingCyborg
t; the global vars suggestion was a shot in the dark, if you a run loop > they will be overwritten for every iteration unless the assignment > doesn't execute. > > On Nov 14, 2:23 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > > > I have confirmed that when one of a gr

[jQuery] Re: Need JQuery guidence

2008-11-15 Thread CodingCyborg
http://codingcyb.org/jQueryFun/Robot/robotHumor.html http://codingcyb.org/jQueryFun/Robot/js/humor.js Its pretty simple, and shows a fun application. On Nov 15, 8:47 am, "bharani kumar" <[EMAIL PROTECTED]> wrote: > Hi Dear Friends > > I am new to jquery program, ya i already did small snipets i

[jQuery] Re: "this" and z-index changes

2008-11-15 Thread CodingCyborg
Would it be plausible to create a custom tag of ? I think part of the problem is because all of the windows have 2 classes. One is the .draggableWindow the other defines the group they are in. With a custom tag it would allow for each to have one class. On Nov 14, 3:02 pm, CodingCyborg <[EM

[jQuery] Re: select a div with a specific value

2008-11-15 Thread CodingCyborg
http://docs.jquery.com/Selectors/attributeEquals#attributevalue On Nov 15, 6:11 pm, "Alfredo Alessandrini" <[EMAIL PROTECTED]> wrote: > I've a html page like this: > > >     value="b4"/> >     value="c4"/> >     value="d4"/> >     value="e4"/> > > > Can I select a div by the value?? > > $(".che

[jQuery] Re: non-programmer

2008-11-16 Thread CodingCyborg
ery. I suggest just jumping into jQuery, there are many examples out there and its not too tough. -CodingCyborg On Nov 16, 7:04 am, ncriptide <[EMAIL PROTECTED]> wrote: > I've been a graphic designer for the past 25 years. Only "programming" > I know is HTML and a little

[jQuery] Re: $('#id').width()

2008-11-18 Thread CodingCyborg
Can you put up a test page or link to the main page? If I saw the source I may notice the problem. On Nov 18, 5:18 am, Lee Mc <[EMAIL PROTECTED]> wrote: > Hi, i'm having an issue with setting the width of a field using $ > ('#field_id').width(). My setup is as follows: > > - I have a form with mu

[jQuery] Re: $('#id').width()

2008-11-18 Thread CodingCyborg
        // catch the image being clicked >         $('#field_img').click(function(){ >                 // code for image click here >         }); > > } > > Cheers, > Lee > > On Nov 18, 1:17 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > > > Can

[jQuery] Re: $('#id').width()

2008-11-18 Thread CodingCyborg
s' now represents the div container.  Test for the > id and see if we should hide this div >             if (this.id.substr(8) != tab_display) { >                 // we have a tab whose content we don't want to see so > hide it >                 $(this).hide(); >        

[jQuery] Re: not a standard .attr task - needs a filter

2008-11-18 Thread CodingCyborg
I'm not really sure on this, but would there need to be quotes around the # in the filter? Actually its possible there would be more quotes? var link = $(this+"[href^='#']").val(); Just a guess, but worth a try. -CodingCyb.org On Nov 18, 7:57 pm, daniel <[EMAIL PROTECTED]> wrote: > Maybe it's t