Re: [jQuery] Newbie question about updating iframe on tab select

2009-11-17 Thread
you should use ajax.

2009/11/18 zoog22 marcusb...@hotmail.com


 I have some tabs that I want to not update until they are selected.

 Currently, they all load their respective iframes src=xs when the page
 loads.  I was thinking I could leave the link blank on loading and change
 them as they are clicked.

 $(function() {
$(#tabs).tabs();
 });

 ul
li #tab1 First TAB /li
li #tab2 Second TAB /li
li #tab3 Third TAB /li
 /ul

 div id=tabs class=ui-tabs ui-widget ui-widget-content ui-corner-all
 div id=tab1
 iframe height=100% width=100% frameBorder=0 src=page1.htmlyour
 browser does not support IFRAMEs/iframe
 /div

 div id=tab2
 iframe height=100% width=100% frameBorder=0 src=page2.htmlyour
 browser does not support IFRAMEs/iframe
 /div

 div id=tab3
 iframe height=100% width=100% frameBorder=0 src=page3.htmlyour
 browser does not support IFRAMEs/iframe
 /div
 /div
 --
 View this message in context:
 http://old.nabble.com/Newbie-question-about-updating-iframe-on-tab-select-tp26402551s27240p26402551.html
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.




[jQuery] Re: Looking for expand/collapse tree directory navigation

2009-07-26 Thread
dhtmlxtree,it is very good.

2009/7/26 Magnificent imightbewrongbutidontthin...@gmail.com


 Hello,

 I'm looking for an expanding/collapsing tree directory type of
 navigation and was wondering if someone knows of a good one that's out
 there and available.

 What I'm specifically looking for is one that is triggered on the
 click of a *graphic* that toggles the show/hide.  Each text nav item
 should be hyperlinkable to it's own link/page.  So for example (the +
 and - are the collapse/expand graphics, the dot leader is for some
 formatting):

 - Nav Item 1 (text should be hyperlinkable)
 ...Sub Nav 1(text should be hyperlinkable)
 ...- Sub Nav 2 (text should be hyperlinkable)
 ..Sub Nav 2a (text should be hyperlinkable)
 ..Sub Nav 2b (text should be hyperlinkable)
 ..Sub Nav 2c (text should be hyperlinkable)
 ...Sub Nav 3 (text should be hyperlinkable)
 + Nav Item 2 (text should be hyperlinkable)
 + Nav Item 3 (text should be hyperlinkable)
 + Nav Item 4 (text should be hyperlinkable)

 Ideally, this would work for plain old ul and li structure.  I
 suppose infinite nesting would be cool, but I don't think I need to go
 beyond 3 levels with the first 2 levels having the show/hide graphic
 triggers.


[jQuery] Re: Check if movie (.mp4) is finished

2009-07-26 Thread
how does touch it finished?

2009/7/26 Sam Sherlock sam.sherl...@gmail.com

 I think you'd have to load a swf and have that call back to the page (via
 ex interface) when its completed
 hth - S


 2009/7/25 Eswip i...@fairmedia.nl


 Hi everyone,

 I'm using the jQuery Media Plugin to play a movie (.mp4) on a page
 when a button is clicked. But I want to remove the embed from the
 DOM when the movie is finished. Is this possible? And in what way? I
 searched on the group here and googled, but I found nothing.

 Regards,
 Eswip





[jQuery] Re: tablesorter, sort values in anchor as numerics

2009-07-26 Thread
easyer.

2009/7/25 mila mshneyder...@gmail.com



 I have data that looks like that

 a href='myURL/myapp?name=mynameparam1=val'23/a
 a href='myURL/myapp?name=hisnameparam1=val1'9/a

 I need it to be sorted numericaly by values between /a.  How do I
 do that?



[jQuery] Re: Value adding to drop down

2009-07-15 Thread
change split character,not use '|'.

2009/7/16 naz s.na...@gmail.com


 hi
 i m adding some values to drop down
 by usind j query by this code
 var programs=[];
  programs=data.split('|');
 $('#p_course').length = 1;
  for(var i=0;iprograms.length-1;i++)
  {
   var objDropdown =$('#p_course').get(0);
   var objOption = new Option(programs[i],programs[i]);
  objDropdown.options[objDropdown.length] = objOption;
  }
 but when vales appear in drop down first value look like this
 |BSIT
 any body have any idea why it look like  this


[jQuery] Re: (Validation) how to add validation on a select box with auto post

2009-07-13 Thread
is it difficult?$(#State).val()

2009/7/13 mnaveed mnaveed...@gmail.com


 Hi,
 I have a select box with and onchange event to get the data from
 serever,

 SELECT name=States id=Stateonchange=getData(this.value) 


 Now i want to validate that if no value is selected from the above
 list, then it should not send the ajax request. How can i apply the
 Jquery validation plugin here?

 Thanks.


[jQuery] Re: (Validation) how to add validation on a select box with auto post

2009-07-13 Thread
sorry!i didn't use JQuery Validation plug in.

2009/7/13 mnaveed mnaveed...@gmail.com


 I am using the JQuery Validation plug in to validate my form. How can
 i do this with that?


 On Jul 13, 1:34 pm, 刘永杰 liuyongjie...@gmail.com wrote:
  is it difficult?$(#State).val()
 
  2009/7/13 mnaveed mnaveed...@gmail.com
 
 
 
   Hi,
   I have a select box with and onchange event to get the data from
   serever,
 
   SELECT name=States id=Stateonchange=getData(this.value)
 
 
   Now i want to validate that if no value is selected from the above
   list, then it should not send the ajax request. How can i apply the
   Jquery validation plugin here?
 
   Thanks.



[jQuery] Re: how to detect if user input is a chinese character?

2009-07-12 Thread
this is not jquery function.

2009/7/12 Plant More Tree markth...@gmail.com



 Hi guys,

I got a textarea and I need to detect instantly if user input is a
 chinese character or not. IS there anyway jquery can help this?

 Thanks  Regards,
 Mark
 --
 View this message in context:
 http://www.nabble.com/how-to-detect-if-user-input-is-a-chinese-character--tp24445883s27240p24445883.html
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.




[jQuery] Re: Can this plugin be structured better?

2009-07-12 Thread
why send twice the same email?

2009/7/12 Harvey scottandrewhar...@gmail.com


 Hey,

 I'm in the process of developing a new plugin but the way I have
 structured the codes doesn't seem quite right to me so I'm hoping
 someone might be able to offer a better way to do it.

 The plugin itself has different behaviour if called on different types
 of elements (images, divs etc) with a range of shared functions used
 across all element types.

 This is the basic structure I have so far:

 (function ($) {
   $.fn.editable = function (options) {
  var defaults = {
 // default value declarations
  }

  var opts = $.extend(defaults, options);

  return this.each(function () {
 var $this = $(this); // Cache a jQuery version of this
 var tag   = $this.get(0).tagName;

 switch(tag) {
case 'DIV': initDiv();break;
case 'IMG': initImage();  break;
 }

 function initDiv () {
// initialise the plugin to work with divs
 }

 function initImage () {
// initialise the plugin to work with images
 }

 // functions used by divs only
 function divFunction () {
// body...
 }

 // functions used by images only
 function imageFunction () {
// body...
 }

 // functions used by divs and images
 function sharedFunction () {
// body...
 }

  });
   }
 })(jQuery);


 The reason it does seem right to me is because any instance of the
 plugin called on a div will also contain all the code that is used if
 it was an image even though the code won't be used.

 Can any offer something better?



[jQuery] Re: Cool Sony Horizontal Drop Down menu in JQuery?

2009-07-11 Thread
this website can't open.

2009/7/10 pennfoli0 pennfo...@gmail.com


 Hi,

 Sony.com (http://www.sony.com/index.php) has a very cool horizontal
 menu, My question is can this be done in unordered list with JQuery?

 I like the 2 columns menu that expand (it can be seen under shop or
 electronics) and also would expand to its sub menu.

 Is there already done solution for this?

 Thanks!



[jQuery] Re: input fields and change

2009-07-10 Thread
good idea,but difficult.

2009/7/10 Jonathan Vanherpe (T  T NV) jonat...@tnt.be


 Is there some better way than change() to check if an input field's content
 has changed?

 As you all probably know, change() only fires when you remove the focus
 from the input field, but I want to trigger an event every time the content
 of an input field changes either by typing something, using crtl-v, pasting
 from the selection buffer (middle click on *nix), or rightclicking and
 selecting 'paste'. Is there an existing solution for that, or will I need to
 write something that just checks the field periodically using setInterval()?

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



[jQuery] Re: Autocomplete selection Issue

2009-07-10 Thread
sorry,i make a mistake.

2009/7/10 bharathbhooshan ambati bharathbhooshan.amb...@gmail.com

 Ofcourse not dude..

 i am in search of a autocomplete that should be similar to the given link:

 http://www.hscripts.com/scripts/JavaScript/autocomplete-form.php?text=arrangement

 in preview,if you type j the list will be java/junction.if you keydown to
 any one of the option,the highlighted will be shown in the textbox...

 i want this functionality..is this possiblw with the jquery???




 On Thu, Jul 9, 2009 at 7:41 PM, 刘永杰 liuyongjie...@gmail.com wrote:

 is this ad?

 2009/7/9 jazz bharathbhooshan.amb...@gmail.com


 Hi
 Can any body suggest me how to do this by jquery..i have seen some
 autocomplete examples but i am not getting the correct application
 like this:
 first we type a letter,then it will show a list from that we scroll
 down the mouse(either mouse or keypad) the highlighted value should be
 placed in the textbox..which is similar to the link:

 http://www.hscripts.com/scripts/JavaScript/autocomplete-form.php?text=arrangement

 please give me idea

 Regards,
 Bhatath





 --
 భరత్ భూషణ్ అంబటి





[jQuery] Re: Autocomplete selection Issue

2009-07-09 Thread
is this ad?

2009/7/9 jazz bharathbhooshan.amb...@gmail.com


 Hi
 Can any body suggest me how to do this by jquery..i have seen some
 autocomplete examples but i am not getting the correct application
 like this:
 first we type a letter,then it will show a list from that we scroll
 down the mouse(either mouse or keypad) the highlighted value should be
 placed in the textbox..which is similar to the link:

 http://www.hscripts.com/scripts/JavaScript/autocomplete-form.php?text=arrangement

 please give me idea

 Regards,
 Bhatath


[jQuery] Re: Display subnav through external action

2009-07-09 Thread
artiest! very good!

2009/7/9 greggo gosof...@gmail.com


 I have a navigational element that is distinct from the rest of my
 navigation and is a graphical icon. Therefore, I'm not using the
 standard li elements to display it. I'm simply using an img tag.
 The li tag for that nav element is not being displayed. I do however
 want the subnav to display when you mouse over the image. You can view
 it here: www.gingerninjas.com

 Question: How would I activate the display of the subnav (and hide the
 current subnav) using an object outside of the navigational list? I
 know I need to somehow trigger superfish with a mouseover event, but
 I'm not sure how to do that.

 Any help on this would be appreciated.


[jQuery] Re: noob question, computability issues with a different date picker

2009-07-09 Thread
can't understand what you say.sorry.

2009/7/9 labbit nick@gmail.com


 Hello everyone, I tried posting a message before, but it didn't get
 posted, so here's another go.

 I'm completely new to jquery development and I wanted to use this date
 picker, since it also uses time as well

 http://razum.si/jQuery-calendar/TimeCalendar.html

 However, it did not say what to do, how, or where to change or add the
 code of his particular date picker with the standard one given in the
 UI code provided (his code is given through page source, then at top,
 the jquery.js and jquery-calendar.js files) .  Is there a viable
 solution to getting his code working to get the calendar and time
 picker?  Also, does the fact that his jquery.js file is running 1.1.2
 make a difference.  If my last message got posted, I apologize for
 double posting