[jQuery] Re: JSON + variable

2010-02-03 Thread weidc
; try this, > > function yasearch(a) { >             alert(a.q); > > } > >         $(function() { >             $.ajax({ >                 type: 'GET', >                 url: 'js.html', >                 data: "format=json&id=123", >      

[jQuery] JSON + variable

2010-02-03 Thread weidc
Hello, well i got a problem with using JSON. My code looks like this: $(function() { $.ajax({ type:'GET', url: url, data:"format=json&id=123", success:function(data) { alert(data); // doesn't work

[jQuery] Re: animation is getting slower.

2009-07-17 Thread weidc
yep yep. already got it some mins after my post. working fine without mouseover. thank you. :) On 17 Jul., 13:02, Nick Fitzsimons wrote: > 2009/7/17 weidc : > > > this is my code (js): > > $("#boden").mousemove(function(e) > > > >                $(

[jQuery] animation is getting slower.

2009-07-17 Thread weidc
hi, i was just playing around today with some animations. this is my code (js): $("#boden").mousemove(function(e) { var pageCoords = "( " + e.pageX + ", " + e.pageY + " )"; var clientCoords = "( " + e.clientX + ", " + e.clientY + " )"; $("span:first").text("( e.pa

[jQuery] height/width of background image

2009-07-14 Thread weidc
hi, at the moment i'm trying to get the height width of the background image. but i always get the width/height of the full size of the div or the window size. for example if the image is not big enough for the browser window the image is more than one time in the screen and i need the width/he

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
the price have to change on the page without reloading the site. the javascript is just to look well for the customers. but thank you anyway! On 7 Jul., 13:24, Giovanni Battista Lenoci wrote: > weidc ha scritto: > > > no it's not for money + - money. it's just to show the

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
lly if it's *their* money! :) > > So: be careful. And if you're relying on JavaScript logic to handle > people's money, change programming language, JavaScript is not good at > it. > > On Tue, Jul 7, 2009 at 12:11, weidc wrote: > > > hi, > > > thats m

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
== 2) { //schoen so }else{ endpreis = endpreis+".00"; } } On 7 Jul., 12:11, weidc wrote: > hi, > > thats my code: > > endpreis =Math.round(endpreis*100)/100; > > to round the price of something but i'd like

[jQuery] how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
hi, thats my code: endpreis =Math.round(endpreis*100)/100; to round the price of something but i'd like to have 2,00 or 2,50 instead of 2 and 2,5. i'd be happy about any help. --weidc

[jQuery] change browser url?

2009-06-08 Thread weidc
Hi, i'd like to know if i can change the page url somehow. for example: let say the page's url is: http://groups.google.com/group/jquery-en/post i would like to change it to: http://groups.google.com/group/jquery-en/bla without reloading the page. is that possible? if so how can i do that? th

[jQuery] Re: get date / days

2009-05-29 Thread weidc
found a way. On 29 Mai, 11:44, weidc wrote: > hi, > > i need to know all days of a month / year. > for example today is friday 29. and the month got 31 days. ( at the > moment i just know that today is the 29. and every month got 31 days.) > > 2. 3. 9. 10. 16. 17. 23. 24

[jQuery] get date / days

2009-05-29 Thread weidc
hi, i need to know all days of a month / year. for example today is friday 29. and the month got 31 days. ( at the moment i just know that today is the 29. and every month got 31 days.) 2. 3. 9. 10. 16. 17. 23. 24. 30. 31. are weekend. i need to know the name of each day. i'd be happy about an

[jQuery] Re: Onwidow resize element width

2009-05-18 Thread weidc
might not help but i did those window resize once for one of my objects. was always at the right place after resize. $(window).resize(function() { //footer var leftabstand = $(".footer_08").offset(); var width = $(".footer_08").width(); var left= leftabstand.left +

[jQuery] Re: .onclick - Executing a function before another - Help Solve

2009-05-18 Thread weidc
what about adding a class to the open div's. like this: $(".button1").click(function() { if($("div").hasClass("open")) { $(".open").removeClass("open").slideUp('slow', function() { $(".div1").addClass("open").slideDown('slow'); }); } else { $

[jQuery] Re: How to configure Fade in fade out properly

2009-05-13 Thread weidc
setTimeout("blub()",7000); function blub() { $("#mylink").show(); $("#myloadingbar").hide(); } On 13 Mai, 14:19, Albert Y wrote: > Hi all, > >  I'm Albert, 1st time posting a problem here for you experts out there to > assist me on. Plsthanks in advance. > > OK let me describe

[jQuery] Re: How to configure Fade in fade out properly

2009-05-13 Thread weidc
setTimeout("blub()",7000); function blub() { $("#mylink").show(); $("#myloadingbar").hide(); } On 13 Mai, 14:19, Albert Y wrote: > Hi all, > >  I'm Albert, 1st time posting a problem here for you experts out there to > assist me on. Plsthanks in advance. > > OK let me describe

[jQuery] Re: fadeIn, fadeOut malfunction

2009-05-13 Thread weidc
guess i would do like this. didn't tested it. if(!$("div").hasClass("over")) { $("div").hover( function() { $(this).addClass("over"); $(this).fadeIn() }, function() { $(this).fadeOut(function() { $(this).removeClass("over

[jQuery] Re: SlideMenu & ASlideShow conflict

2009-05-13 Thread weidc
oud M. Abdel-Fattah" wrote: > I'll do later, but I can't change the design in this case :( ! > > On May 12, 11:25 am, weidc wrote: > > > try to put the banner before the menu. > > > atm it is like this: > > > > > > > > &

[jQuery] Re: SlideMenu & ASlideShow conflict

2009-05-12 Thread weidc
try to put the banner before the menu. atm it is like this: ... you should try: ... i always do so for ie6 'cause the z-index doesn't work. and i didn't found an other way yet. but it always worked for me. On 11 Mai, 02:12, "Mahmoud M. Abdel-Fattah" wrote: > I forgot to me

[jQuery] ie6 onclick

2009-04-23 Thread weidc
hi, however come i can't use .click() in my tpl so i tried using the attr onclick. well it works in firefox and so on but not in ie6. code: $(".header_10").attr("onclick","blub()"); function blub(){ alert('sdasd'); } thanks for any help.

[jQuery] Re: jQuery and !important

2009-03-27 Thread weidc
as far as i know it doesn't work with .css(). On 27 Mrz., 13:36, Martijn Houtman wrote: > Hello, > > I know I should actually avoid using !important, but nonetheless I'd   > like to set it using jQuery's css(), but it seems to ignore setting   > this property completely. Anyone knows if this is

[jQuery] Re: Callback functions

2009-03-27 Thread weidc
for me it works like this: $('#anim_flipper').animate({top: '1130px'}, { duration: 1100}) .animate({left: '335px'}, {duration: 1400}, {easing:'easeInOutQuad'}) .animate({top: '1126px', left: '339px'}, { duration: 600}, {easing:'easeOutQuad'}) .animate({top: '1142px', left: '330px'},

[jQuery] Re: Reusing script

2009-03-24 Thread weidc
what are these classes? a tags? is there a div or something around all of them? i would do it like so: lets say they got a parent div class="whatever" $(".whatever").children().click(function(){ $(".whatever").children().addClass('hiddenstep'); $(this).removeClass('hiddenstep'); }); well

[jQuery] Re: Newbie Question: get id from A tag

2009-03-24 Thread weidc
$(".clickme").attr("id"); On 24 Mrz., 14:03, Jesse wrote: > Hello, > > I am not good at js. I want to get the id from "A" tag. > E.g. link > > I need the value "1234" from the code above, but dont know how to do > it. > > Please help. > > Thanks.

[jQuery] ie6 scrollbar

2009-03-24 Thread weidc
var popcookie = $(".popup").attr("id"); $.cookie('popp', popcookie, { expires: 1 }); }); if(closed==0){ $(window).scroll(function () { var scrollpos = document.documentElement.scrollTop; var winh = document.documentElement.clientHeight; var pos2 = scrollpos- 200+winh;//-49; $('.popup').css({top: pos2,bottom: "1px"}); $(".backgimg").css({top: pos2,bottom: "1px"}); }); } } } thanks in advance. --weidc

[jQuery] Re: Big problem with IE

2009-03-18 Thread weidc
hi, at firefox i can see that all li's get margin-left and margin-right 5em. what if you remove that? or if you give them margin:0 ? it doesn't change something in firefox but it seems to be width which is wrong in ie. On 17 Mrz., 23:55, 3dmagicaldesigns <3dmagicaldesi...@gmail.com> wrote: > I h

[jQuery] Re: jquery / ajax

2009-02-13 Thread weidc
response it returns. > Very useful for debugging. > > On Feb 12, 5:16 am, Liam Potter wrote: > > > you can test if it would work using firebug, just check the net tab for > > activity from the page to "some.php" > > > weidc wrote: > > > Hi, > >

[jQuery] jquery / ajax

2009-02-12 Thread weidc
i'm not able to test it at the moment. i'd like to know if this would work and if not how it could work. i'd be happy about any help. thanks -weidc

[jQuery] Re: Firefox flickering with tab-slider-script

2008-11-04 Thread weidc
Hi, where do you get a scrollbar? i don't get any. just if i remove the overflow-x: hidden; i get one. if i set: overflow-x: hidden; overflow-y: visible; i don't have any scrollbar. On 4 Nov., 15:47, Oskar Rough <[EMAIL PROTECTED]> wrote: > Hey Weidc, > > Thanks a lo

[jQuery] Re: Firefox flickering with tab-slider-script

2008-11-04 Thread weidc
Hi, if i set just the overflow-x: hidden; for the div with the class="scroll" instead of overflow:hidden; it works for me. On 4 Nov., 12:15, Oskar Rough <[EMAIL PROTECTED]> wrote: > Hi, > > I'm experiencing heavy flickering with a "coda-slider" script - only > in Firefox/WIN. It's available > h

[jQuery] Re: Animate Issue - bouncing menu

2008-11-03 Thread weidc
Hi, maybe you can add some attr or so. i mean like: if ($(".portfolio").attr("name") != "foo") { $(".portfolio").hover( function() { $(".portfolio").attr("name","foo"); [your stuff] }, function() { [your stuff] $(".portfolio").attr("name","");

[jQuery] Re: Advanced jQuery Animation Problem

2008-10-31 Thread weidc
or: $('.clicked').removeClass('clicked'); don't know. something like that. -weidc On 31 Okt., 07:13, Omid S <[EMAIL PROTECTED]> wrote: > wow, I cant say much about your code, but your page looks awesome. > > On Oct 30, 8:13 pm, OscarGodson <[EMAIL PR

[jQuery] Re: Getting width of broken image?

2008-10-29 Thread weidc
re images not under my domain. I'm > pulling in an image from a 3rd party website. > > andy > > -Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of weidc > Sent: Wednesday, October 29, 2008 9:15 AM > To: jQue

[jQuery] Re: Getting width of broken image?

2008-10-29 Thread weidc
hi, eh.. did you copy your code? 'Cause you wrote {'img'). On 29 Okt., 14:30, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > I'm loading in a batch of images dynamically. Some of the images might not > exist and I'm wondering how I might test for that image using jQuery > (1.2.6). All I really wan

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
oh my god this sucks. kind of frustrating huh? i'll keep on thinking about it. -weidc On 23 Okt., 15:56, diego <[EMAIL PROTECTED]> wrote: > Hi weidc, look at this..i've changed the .attr : > > var litebox = $(this).attr('rel'); > var altezza = $('#

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
mh ye i see. can't even change the attr in ie itself 'cause it always gets 0 again. maybe it doesn't like that > in $('#'+litebox+'>img.lite'). atm i don't see a mistake in your script. -weidc On 23 Okt., 14:27, diego <[EMAIL PROTECTED]&

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
hi, what about using: $('#'+litebox+'>img.lite').width(); and $('#'+litebox+'>img.lite').height(); ? -weidc On 23 Okt., 14:00, diego <[EMAIL PROTECTED]> wrote: > Hi all,  I'm building a gallery, and so far it works in every browser

[jQuery] open link without new tab?

2008-10-22 Thread weidc
{ open(this.href); }); }); well if i click the download button now it opens a new tab for a sec and close it again. then a popup to the download appears in the document. i would like to get this tab away even if it's just for a sec it doesn't look nice. i hope someone can help me. thanks. -weidc

[jQuery] Re: draggable plugin problem

2008-10-20 Thread weidc
still got that problem. On 17 Okt., 16:23, weidc <[EMAIL PROTECTED]> wrote: > Hi, > > well i used and still use the draggable plugin in a script. it worked > fine 'till they changed the site a bit. after i changed my script > firebug says: > > $[namespace][name]

[jQuery] draggable plugin problem

2008-10-17 Thread weidc
he dragging). i was searching for the mistake for so long. i hope someone can help me. thanks a lot. -weidc

[jQuery] Re: stop hover

2008-10-17 Thread weidc
Hi, well thanks I guess it would work but I just saw in firebug -> border: 1px solid #66 !important Allready tried that too. I wondered why it doesn't work. So I have to talk with these guys when they are back. Thanks for your help. -weidc On 17 Okt., 12:24, tlob <[EMAIL PROTEC

[jQuery] stop hover

2008-10-17 Thread weidc
don't know something about it except it does a border! i'll be happy about every idea. thanks for reading. -weidc

[jQuery] Re: Set height of element depending on only on its own position and window height?

2008-09-29 Thread weidc
variable3 = document.documentElement.scrollTop; -weidc On 29 Sep., 15:30, Kabelkultur Gotland <[EMAIL PROTECTED]> wrote: > Hi everyone. > > I'm trying to set the height of an element with jquery depending on > the window height, and on the elements own position in the document

[jQuery] jQuery animate function + IE

2008-09-25 Thread weidc
Hi, I got some buttons to show the prev/next image or to close it 'cause it is allready big, in front of the others and draggable. This code works in every browser except for IE. IE doesn't go through the function of animate(). so he doesn't remove the div and the first image doesn't get visible

[jQuery] Re: hover() with mouseout() problem

2008-09-18 Thread weidc
$('#dwaOver').animate({ opacity: 0 }, 100); } ); }) -weidc On 17 Sep., 16:29, "pawel.szymula" <[EMAIL PROTECTED]> wrote: > Hi, > I'm having so

[jQuery] Re: JQuery - wrap() + Internet Explorer problem

2008-09-18 Thread weidc
he picture's becomes smaller when i set the visibility to visible in IE or right click a picture and then it works. On 17 Sep., 19:02, ricardobeat <[EMAIL PROTECTED]> wrote: > Install IE Developer toolbar and check it, the images are still there. > > On Sep 17, 4:23 am, weidc <

[jQuery] Re: JQuery - wrap() + Internet Explorer problem

2008-09-17 Thread weidc
appens, adjusting the CSS should solve your problem. > > On Sep 16, 4:26 am, weidc <[EMAIL PROTECTED]> wrote: > > > Well for me it still doesn't work. I tried it in IE 6 and 7 with > > windows vista and xp. > > The first time I load the site it works but if I re

[jQuery] jQuery jerking animation

2008-09-12 Thread weidc
}); }); }); }; run(0); }); CSS code is like that: #slideshow{width:100%; height:290px; overflow:hidden; position:absolute; } #slideshow img{ min-width:100%;} -weidc