[jQuery] Preloading CSS images issue

2009-12-29 Thread Alexandru Adrian Dinulescu
Hello.

I have a WP blog found at http://alexdweb.com/blog/, that has more than 1
"theme". Basically when you change the theme via the change theme option in
the start menu, some images are loaded. The problem is that those images are
pretty big, and i would like them to PRELOAD after the main theme has
loaded. (which is the default).
I have used the
http://plugins.jquery.com/project/automated_image_preloaderplugin
however i'm getting a $.preloadCssImage() is not a function error. I
am using jQuery 1.3.2. I've tried searching the web for an answer to this
question but only found 1 post, and that one only had replies concerning
different things.

Anyone can suggest a way to preload some images via jQuery or a reason why
the plugin gives that error?

Many thanks.
---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com


Re: [jQuery] Introduction to jQuery

2009-11-25 Thread Alexandru Adrian Dinulescu
Hmm is it just me or some text is over another parts of text?
Other than that, well I was hoping for some text-wall rather than images,
most images do not even have a title, so in some images i really dont know
whats shown.

With a lot of refinement, this could considered to be distributed, but as it
is it really needs a lot of work.

---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com



On Wed, Nov 25, 2009 at 6:01 AM, winster  wrote:

> hi all, i have a ppt powerpoint presentation on jQuery
>
> http://docs.google.com/present/edit?id=0AW_4ZSAG69j6ZGdwOWNyY2dfOTFkZnNycmZkeg&hl=en
> have a look and give comments!
>


Re: [jQuery] Re: Reorder list numerically based on attribute?

2009-11-24 Thread Alexandru Adrian Dinulescu
Thank you very much

---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com



On Tue, Nov 24, 2009 at 2:57 PM, MorningZ  wrote:

> Alexandru,
>
> this Net Tuts posting from a few days ago explains that ".sort" action
> of JavaScript very nicely and clearly
>
>
> http://net.tutsplus.com/tutorials/javascript-ajax/sorting-values-with-javascript/
>
>


Re: [jQuery] Reorder list numerically based on attribute?

2009-11-24 Thread Alexandru Adrian Dinulescu
Sorry to highjack this, but Karl could you somehow describe exactly what
that function does, my js is pretty rusty but i would like to understand how
it works.

Thanks
---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com



On Tue, Nov 24, 2009 at 6:54 AM, Karl Swedberg wrote:

>
> Something like this might work...
>
> var items = $('li').get();
> items.sort(function(a, b) {
> var relA = +$(a).attr('rel');
> var relB = +$(b).attr('rel');
>
>  if (relA > relB) { return 1; }
>  if (relA < relB) { return -1; }
>  return 0;
> });
> for (var i=0; i< items.length; i++) {
> $('.list').append(items[i]);
> }
>
> --Karl
>
> 
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
> On Nov 23, 2009, at 8:21 PM, welshy1984 wrote:
>
> I am wondering if it is possible to reorder a unordered list based on
> the list items 'rel' attribute?
>
> i have a list of items that change dynamically (its linked in with
> google maps, the 'rel' attribute of the list item is updated with the
> new distance from the google map marker icon when the marker is moved)
> and i want it to update the list ordering each time a 'rel' attribute
> changes.
>
> i had a good look about, but i cant find anything for numerical
> ordering (its all alphabetical) so im hoping somebody here could help?
>
> my list essientially looks like this:
>
> 
> Place One
> Place Two
> Place Three
> 
>
> i'd be greatful for any help!
>
>
>


Re: [jQuery] slideToggle lag in Firefox

2009-11-24 Thread Alexandru Adrian Dinulescu
Firefox really eats a lot of memory when it's up for a long time. I also
encountered that issue not only in sliding but in animations that move stuff
around. Problem is that firebug really makes stuff slower, because it shows
you real-time what the browser is doing. The console / net thingy also eat a
lot of time, as it's ocnstantly fetching requests.

Also after a while firefox itself starts to lag ( like every good program,
it has to be reinstalled once a year to keep things smooth ).
My advice is to go for the "fast" setting but if this problem only happens
for you then it doesnt mean that it will happen for everyone else also. If
you are concerned about firefox posibilities you can browser.detect gecko
(since that's firefox's engine) and make a different thing for it.

Now it also depends on what firefox version you have, 3.5 is a lot faster
than 3 and i dont even compare it to 2.

Regards
---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com



On Tue, Nov 24, 2009 at 5:11 AM, Dave Maharaj :: WidePixels.com <
d...@widepixels.com> wrote:

> I have the same problem. Firefox eats up a lot of memory when open for a
> long time (900k sometimes) and my toggle divs drag ass.
>
> If I find a solution I would be happy to hear.
>
> Thanks,
>
> Dave
>
> -Original Message-
> From: Jason Kaczmarsky [mailto:jkaczmar...@yahoo.com]
> Sent: November-23-09 10:06 PM
> To: jQuery (English)
> Subject: [jQuery] slideToggle lag in Firefox
>
> So I have a div with an input, textarea, and submit button. A link makes it
> so you can expand/contract this div. In Firefox only, the div resize is
> very
> laggy and its clearly shown on the site.
>
> That happens when you open it. The rest of the site is pushed down like its
> supposed to, but the elements being moved seem to duplicate, like FF is not
> rending things fast enough. The above image is the bottom of the site,
> appearing multiple times when it should once appear once.
>
> I read somewhere that Firebug causes things to be slower, and I do have
> Firebug installed, but I tested it on another computer without Firebug and
> the same thing happens. It works much smoother in any other browser.
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.709 / Virus Database: 270.14.76/2519 - Release Date: 11/23/09
> 04:22:00
>
>


Re: [jQuery] Close popup (div) when clicked outside the div

2009-11-23 Thread Alexandru Adrian Dinulescu
Hello.

I think you could do something like
$(".containerdiv:not(.divThatHoldsTheTextboxes)").click(function(){
$(".contaierDiv").css("display", "none");}); this means that if the users
clicks anywhere outside the div that holds the boxes the container div will
be changed. I am not very pro in JQuery / js but i think that could do the
trick. Rafine the things as needed

---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
Odesk Profile: http://www.odesk.com/users/~~3a2d7f591313701b
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

LinkedIn Profile: http://ro.linkedin.com/in/alexandrudinulescu
XHTML/CSS/jQuery Blog -> http://alexdweb.com/blog
MainWebsite: http://alexdweb.com



On Mon, Nov 23, 2009 at 11:54 PM, Dexter  wrote:

> Hi,
>  I have a div which appears when a textbox gets focus. DIV has n
> number of textboxes. I want to say display:none when a user Clicks
> anywhere in the window. Div should not close if the user is switching
> between textboxes.
>
> All these jquery plugins, say the calendar control closes if user
> clicks outside. How is that happening? Any idea?
>
> I  have checked
>
> http://blog.josh420.com/archives/2007/11/determine-if-any-other-outside-element-was-clicked-with-javascript.aspx
> but it doesnt quite help for me since I cant keep track of ids.
>


[jQuery] Re: children() passable variables there

2009-07-15 Thread Alexandru Adrian Dinulescu
it doesnt work at all,
working with 20+ rows
this happens only in ie, firefox/saf/google works.


---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

XHTML/CSS/jQuery Blog -> http://alexd.adore.ro/blog
MainWebsite: http://alexd.adore.ro



On Tue, Jul 14, 2009 at 9:24 PM, James  wrote:

>
> When you say "bogs down" does that mean it works, but very slow? Or
> does it mean it doesn't work at all?
> How many rows are you working with?
>
> On Jul 14, 1:31 am, Alexandru Adrian Dinulescu 
> wrote:
> > Hello.
> >
> > I am trying to do
> > $("tbody tr").each(function(){
> > $(this).children("td:first").css({
> > 'border-left': '3px solid #EE',
> > });
> > $(this).children("td:last").css({
> > 'border-right': '3px solid #ee',
> > });
> > $(this).children("td:not(:first:last)").css("text-align",
> > "center");
> > });
> >
> > This works in Firefox 3.5 but somehow it bogs down in IE7+
> > I also tried with td:eq(0) and td:eq(4) (have 5 columns)
> >
> > help?
> >
> > ---
> > Alexandru Dinulescu
> > Web Developer
> > (X)HTML/CSS Specialist
> > Expert Guarantee Certified Developer
> > XHTML:http://www.expertrating.com/transcript.asp?transcriptid=1879053
> > CSS :http://www.expertrating.com/transcript.asp?transcriptid=1870619
> > RentACoder Profile:
> http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInf...
> >
> > XHTML/CSS/jQuery Blog ->http://alexd.adore.ro/blog
> > MainWebsite:http://alexd.adore.ro
>


[jQuery] children() passable variables there

2009-07-14 Thread Alexandru Adrian Dinulescu
Hello.

I am trying to do
$("tbody tr").each(function(){
$(this).children("td:first").css({
'border-left': '3px solid #EE',
});
$(this).children("td:last").css({
'border-right': '3px solid #ee',
});
$(this).children("td:not(:first:last)").css("text-align",
"center");
});

This works in Firefox 3.5 but somehow it bogs down in IE7+
I also tried with td:eq(0) and td:eq(4) (have 5 columns)

help?

---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

XHTML/CSS/jQuery Blog -> http://alexd.adore.ro/blog
MainWebsite: http://alexd.adore.ro


[jQuery] [jQuery][Cluetip] Cluetip/live issues

2009-07-13 Thread Alexandru Adrian Dinulescu
Hello.

Is there a way to have the elements loaded by cluetip (which is ajax)
live(ed). Because i want to put some triggers INSIDE the loaded element
itself and based on jQuery docs i ned to use the live function, but i dont
know how to use that with the cluetip.


---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

XHTML/CSS/jQuery Blog -> http://alexd.adore.ro/blog
MainWebsite: http://alexd.adore.ro


[jQuery] Getting the current page HTML URL via JQuery variable

2009-07-12 Thread Alexandru Adrian Dinulescu
I am trying to get the current page HTML URL (the one at the top in the
address box) and place it in a variable. Any help ?

---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
Expert Guarantee Certified Developer
XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053
CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619
RentACoder Profile:
http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInfo.aspx?lngAuthorId=6995323

XHTML/CSS/jQuery Blog -> http://alexd.adore.ro/blog
MainWebsite: http://alexd.adore.ro


[jQuery] Re: Newbie question

2009-07-02 Thread Alexandru Adrian Dinulescu
Hello.

Damn i'm so silly, i looked over the website and i totally didnt see that.
Thanks a lot for pointing it
Best Regards


On Thu, Jul 2, 2009 at 2:17 PM, Charlie  wrote:

>  http://docs.jquery.com/Selectors
>
> look at the last item in "Basics" , "Selector1,Selector2" and click on
> it to see the example
>
> getting familiar with the jquery website categories of "selectors,
> traversing, manipulation etc " is probably the #1 best tool for learning
> jquery.
>
> Alexandru Adrian Dinulescu wrote:
>
> Hello.
>
> I am trying to do something like this
> $(element1 || element2).click(function(){})
>
> unfortunately this does not work, both element1 and element2 work
> independently but not together and i have no clue how to get them to work
> together.
>
> Basically what i need that either when element1 is clicked, OR element2 is
> clicked, do identical thing.
>
> I know this is a very simple issue, but i havent learned Javascript at all,
> i've started with jQuery.
>
> Thank you
>
>
>


[jQuery] Newbie question

2009-07-02 Thread Alexandru Adrian Dinulescu
Hello.

I am trying to do something like this
$(element1 || element2).click(function(){})

unfortunately this does not work, both element1 and element2 work
independently but not together and i have no clue how to get them to work
together.

Basically what i need that either when element1 is clicked, OR element2 is
clicked, do identical thing.

I know this is a very simple issue, but i havent learned Javascript at all,
i've started with jQuery.

Thank you