[jQuery] Disable globals for jQuery.get()?

2008-10-05 Thread Micky Hulse
Hi, I have this bit of code that runs on page load: $.get(token, function(txt) { $emailStory.append(''); }); But it triggers ajaxStart/ajaxStop... I have tried: $.ajax({ url: token, global: false }); But that does not seem to help... I assume that is because $.get() is

[jQuery] Re: Ajax/load help with external javascripts

2008-10-05 Thread ricardobeat
uuh lengthy function. I came up with this for my personal library, works in FF/IE6,7/Safari: function runScripts(el){ var scripts = el.getElementsByTagName('script'); if (scripts) {for (var i=0;i Yep, you'll have to add the javascript nodes in the H

[jQuery] Re: Problem jQuery Selecting Input field

2008-10-05 Thread Faisal Basra
Yes, right Morningz looks like this. i want to access input fields, just only specifying home, mobile,name, city, street,zip & not as form:input please any way ?

[jQuery] Re: jqDnR: Full Directional Support and Size Limitations

2008-10-05 Thread Brice Burgess
Andrew, Thanks for taking the initiative to add this support to jqDnR. I am sure many in the community will find your revisions VERY USEFUL. I'll be sure to include your changes in the next release (which will be out as soon as I have some time to revise the plugin page). Great work! ~ B

[jQuery] Re: Question about jqModal

2008-10-05 Thread Brice Burgess
Igor Spasic wrote: Hellooo - Excellent plugin! Gem. would you be so kind to let me know what is the best practice for following situation: I have a part of page that is loaded using ajax. Page contains lot of links. Each link needs to become a trigger for specific dialog. I do have onPageLoa

[jQuery] Partial load strips out script tags?

2008-10-05 Thread ctford
When I use .load() to pull in a whole page, script tags are correctly pulled in and executed. However, if I add a selector to the .load() call all script tags get stripped out. In the following example, the heading from the second HTML file gets pulled in, but the JS with the alert does not. Coul

[jQuery] jqDnR: Full Directional Support and Size Limitations

2008-10-05 Thread Andrew
Hi Everyone, I came across jqDnR (Minimalistic Drag'n'Resize for jQuery) just the other day, but found it only included a SE resize option and no limitations on size. So I decided to add this support myself. Included in this post is the min version (1.48kB), and the expanded/ dev version (2.32kB

[jQuery] Re: Jquery and ASP.NET

2008-10-05 Thread MorningZ
"Personally, I don't prefer overriding control ID's as they have to be unique" Well, yeah, that would go without saying... even the novice programmer should have the skill to know when to use it and when not to... "The only downside is that you can not put your scripts in an external (js) fil

[jQuery] Re: Jquery and ASP.NET

2008-10-05 Thread MorningZ
Suggestion for .NET peoples if you don't want MasterPages or UserControls (or any other "Naming Container" for that matter to mess with your control ID's, check out this library http://www.wilcob.com/Demos/IDOverride/ Also, to easily work with JSON, this library is most excellent http://james.

[jQuery] jQuery UI Refresh Baltimore Presentation

2008-10-05 Thread Benjamin Sterling
Hey all, Just wanted to put it out there that this Wednesday we (Refresh Baltimore) will be have our (jQuery) lovable Richard Worth doing a jQuery UI presentation at Refresh Baltimore. Check out http://upcoming.yahoo.com/event/1176430 for all pertinent information. -- Benjamin Sterling Twitter:

[jQuery] Re: $().each() only iterates through first item

2008-10-05 Thread MorningZ
There is absolutely no way you have the selector setup correctly what is the HTML? On Oct 5, 8:53 pm, sydneyos <[EMAIL PROTECTED]> wrote: > I have the following expression where is_preferred_email is a class > assigned to three elements in my page: > >         $j(".is_preferred_email").each( >

[jQuery] Re: Jquery and ASP.NET

2008-10-05 Thread [EMAIL PROTECTED]
Sure. Check our corporate page : spina.com.tr. It's built on .net 3.5 & jQuery 1.2.6 (See html source code to understand how we use it.) On Oct 5, 9:45 pm, eduardo <[EMAIL PROTECTED]> wrote: > Is possible use JQuery in aspx pages writing with ASp.net 3.5 ? > > Thanks in advance > > Eduardo

[jQuery] $().each() only iterates through first item

2008-10-05 Thread sydneyos
I have the following expression where is_preferred_email is a class assigned to three elements in my page: $j(".is_preferred_email").each( function(i) { this[i].checked = false; } ); if I put "alert(this[i].name);" in the function, I only e

[jQuery] Re: Intercept "Back" button click on browser

2008-10-05 Thread Dave Methvin
The history plugins can handle that situation, you just have to update the hash in the URL to keep track of the state of the page. It takes some study to understand how it works, but believe me you will want to use it. There is no way to "trap" the back button, the only other thing you can do is s

[jQuery] Need solution to cycle through images and display a caption

2008-10-05 Thread deronsizemore
Hi, I'm looking for plugin that will allow cycling through images and display a caption for each image. What I'm looking for is exactly like this example: http://www.woothemes.com/demo/?t=3 The image on the top left cycles through different images and displays a unique caption for each image. I

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread samr
Finally I uninstalled and installed Firefox again. Now jquery is loading with Firebug fine. Not sure which one of the following plugins prevented earlier: Google Gears GreaseMonkey IE Tab MeeTimer Password Exporter Pencil ReadItlater Regular Expressions Tester Smart Desktop Connector Smush It Sty

[jQuery] Re: [validate] required( dependency-expression ) for select

2008-10-05 Thread Jörn Zaefferer
Something like this, assuming the textarea with name "myTextarea" and a checkbox with id "myCheckbox": $("#myForm").validate({ rules: { myTextarea: { required: "#myCheckbox:checked" } } }); You can basically use any jQuery-selector as the expression. If it returns no elements, t

[jQuery] jCarousel Lite - callback function returning an array, but how do I get inside?

2008-10-05 Thread [EMAIL PROTECTED]
I am loving the jCarousel Lite plugin, but I need to be able to control an FLV player that is in the currently displayed list item. Because I have 2 FLV players, and I need to stop only the playing one when the carousel changes to the next slide. I know that there are callback functions that retu

[jQuery] Re: Processing.js Google Group Now Formed!

2008-10-05 Thread Rey Bango
Rick You should probably post this qustion in the processing.js Google Group. :) Rey... Rick Faircloth wrote: Sounds interesting... I saw the example images John has in the repository, but are there any online working apps using it? Thanks, Rick chris thatcher wrote: Processing.js ( http:

[jQuery] Re: Accordian menu + FadeIn - some weirdness...can someone help me?

2008-10-05 Thread Alex
i have managed to pull this off pretty well, with no apparent glitch's http://www.renderrobot.com/?p=33 as explained to make it load closed just remove the "open" class from the html, should do the trick On Sep 12, 8:34 pm, "Rob Fletcher" <[EMAIL PROTECTED]> wrote: > Noone knows how to stabili

[jQuery] jCarousel Lite - Problem going backwards

2008-10-05 Thread will
Hi jQuery Land, I'm using jCarousel Lite to do a little tips switcher. I'm using prev and next buttons. Next works great. Prev fails after a few clicks. The html is straight forward. jC lite is applied to a div with a set width and overflow:hidden. This contains a UL with 4 LIs with a set wi

[jQuery] Re: $("#mydiv").sortable is not a function error

2008-10-05 Thread GARIL
"somediv" should be preceded either by "#" or "." like so... $("#somediv"); or $(".somediv"); On Oct 5, 4:00 pm, AdrianMG <[EMAIL PROTECTED]> wrote: > Hi guys! I was working with jQuery 1.2.6 development and firebug didnt > report me anybug. Now I am trying to move to 1.2.6 production, but >

[jQuery] $("#mydiv").sortable is not a function error

2008-10-05 Thread AdrianMG
Hi guys! I was working with jQuery 1.2.6 development and firebug didnt report me anybug. Now I am trying to move to 1.2.6 production, but firebug reports me 2 erros related with "$("somediv").sortable is not a function... What can I do? :S

[jQuery] Re: Problem with slideUp() in IE7

2008-10-05 Thread Julle
Chris, On Aug 28, 10:04 pm, Chris <[EMAIL PROTECTED]> wrote: > oddly enough, this works great in IE6 (and every other browser I could > find), just not IE7... > > Any ideas??? First thanks for nailing this bug down to what it actually is, I had a similar problem and couldn't have solved without

[jQuery] Jquery and ASP.NET

2008-10-05 Thread eduardo
Is possible use JQuery in aspx pages writing with ASp.net 3.5 ? Thanks in advance Eduardo

[jQuery] Re: jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread ivframes
I made such a silly mistake! But again I'm still on the very beginning of JS/jQ programming. Thank you for answering so quickly, it works! On 5 окт, 21:09, "John Resig" <[EMAIL PROTECTED]> wrote: > Try something like this: >        $(".photo").click(function() { >                $(".jq").hide()

[jQuery] Re: jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread John Resig
Try something like this: $(".photo").click(function() { $(".jq").hide().load("photo.htm", function(){ $(this).slideDown("slow") }); $(".closerbutton").show("slow").attr("title", "close"); return false; }); $(".about").click(function

[jQuery] jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread ivframes
Here's the code: $(function ready() { // slide'n'ajax $(".photo").click(function() { $(".jq").hide().slideDown("slow").load("photo.htm"); $(".closerbutton").show("slow").attr("title", "close"); return false; }); $(".about").

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread samr
I tried by removing new lines as well as adding "#" to href. It is still the same. It is strange, with "Firebug" enabled even the jquery discussion page at "http://docs.jquery.com/Discussion"; is not loading. Not sure if there could be a bug in "Firebug". For time being, I just downloaded Opera

[jQuery] Re: jquery image highlighter?

2008-10-05 Thread christianslater
thanks for you reply. I need the highlighter to integrat ein an existing script, that is loading images sequential one after another and fades them in. So I thought about the idea of the overlay and think it would be better to just give all images an alpha of 60% and when rolling over they get to

[jQuery] Re: jQuery cycle and handling new request/page changed

2008-10-05 Thread Jozef Sevcik
me=noob Mike=the man *Thanks !* 2008/10/5 Mike Alsup <[EMAIL PROTECTED]> > > > thanks for your interest. I've extracted it here: > http://www.2ba-me.com/SlideShow.aspx > > Open up page and wait few slides. Try to refresh page in browser and > after > > that, > > slideshow starts on last slide f

[jQuery] Re: SUPERFISH 1.4.8 need way in superfish's css to extend full width or close to it

2008-10-05 Thread yvonney
That is extremely wonderful thank you. I'll have to have a look at the css as you suggested...

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread Karl Swedberg
Also, I'd put something in the href value, even if it's just "#". --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 5, 2008, at 9:56 AM, me-and-jQuery wrote: Hm... Everything seems to be OK (except break lines in the code). Try this one, it should work.

[jQuery] Re: How to trigger ajaxed link before the regular ?

2008-10-05 Thread ivframes
Yes, yes thank you!! Works as it should! On 5 окт, 16:52, MorningZ <[EMAIL PROTECTED]> wrote: > This is not true: > > "html link is always started before ajax/jquery" > > your ajax request code runs before the browser tries to go off to > "about.htm", and there is a hook in there for you to prev

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-05 Thread Mantas
try to right: header('Content-Type: text/xml'); in your php file. I had the same problem with IE and then i've remembered this "magic" line, it solved my problem On 30 Rugs, 20:33, "kelvin pompey" <[EMAIL PROTECTED]> wrote: > I tried the code without ajax. It works in firefox but not in ie. I mod

[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-05 Thread Jörn Zaefferer
Could you sent that as file js file to me? Thanks Jörn On Sun, Oct 5, 2008 at 1:58 PM, caruso_g <[EMAIL PROTECTED]> wrote: > > Thanks a lot for your translation, just some typos/errata: > >email: "Inserisci un indirizzo mail valido.", > should be >email: "Inserisci un indirizzo em

[jQuery] Re: Putting slideviewer and accordion navigation

2008-10-05 Thread Jörn Zaefferer
Could you post a testpage? Jörn On Sun, Oct 5, 2008 at 11:47 AM, aquaman <[EMAIL PROTECTED]> wrote: > > Hi, > I'm totally new to javascript yet managed to create accordion > navigation and slideviewer presentation of my portfolio in two > separate html pages. > The problem is I can't seem to put

[jQuery] Re: Can't change accordion auto height

2008-10-05 Thread Jörn Zaefferer
Set autoHeight: false. Jörn On Sat, Oct 4, 2008 at 6:55 PM, MaxProxy <[EMAIL PROTECTED]> wrote: > > Hi > > When accordion is expaned, the height is very large even though there > may only be 2 links. How can I customise the 'ul class' that is put > in. I have tried taking out 'clearStyle', but th

[jQuery] Re: [validate] one form multiple validations

2008-10-05 Thread Jörn Zaefferer
The multipart-way is currently the recommended approach, but its far from optimal. I recently got some input that would make this much easier to use, but I don't yet have any working code. Jörn On Fri, Oct 3, 2008 at 2:14 PM, dotcomtim <[EMAIL PROTECTED]> wrote: > > In the validation plugin I am

[jQuery] R: [jQuery] Only show div's within parent.

2008-10-05 Thread diego valobra
Hi, another example.. $(document).ready(function(){      $('.hidden').hide(0) // just if you want all items closed at the beginning       $('a.show').click(function () {                    $('.hidden').slideUp('fast') // just if you want a kind of accordion             $(this).next('div')

[jQuery] Re: jQuery cycle and handling new request/page changed

2008-10-05 Thread Mike Alsup
> thanks for your interest. I've extracted it > here:http://www.2ba-me.com/SlideShow.aspx > Open up page and wait few slides. Try to refresh page in browser and after > that, > slideshow starts on last slide from previous page load, but it's stopped. The problem is that you're passing the starti

[jQuery] Re: How to trigger ajaxed link before the regular ?

2008-10-05 Thread MorningZ
This is not true: "html link is always started before ajax/jquery" your ajax request code runs before the browser tries to go off to "about.htm", and there is a hook in there for you to prevent the href action $(".about a").click(function() { $(".jq").hide().slideDown("slow").load("about.

[jQuery] Re: Only show div's within parent.

2008-10-05 Thread MorningZ
$(document).ready(function(){ $("a.show").click(function () { $(this).find("div.hidden").slideToggle("fast"); }); }); On Oct 5, 8:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This is my first time with jQuery! > > I have a list like this: > >        

[jQuery] Re: jqueryPngFix and links on IE6

2008-10-05 Thread Fazal Khan
With any PNG fix you use jQuery or not, if the link isn't clickable, just apply the "position:relative;" attribute to the link in your css file and it will work. On Sep 2, 12:28 pm, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > Hi, I'm using the pngFix plugin to show some png images wit

[jQuery] How to trigger ajaxed link before the regular ?

2008-10-05 Thread ivframes
Hi, I just started learning javascript and jQuery. I have trouble calling ajaxed link before the usual html stuff for the javascript-disabled browsers. The jQuery code: $(".about a").click(function() { $(".jq").hide().slideDown("slow").load("about.htm"); }); HTML: about I tried

[jQuery] Only show div's within parent.

2008-10-05 Thread [EMAIL PROTECTED]
This is my first time with jQuery! I have a list like this: some text some text some text some text some text some text And a script like this:

[jQuery] Multiple Rows in Jcarousel

2008-10-05 Thread stewie
I was wondering if there was a way to get Jcarousel to slide through multiple rows of images horizontally.

[jQuery] Re: Unable to use jquery with Firefox

2008-10-05 Thread me-and-jQuery
Hm... Everything seems to be OK (except break lines in the code). Try this one, it should work. $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); Link On Oct 5, 8:42 am, samr <[EMAIL

[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-05 Thread caruso_g
Thanks a lot for your translation, just some typos/errata: email: "Inserisci un indirizzo mail valido.", should be email: "Inserisci un indirizzo email valido.", number: "Inserisci un numero valida.", should be number: "Inserisci un numero valido.", equa

[jQuery] Putting slideviewer and accordion navigation

2008-10-05 Thread aquaman
Hi, I'm totally new to javascript yet managed to create accordion navigation and slideviewer presentation of my portfolio in two separate html pages. The problem is I can't seem to put them both on the same page. When I tried to do that I got the accordion navigation's drawers wide open. What am I

[jQuery] Unable to use jquery with Firefox

2008-10-05 Thread samr
I just started on with jquery using Firefox - 3.0.3 Firebug - 1.2.1 The helloworld example using jquery is not loading with firebug and just keeps on cycling. I have disabled all plugins, still the result is same. The firebug script seems to be stuck at line #679 "jQuery.cache[ id ][ name ] :"

[jQuery] Re: SUPERFISH 1.4.8 need way in superfish's css to extend full width or close to it

2008-10-05 Thread I-CRE8
On Oct 5, 12:47 am, yvonney <[EMAIL PROTECTED]> wrote: > Hi... > Is there a way within the standard superfish css to extend the basic > horizontal menu fully across the screen from left to right. If so I > guess it would be great to know if we can have the menus themselves > left center or right..

[jQuery] Re: jQuery cycle and handling new request/page changed

2008-10-05 Thread Jozef Sevcik
Hello Mike, thanks for your interest. I've extracted it here: http://www.2ba-me.com/SlideShow.aspx Open up page and wait few slides. Try to refresh page in browser and after that, slideshow starts on last slide from previous page load, but it's stopped. I'm not following this, do you see somethin

[jQuery] Re: Ajax/load help with external javascripts

2008-10-05 Thread Rene Veerman
Yep, you'll have to add the javascript nodes in the HTML you're inserting into the DIV manually. WTF, i'll be a nice guy and post my routines for it. you'll have to adapt them yourself ;) function parseJavascript (htmlElement) { var scripts = $('SCRIPT', htmlElement); var ht

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-05 Thread Micky Hulse
I should also mention: I would love to write jQuery js like the pseudo PHP/JS example... Being able to not reference and cache an object until it exists, and then being able to use that cached object throughout my code, especially other functions. (Using class example from my previous post:) ==