; try this,
>
> function yasearch(a) {
> alert(a.q);
>
> }
>
> $(function() {
> $.ajax({
> type: 'GET',
> url: 'js.html',
> data: "format=json&id=123",
>
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
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)
>
>
> > $(
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
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
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
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
== 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
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
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
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
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
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 +
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
{
$
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
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
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
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:
>
> >
> >
> >
> &
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
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.
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
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'},
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
$(".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.
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
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
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,
>
>
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
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
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
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","");
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
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
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
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 = $('#
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]&
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
{
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
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]
he dragging).
i was searching for the mistake for so long. i hope someone can help
me.
thanks a lot.
-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
don't know something about it
except it does a border!
i'll be happy about every idea. thanks for reading.
-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
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
$('#dwaOver').animate({
opacity: 0
}, 100);
}
);
})
-weidc
On 17 Sep., 16:29, "pawel.szymula" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm having so
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 <
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
});
});
});
};
run(0);
});
CSS code is like that:
#slideshow{width:100%; height:290px; overflow:hidden;
position:absolute; }
#slideshow img{ min-width:100%;}
-weidc
48 matches
Mail list logo