[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

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

2008-11-18 Thread CodingCyborg
for image click here         }); } Cheers, Lee On Nov 18, 1:17 pm, CodingCyborg [EMAIL PROTECTED] wrote: 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

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

2008-11-18 Thread CodingCyborg
it                 $(this).hide();             }         })     } } I'm pretty new to jQuery so apologies if there are some silly or obvious comments, just my way of remembering whats happening when I look back at it!! Cheers, Lee On Nov 18, 2:49 pm, CodingCyborg [EMAIL PROTECTED] wrote: I think

[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 the

[jQuery] Re: non-programmer

2008-11-16 Thread CodingCyborg
. 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 CSS. I'm about to try my hand

[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 in

[jQuery] Re: this and z-index changes

2008-11-15 Thread CodingCyborg
Would it be plausible to create a custom tag of drag /drag? 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

[jQuery] Re: this and z-index changes

2008-11-14 Thread CodingCyborg
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 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

[jQuery] Re: this and z-index changes

2008-11-14 Thread CodingCyborg
, CodingCyborg [EMAIL PROTECTED] wrote:         jQuery('.draggableWindow').mousedown(function(){                 numWindows=jQuery('.draggableWindow').size() + 500;                 zindexIt2 = parseInt($(this).css(z-index));                 if(zindexIt2 numWindows

[jQuery] Re: this and z-index changes

2008-11-14 Thread CodingCyborg
);                                 $(this).children('h1').text(parseInt($ (this).css(z-index)));                             }                         });                 }         }); On Nov 14, 11:13 am, CodingCyborg [EMAIL PROTECTED] wrote:         jQuery('.draggableWindow').mousedown(function

[jQuery] Re: this and z-index changes

2008-11-14 Thread CodingCyborg
)));                             }                         });                 }         }); On Nov 14, 11:13 am, CodingCyborg [EMAIL PROTECTED] wrote:         jQuery('.draggableWindow').mousedown(function(){                 numWindows=jQuery('.draggableWindow').size() + 500;                 zindexIt2 = parseInt

[jQuery] Re: this and z-index changes

2008-11-14 Thread CodingCyborg
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 group of windows is clicked, it runs as if every window in that group

[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

[jQuery] Re: Changing the SRC of an iframe

2008-11-13 Thread CodingCyborg
know the code is passing through the function, but even if I take off the if(url) 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

[jQuery] Re: Changing the SRC of an iframe

2008-11-13 Thread CodingCyborg
. 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: div class=draggableWindow personalWin id=win10        h1span/spanPersonal Settings/h1        div class=content

[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

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

2008-11-12 Thread CodingCyborg
();                         newLeft= window.width - $(this).outerWidth(); maybe try:                         newTop= $(window).height() - $ (this).outerHeight();                         newLeft= $(window).width() - $(this).outerWidth (); Good luck pd On Nov 12, 1:24 pm, CodingCyborg [EMAIL PROTECTED

[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 that didn't solve

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

2008-11-11 Thread CodingCyborg
. -CodingCyborg

[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 back

[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] 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 right

[jQuery] Re: animated robot cartoon with jquery

2008-11-09 Thread CodingCyborg
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 best sound file, it's actually a couch

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
- 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 with jquery I am sad to report that finding cross browser audio playing javascript is pretty tough stuff

[jQuery] Re: animated robot cartoon with jquery

2008-11-08 Thread CodingCyborg
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 could only get these darn timeouts

[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

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
CodingCyborg! Thank You! I'm going to study and learn from your code example and implement it into mine. -Anthony On Nov 7, 12:24 am, CodingCyborg [EMAIL PROTECTED] wrote: I made a few more modifications such that the robot doesn't keep bouncing and the sky keep moving when the ground has

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

2008-11-07 Thread CodingCyborg
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 [EMAIL PROTECTED] wrote: Hmm, I think I've been attempting to solve a problem that doesn't exist. Or it just wasn't the only one. Currently the link in the iFrame

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
, CodingCyborg [EMAIL PROTECTED] wrote: I just noticed, after looking over the code again, that since you have all three pieces of the robot that are bouncing bounce at the same time the line of code can be condensed into one. As well as the two that bounce together at the beginning

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
, 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] wrote: Well, I decided to add some more fun stuff :) http://codingcyborg.com

[jQuery] Re: animated robot cartoon with jquery

2008-11-07 Thread CodingCyborg
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 would be fun to have him fall :) Now I'm looking

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

2008-11-06 Thread CodingCyborg
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

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

2008-11-06 Thread CodingCyborg
. I'm not sure if that's because the div only possibly exists and is printed 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, CodingCyborg [EMAIL PROTECTED] wrote: I can't seem

[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
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 replace the three lines