[jQuery] Re: JQuery Treeview - Display sub nodes when mouse over menu

2009-05-26 Thread Zeeshan Khan
is tree expanding on CLICK...what are u doing to expand it...i mean are u
calling a function or a CSS class...if u are calling a function u can
override the HOVER function & if u r jst changing the CSS u can change the
CSS on hover..

Regards;

Zeeshan Ahmed Khan


On Tue, May 26, 2009 at 10:51 AM, eclipseTalk  wrote:

>
> Thanks, but it's not exacltly what I need.
> I basically need to override hover to behave as the click event. How
> can I do that in JQuery? Thanks for helping me out here
>
>
> On May 25, 5:17 pm, kiusau  wrote:
> > Have you tried here:  http://docs.jquery.com/Traversing/children#expr
> >
> > Roddy
> >
> > On May 25, 1:55 pm, eclipseTalk  wrote:
> >
> >
> >
> > > Hello,
> > > I'd like to display the children nodes when the mouse over the parent
> > > node. What is the best way to achieve that? Any help is appreciated.
> > > Thank you for your time.- Hide quoted text -
> >
> > - Show quoted text -
>


[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-05-10 Thread Zeeshan Khan
MorningZ what should i do now about my tab problem?
Regards;

Zeeshan Ahmed Khan


On Fri, Apr 24, 2009 at 5:47 PM, Zeeshan Khan wrote:

> so what shud i do to solve my prblm?
> Regards;
>
> Zeeshan Ahmed Khan
>
>
>
> On Fri, Apr 24, 2009 at 3:58 PM, MorningZ  wrote:
>
>>
>> "I debugged the code & find htat its crashing at this line :
>> *head.insertBefore( script, head.firstChild );* "
>>
>> IE doesn't understand that you are dealing with a DOM node, hence the
>> ".firstChild" or ".insertBefore" isn't supported for use at that point
>>
>>
>> On Apr 24, 12:23 am, Zeeshan Khan  wrote:
>> > I debugged the code & find htat its crashing at this line :
>> > *head.insertBefore( script, head.firstChild );*
>> > *
>> > *
>> > it first checks these 2 lines
>> >
>> > *if ( !jsonp )*
>> > *success();*
>> > *
>> > *
>> > then it cums at
>> > *head.insertBefore( script, head.firstChild ); *& crashes...Hope this
>> helps
>> > *
>> > *Regards;
>> >
>> > Zeeshan Ahmed Khan
>> >
>> > On Thu, Apr 23, 2009 at 1:19 PM, Jonathan Vanherpe (T & T NV) <
>> >
>> > jonat...@tnt.be> wrote:
>> > >  That is pretty weird, especially since the error happens on a line
>> that
>> > > doesn't exist. The IE js debugger proved useless too. It also loads
>> the
>> > > wrong page.
>> >
>> > > As far as i can tell (using Fiddler), the code tries to load
>> Page1.aspx ,
>> > > but instead of putting that in the tab, it embeds the whole current
>> page
>> > > (including all the javascript files, which get loaded again and are
>> probably
>> > > the cause of the error you get).
>> >
>> > > If you can manage to figure out why it embeds the current page instead
>> of
>> > > the page you want, you'll have solved your problem.
>> >
>> > > Jonathan
>> >
>> > > Zeeshan Khan wrote:
>> >
>> > > Check this Link U'll knw the Problem that i'm talking about.
>> > >  http://aspspider.info/KhanZeeshan/
>> >
>> > >  Check it IE6 & IE7 i chekced it in IE8,FF 3.0 Chorme & safari ti
>> works
>> > > gr8 in All browsers xcpt IE6 & IE7.
>> >
>> > > On Thu, Apr 23, 2009 at 8:47 AM, Zeeshan Khan <
>> khan.zeesha...@gmail.com>wrote:
>> >
>> > >> i validated my html &  Javascript as well...but there was no error..i
>> > >> don't know any free asp.net web hosting site...if u know any please
>> let
>> > >> me know i'll upload my site there..then u guys can check it
>> thoroughly..
>> >
>> > >> On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) <
>> > >> jonat...@tnt.be> wrote:
>> >
>> > >>> Fact is that the error is quite generic. I think I've even gotten it
>> for
>> > >>> forgetting to use a ";" at the end of a line.
>> >
>> > >>> Jonathan
>> >
>> > >>> MorningZ wrote:
>> >
>> > >>> --
>> > >>> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
>> >
>> > > --
>> > >   [image:www.tnt.be] <http://www.tnt.be/?source=emailsig>  *Jonathan
>> > > Vanherpe*
>> > > jonat...@tnt.be -www.tnt.be<http://www.tnt.be/?source=emailsig> -
>> tel.:
>> > > +32 (0)9 3860441
>
>
>


[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-24 Thread Zeeshan Khan
so what shud i do to solve my prblm?
Regards;

Zeeshan Ahmed Khan


On Fri, Apr 24, 2009 at 3:58 PM, MorningZ  wrote:

>
> "I debugged the code & find htat its crashing at this line :
> *head.insertBefore( script, head.firstChild );* "
>
> IE doesn't understand that you are dealing with a DOM node, hence the
> ".firstChild" or ".insertBefore" isn't supported for use at that point
>
>
> On Apr 24, 12:23 am, Zeeshan Khan  wrote:
> > I debugged the code & find htat its crashing at this line :
> > *head.insertBefore( script, head.firstChild );*
> > *
> > *
> > it first checks these 2 lines
> >
> > *if ( !jsonp )*
> > *success();*
> > *
> > *
> > then it cums at
> > *head.insertBefore( script, head.firstChild ); *& crashes...Hope this
> helps
> > *
> > *Regards;
> >
> > Zeeshan Ahmed Khan
> >
> > On Thu, Apr 23, 2009 at 1:19 PM, Jonathan Vanherpe (T & T NV) <
> >
> > jonat...@tnt.be> wrote:
> > >  That is pretty weird, especially since the error happens on a line
> that
> > > doesn't exist. The IE js debugger proved useless too. It also loads the
> > > wrong page.
> >
> > > As far as i can tell (using Fiddler), the code tries to load Page1.aspx
> ,
> > > but instead of putting that in the tab, it embeds the whole current
> page
> > > (including all the javascript files, which get loaded again and are
> probably
> > > the cause of the error you get).
> >
> > > If you can manage to figure out why it embeds the current page instead
> of
> > > the page you want, you'll have solved your problem.
> >
> > > Jonathan
> >
> > > Zeeshan Khan wrote:
> >
> > > Check this Link U'll knw the Problem that i'm talking about.
> > >  http://aspspider.info/KhanZeeshan/
> >
> > >  Check it IE6 & IE7 i chekced it in IE8,FF 3.0 Chorme & safari ti works
> > > gr8 in All browsers xcpt IE6 & IE7.
> >
> > > On Thu, Apr 23, 2009 at 8:47 AM, Zeeshan Khan <
> khan.zeesha...@gmail.com>wrote:
> >
> > >> i validated my html &  Javascript as well...but there was no error..i
> > >> don't know any free asp.net web hosting site...if u know any please
> let
> > >> me know i'll upload my site there..then u guys can check it
> thoroughly..
> >
> > >> On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) <
> > >> jonat...@tnt.be> wrote:
> >
> > >>> Fact is that the error is quite generic. I think I've even gotten it
> for
> > >>> forgetting to use a ";" at the end of a line.
> >
> > >>> Jonathan
> >
> > >>> MorningZ wrote:
> >
> > >>> --
> > >>> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
> >
> > > --
> > >   [image:www.tnt.be] <http://www.tnt.be/?source=emailsig>  *Jonathan
> > > Vanherpe*
> > > jonat...@tnt.be -www.tnt.be<http://www.tnt.be/?source=emailsig> -
> tel.:
> > > +32 (0)9 3860441


[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-23 Thread Zeeshan Khan
I debugged the code & find htat its crashing at this line :
*head.insertBefore( script, head.firstChild );*
*
*
it first checks these 2 lines

*if ( !jsonp )*
*success();*
*
*
then it cums at
*head.insertBefore( script, head.firstChild ); *& crashes...Hope this helps
*
*Regards;

Zeeshan Ahmed Khan


On Thu, Apr 23, 2009 at 1:19 PM, Jonathan Vanherpe (T & T NV) <
jonat...@tnt.be> wrote:

>  That is pretty weird, especially since the error happens on a line that
> doesn't exist. The IE js debugger proved useless too. It also loads the
> wrong page.
>
> As far as i can tell (using Fiddler), the code tries to load Page1.aspx ,
> but instead of putting that in the tab, it embeds the whole current page
> (including all the javascript files, which get loaded again and are probably
> the cause of the error you get).
>
> If you can manage to figure out why it embeds the current page instead of
> the page you want, you'll have solved your problem.
>
> Jonathan
>
> Zeeshan Khan wrote:
>
> Check this Link U'll knw the Problem that i'm talking about.
>  http://aspspider.info/KhanZeeshan/
>
>
>  Check it IE6 & IE7 i chekced it in IE8,FF 3.0 Chorme & safari ti works
> gr8 in All browsers xcpt IE6 & IE7.
>
>
> On Thu, Apr 23, 2009 at 8:47 AM, Zeeshan Khan wrote:
>
>> i validated my html &  Javascript as well...but there was no error..i
>> don't know any free asp.net web hosting site...if u know any please let
>> me know i'll upload my site there..then u guys can check it thoroughly..
>>
>>
>> On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) <
>> jonat...@tnt.be> wrote:
>>
>>>
>>> Fact is that the error is quite generic. I think I've even gotten it for
>>> forgetting to use a ";" at the end of a line.
>>>
>>> Jonathan
>>>
>>> MorningZ wrote:
>>>
>>>
>>> --
>>> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
>>>
>>
>>
>
>
> --
>   [image: www.tnt.be] <http://www.tnt.be/?source=emailsig>  *Jonathan
> Vanherpe*
> jonat...@tnt.be - www.tnt.be <http://www.tnt.be/?source=emailsig> - tel.:
> +32 (0)9 3860441
>


[jQuery] Re: jquery lightbox - ie height problem

2009-04-23 Thread Zeeshan Khan
if u mean the gray background u get when u click the image...it working fine
in all the four browsers i tried IE7,FF 3.0,Chrome & safari..if this is not
ur problm then cud u give more detail..

Regards;

Zeeshan Ahmed Khan


On Thu, Apr 23, 2009 at 1:17 PM, Titti  wrote:

>
> Hi, i'm using jquery lightbox, but when i open an image from ie,
> lightbox background' s height doesn't cover all website.
> Take a look here
>
> http://www.mcworks.it/tests/index.php?page=oil-jeans
>
> I tried using z-index or changhing height, but problem persist.
>
> Thank you
>
> Paolo


[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Zeeshan Khan
Check this Link U'll knw the Problem that i'm talking about.
http://aspspider.info/KhanZeeshan/


Check it IE6 & IE7 i chekced it in IE8,FF 3.0 Chorme & safari ti works gr8
in All browsers xcpt IE6 & IE7.


On Thu, Apr 23, 2009 at 8:47 AM, Zeeshan Khan wrote:

> i validated my html &  Javascript as well...but there was no error..i don't
> know any free asp.net web hosting site...if u know any please let me know
> i'll upload my site there..then u guys can check it thoroughly..
>
>
> On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) <
> jonat...@tnt.be> wrote:
>
>>
>> Fact is that the error is quite generic. I think I've even gotten it for
>> forgetting to use a ";" at the end of a line.
>>
>> Jonathan
>>
>> MorningZ wrote:
>>
>>> "What do you mean by VALIDATE?"
>>>
>>> http://www.google.com/search?q=html+validation
>>>
>>> As for your IE error, usually that means that the type of object isn't
>>> what your code is expecting.  but as Jonathan points out, it's
>>> hard to help more than that without seeing the code fail
>>>
>>>
>>>
>>> On Apr 22, 6:10 am, KhanZeeshan  wrote:
>>>
>>>> What do you mean by VALIDATE?Give me your EMail ID i'll mail you the
>>>> whole code.
>>>>
>>>> On Apr 22, 2:59 pm, "Jonathan Vanherpe (T & T NV)" 
>>>> wrote:
>>>>
>>>>  It seems like your code depends on some modules other than jquery
>>>>> itself, and i don't think all the relevant code is in there.
>>>>> I think it would still be better to post a link to the page you made,
>>>>> or
>>>>> even better, reduce it to a test case that shows the problem.
>>>>> Does your html validate at least?
>>>>> Jonathan
>>>>> KhanZeeshan wrote:
>>>>> --
>>>>> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
>>>>>
>>>>
>>>
>>
>> --
>> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
>>
>
>


[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Zeeshan Khan
i validated my html &  Javascript as well...but there was no error..i don't
know any free asp.net web hosting site...if u know any please let me know
i'll upload my site there..then u guys can check it thoroughly..

On Wed, Apr 22, 2009 at 6:02 PM, Jonathan Vanherpe (T & T NV) <
jonat...@tnt.be> wrote:

>
> Fact is that the error is quite generic. I think I've even gotten it for
> forgetting to use a ";" at the end of a line.
>
> Jonathan
>
> MorningZ wrote:
>
>> "What do you mean by VALIDATE?"
>>
>> http://www.google.com/search?q=html+validation
>>
>> As for your IE error, usually that means that the type of object isn't
>> what your code is expecting.  but as Jonathan points out, it's
>> hard to help more than that without seeing the code fail
>>
>>
>>
>> On Apr 22, 6:10 am, KhanZeeshan  wrote:
>>
>>> What do you mean by VALIDATE?Give me your EMail ID i'll mail you the
>>> whole code.
>>>
>>> On Apr 22, 2:59 pm, "Jonathan Vanherpe (T & T NV)" 
>>> wrote:
>>>
>>>  It seems like your code depends on some modules other than jquery
 itself, and i don't think all the relevant code is in there.
 I think it would still be better to post a link to the page you made, or
 even better, reduce it to a test case that shows the problem.
 Does your html validate at least?
 Jonathan
 KhanZeeshan wrote:
 --
 Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be

>>>
>>
>
> --
> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
>


[jQuery] Re: load an aspx page (or ascx) in a div

2009-04-22 Thread Zeeshan Khan
did u try this?

*$(#"div_Id").load('page1.aspx');*


On Wed, Apr 22, 2009 at 10:45 PM, MorningZ  wrote:

>
> This has worked for me in the past:
>
>
> http://weblogs.asp.net/scottgu/archive/2006/10/22/Tip_2F00_Trick_3A00_-Cool-UI-Templating-Technique-to-use-with-ASP.NET-AJAX-for-non_2D00_UpdatePanel-scenarios.aspx
>
> You'd simply use a ".get()" to retrieve that HTML snippet generated by
> the ascx file
>
>
> On Apr 22, 11:48 am, nasserman  wrote:
> > hi all,
> > i want to load external asp.net pages in divs,with jquery,without
> > postback the page,
> > cay anyone show me a sample?
> >
> > tnx
>


[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
Daniel's Suggestion is simple & i think it might work for u.

On Wed, Apr 22, 2009 at 4:31 PM, Daniel  wrote:

>
> try this...
>
>$(".delete").hover(function(){
>$(this).parent().css('background-
> color','red');
>}, function() {
> $(this).parent().css('background-
> color','white');
> });
>
> On Apr 22, 6:25 am, gostbuster  wrote:
> > Hi, thank you for you answser.
> >
> > Of course I could do that, expect that I'll have an undefined number
> > of "container" div. That's why I gave them classes and no id !
> >
> > Thank you
> >
> > On 22 avr, 13:17, Zeeshan Khan  wrote:
> >
> > > Instead of call the parent you can call Only that DIV of which u want
> to
> > > change the background color
> >
> > > $(document).ready(function(){
> > >  //action when the mouse is over :
> >
> > >$("#delete").mouseover(function(){ // I select the
> .delete
> > > divs.
> > >//now i want to change the bg color of the
> > > entire div, but only this div. here is my problem
> > >$('#container').css('background-color','red');
> > >  //with this selection, I select ALL the parents,but
> > > I want only the father..
> > >})
> >
> > > //action when the mouse is out
> > >$(".thumbdelete").mouseout(function(){
> > >$('#container
> > > ').css('background-color','white');
> > >})
> >
> > > })
> >
> > > I think it might work.
> >
> > > Regards;
> >
> > > Zeeshan Ahmed Khan
> >
> > > On Wed, Apr 22, 2009 at 4:11 PM, gostbuster  >wrote:
> >
> > > > Hi everyone,
> >
> > > > I'm getting in trouble with this problem,
> >
> > > > I have several divs which contains an image, and another div. we can
> > > > imagine somethin like that :
> >
> > > > 
> > > > ...my image...
> > > > delete
> >
> > > > 
> >
> > > > What I want to do is, when I put the mouse over the div Delete (and
> > > > only this one), I want to change the background of the
> > > > entire .container div.
> >
> > > > here is my code :
> >
> > > > $(document).ready(function(){
> > > >  //action when the mouse is over :
> >
> > > >$(".delete").mouseover(function(){ // I select the
> .delete
> > > > divs.
> > > >//now i want to change the bg color of the
> > > > entire div, but only this div. here is my problem
> > > >
>  $(this+':parent').css('background-color','red');
> > > >  //with this selection, I select ALL the parents,but
> > > > I want only the father..
> > > >})
> >
> > > > //action when the mouse is out
> > > >$(".thumbdelete").mouseout(function(){
> >
> > > >  $(this+':parent').css('background-color','white');
> > > >})
> >
> > > > })
> >
> > > > Your help would be very greatful.
> >
> > > > Thank you very much in advance.
>


[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
class "container" contains the CSS code right?if u assign ID to all of your
parent div it'll be very helpful for u in this case & also in many
other scenarios or you can create CSS design on the basis of IDs.

On Wed, Apr 22, 2009 at 4:25 PM, gostbuster wrote:

>
> Hi, thank you for you answser.
>
> Of course I could do that, expect that I'll have an undefined number
> of "container" div. That's why I gave them classes and no id !
>
> Thank you
>
>
> On 22 avr, 13:17, Zeeshan Khan  wrote:
> > Instead of call the parent you can call Only that DIV of which u want to
> > change the background color
> >
> > $(document).ready(function(){
> >  //action when the mouse is over :
> >
> >$("#delete").mouseover(function(){ // I select the .delete
> > divs.
> >//now i want to change the bg color of the
> > entire div, but only this div. here is my problem
> >$('#container').css('background-color','red');
> >  //with this selection, I select ALL the parents,but
> > I want only the father..
> >})
> >
> > //action when the mouse is out
> >$(".thumbdelete").mouseout(function(){
> >$('#container
> > ').css('background-color','white');
> >})
> >
> > })
> >
> > I think it might work.
> >
> > Regards;
> >
> > Zeeshan Ahmed Khan
> >
> > On Wed, Apr 22, 2009 at 4:11 PM, gostbuster  >wrote:
> >
> >
> >
> > > Hi everyone,
> >
> > > I'm getting in trouble with this problem,
> >
> > > I have several divs which contains an image, and another div. we can
> > > imagine somethin like that :
> >
> > > 
> > > ...my image...
> > > delete
> >
> > > 
> >
> > > What I want to do is, when I put the mouse over the div Delete (and
> > > only this one), I want to change the background of the
> > > entire .container div.
> >
> > > here is my code :
> >
> > > $(document).ready(function(){
> > >  //action when the mouse is over :
> >
> > >$(".delete").mouseover(function(){ // I select the
> .delete
> > > divs.
> > >//now i want to change the bg color of the
> > > entire div, but only this div. here is my problem
> > >$(this+':parent').css('background-color','red');
> > >  //with this selection, I select ALL the parents,but
> > > I want only the father..
> > >})
> >
> > > //action when the mouse is out
> > >$(".thumbdelete").mouseout(function(){
> >
> > >  $(this+':parent').css('background-color','white');
> > >})
> >
> > > })
> >
> > > Your help would be very greatful.
> >
> > > Thank you very much in advance.
>


[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
Instead of call the parent you can call Only that DIV of which u want to
change the background color

$(document).ready(function(){
 //action when the mouse is over :

   $("#delete").mouseover(function(){ // I select the .delete
divs.
   //now i want to change the bg color of the
entire div, but only this div. here is my problem
   $('#container').css('background-color','red');
 //with this selection, I select ALL the parents,but
I want only the father..
   })

//action when the mouse is out
   $(".thumbdelete").mouseout(function(){
   $('#container
').css('background-color','white');
   })

})

I think it might work.

Regards;

Zeeshan Ahmed Khan


On Wed, Apr 22, 2009 at 4:11 PM, gostbuster wrote:

>
> Hi everyone,
>
> I'm getting in trouble with this problem,
>
> I have several divs which contains an image, and another div. we can
> imagine somethin like that :
>
> 
> ...my image...
> delete
>
>
> 
>
> What I want to do is, when I put the mouse over the div Delete (and
> only this one), I want to change the background of the
> entire .container div.
>
> here is my code :
>
>
> $(document).ready(function(){
>  //action when the mouse is over :
>
>$(".delete").mouseover(function(){ // I select the .delete
> divs.
>//now i want to change the bg color of the
> entire div, but only this div. here is my problem
>$(this+':parent').css('background-color','red');
>  //with this selection, I select ALL the parents,but
> I want only the father..
>})
>
> //action when the mouse is out
>$(".thumbdelete").mouseout(function(){
>
>  $(this+':parent').css('background-color','white');
>})
>
> })
>
> Your help would be very greatful.
>
> Thank you very much in advance.
>