[jQuery] How to call a jquery/javascript var in a WP template

2009-12-29 Thread Steve Pierce
Here is the web page I am working on

http://bivenshouse.com/?page_id=16

I have setup a jquery that I think (I hope) works to define divHeight.

Code:
script src=http://bivenshouse.com/wp-content/themes/glossyblue/js/
jquery-1.3.2.min.js type=text/javascript

script type=text/javascript
jQuery.noConflict();
jQuery(document).ready(function(){

//dimension
var divHeight = (jQuery('#page').height())+20;
jQuery(#sidebar).height(divHeight);
//alert(divHeight);
});

// mouseover script for images on products page
function flipImage(url,names){
if(document.images)document[names].src=url;
}
/script

But I don't know how to call a variable in my template.

Here is my sidebar.php

Code:
div id=sidebar style=height: 700px;
ul
lih3 class=sidebartitlenbsp;/h3/li
li class=cat-itema href=http://bivenshouse.com/?page_id=11;
title=Bivens House NewsNews/a/li
li class=cat-itema href=http://bivenshouse.com/?page_id=13;
title=Bivens House Press ReleasesPress Releases/a/li
/ul
/div!-- /sidebar --

Currently the style height is hardcoded but I want to be able to use
the divHeight from jQuery but I can't figure out how to call it from
inside WP.

Any suggestions are greatly appreciated.

- Steve


[jQuery] Superfish with Image Tabs

2009-12-07 Thread Steve Daly
I don't have much experience with CSS.  I am using Superfish for a
tabbed navigation.  I need to use images for my tabs because of
design.  I need to keep an on image while the submenu is open.

How can this be done?


[jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-12-01 Thread Steve Fleischer
I found this thread searching for a solution to this same error. I am
using FF 3.5.5 Win and jQuery 1.3.2 and get:

Warning: Unknown pseudo-class or pseudo-element 'even'.

when using this:

$(#listTable tr:even).addClass(altRow);

cheers
Steve


[jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-12-01 Thread Steve Fleischer
I just asked about this on Twitter and got this reply from Andrew
Tetlaw:

http://twitter.com/atetlaw/status/6259397321

suggesting using tr:nth-child(even) rather than tr:even and this does
indeed work.

--
cheers
Steve


On Dec 2, 7:33 am, Karl Swedberg k...@englishrules.com wrote:
 Aha! I see it now. It's a warning, not an error, and it's a CSS  
 warning. If you're seeing it in Firebug, you can hide it by unchecking  
 Show CSS Errors in the Console preferences list.

 --Karl

 
 Karl Swedbergwww.englishrules.comwww.learningjquery.com

 On Dec 1, 2009, at 4:11 AM, Steve Fleischer wrote:

  I found this thread searching for a solution to this same error. I am
  using FF 3.5.5 Win and jQuery 1.3.2 and get:

  Warning: Unknown pseudo-class or pseudo-element 'even'.

  when using this:

  $(#listTable tr:even).addClass(altRow);

  cheers
  Steve


[jQuery] DragDrop-Determine (cursor) relative location of the draggable within the droppable

2009-11-05 Thread Steve
I'm trying to determine where the cursor (while dragging the
'draggable' element) falls within the 'droppable' element (top half,
bottom half, leftside, or rightside?).

I'm trying to use the 'drop' event in the 'droppable' element, but
don't know how to determine the cursor coordinates relative to the
droppable element.

My code so far: --- this returns the coordinates absolute to the
browser's window.  Help?  TIA, Steve

$('div.formRow').droppable({
accept: '.formRow',
tolerance:  'pointer',
over:   function(){
$(this).css(border:1px solid 
black);
},
drop:   function(event){
var x = event.clientX;
var y = event.clientY;
alert(X coords:  + x + , Y 
coords:  + y);
},
addClasses: false
});


RE: [jQuery] Re: missing ) after argument list SOLVED

2009-10-31 Thread Steve Staples
Not really saying it's a problem, but all attributes SHOULD be in double
quotes, and also, the img tag, doesn't use the /img closure, and should
be opened and closed in on statement, like img /

Again, not saying that what you've done is wrong, nor does switching the
single to double, and double to single quotes really make much of a
difference, unless your doctype is strict (I think).

The Stapler.

-Original Message-
From: webmas...@terradon.nl [mailto:webmas...@terradon.nl] 
Sent: Saturday, October 31, 2009 12:09 PM
To: jQuery (English)
Subject: [jQuery] Re: missing ) after argument list SOLVED

I do not know why,
but using single quotes instead of doubles did solve my problem!

See the difference:



$testReplace2 = div id='pos1-0'img name='pos1-0' src='test.gif'
height='50' width='50' border='0' alt='white_pawn'/img/div;

$testReplace2 = 'div id=pos1-0img name=pos1-0 src=test.gif
height=50 width=50 border=0 alt=white_pawn/img/div';



[jQuery] unsubscribe

2009-08-20 Thread Steve Tran



[jQuery] unsubscribe

2009-08-20 Thread Steve Tran



[jQuery] Which editor is best for inplace HTML

2009-07-24 Thread Steve Hueners

I'm hoping someone can help me narrow down the field
according to these priorities...


Stability  Well-formed XHTML
Inplace editing
Good AJAX integration
For internal / admin / CMS usage so size doesn't matter
Only need the basics:
 bold
 ital
 indents
 lists

No need for tables but dropdowns with relevent CSS selectors would be nice.

thnkx
--steve


[jQuery] Seeking XHTML inplace editor

2009-07-22 Thread Steve Hueners

Just stepped over to http://plugins.jquery.com/search/node/editor -
lots and lots of choices - and if to judge by the dates, many new
offerings. I'm hoping someone can help me narrow down the field
according to these priorities...


Stability  Well-formed XHTML (might argue against some of the most
recent unless they are revisions with a clear track-record)
Inplace editing
Good AJAX integration
For internal / admin / CMS usage so it can be as bloated as it needs
to be long as it's easy to implement the basics:
  bold
  ital
  indents
  lists

No need for tables but dropdowns with relevent CSS selectors would be nice.

thnkx


[jQuery] Re: Looking for tooltip expert

2009-07-17 Thread Steve Tran
Hi there,
I used the plugin you mentioned to make a map tooltip in this site
http://herevietnam.vn
The code can be easily seen by viewing the source code.
Steve,

On Sat, Jul 18, 2009 at 1:58 AM, e...@uitenbogaard.nl
e...@uitenbogaard.nlwrote:


 New on jQuery.
 I'am looking for dynamic tooltips when mouse comes over a hotspot (I
 need tooltips on several hotspots in one image) like the tooltip on
 this homepage: http://
 bassistance.de/jquery-plugins/jquery-plugin-tooltip/.
 (tooltip sticks to pointer - appears directly - fonts, colors, etc.
 can be manipulated)

 Who knows the right and easy script?

 This is what the script shows now:
 map name=Map id=Map
 area shape=poly coords=75,131,77,153,103,152,99,130 href=#l /
 area shape=poly coords=110,127,114,149,140,150,136,126
 href=#l /
 area shape=poly coords=147,123,152,148,178,146,172,121 href=# /
 /map/div

 Thanks,
 Erik



[jQuery] Jquery/Javascript Developer - 3 month+ contract - To $50/hr - Custom Jquery Exp

2009-07-15 Thread Steve Merriman

We are looking for an advanced Jquery/web developer. Specifically we need 
someone who has created jquery plugins/custom jquery. 

 

This will be a 3 month+ contract position. It will be Monday - Friday 9 am - 5 
PM. 

 

The location is remote, so you can work from home, or you can work onsite, most 
prefer to work from home.

 

You must have good communication skills.

 

The rate is up to $50/hr. This is for a Fortune 100 company. You must be 
located in the United States.

 

Lastly, we offer a $1000 referral bonus if you are unavailable but know someone 
who is. This is very compelling work and project that will look great on your 
resume.

 

Please reply back with your Word resume, phone #, and a time I can reach you to 
discuss further. Thank you and talk soon.



Best,



 

Steve Merriman


DPC



603-627-5020 x221


603-627-5025 fax


smerri...@dpcit.com 



www.dpcit.com




 

Join Me On LinkedIn



 

http://www.linkedin.com/in/stevemerriman 








[jQuery] Re: Superfish - Menu put in Master page (asp.net MVC) doesn't behave ok in content pages

2009-07-08 Thread Steve Hueners

Thankx for following this issue up...I'd find it helpful to review the
other pages that lead you to this point.

thx again.

On Wed, Jul 8, 2009 at 12:48 AM, HariOmhariohm@gmail.com wrote:

 Thanks Charlie for your quick reply.

 I got it working. The problem was with Master page in MVC may be.

 Before I was adding  reference to superfish.js file before the
 ContentPlaceHolder for head in master page.

 like:
 script type=text/javascript src=%=Url.Content(~/Content/webui/
 Scripts/jquery-1.3.2.js)%/script
 script type=text/javascript src=%=Url.Content(~/Content/webui/
 Scripts/superfish.js)%/script
    script type=text/javascript
         $(function() {
             $('ul.sf-menu').superfish();

         });

    /script
 asp:ContentPlaceHolder ID=head runat=server/

 But then after googling lot I found that it has problem doing like
 this and I need to add reference and script after ContentPlaceHolder
 and it works fine.
 like:
 script type=text/javascript src=%=Url.Content(~/Content/webui/
 Scripts/jquery-1.3.2.js)%/script
 asp:ContentPlaceHolder ID=head runat=server/

 script type=text/javascript src=%=Url.Content(~/Content/webui/
 Scripts/superfish.js)%/script
 script type=text/javascript
         $(function() {
             $('ul.sf-menu').superfish();

         });
 /script


 May be this will help others having similar problem.

 Thanks.

 On Jul 8, 11:53 am, Charlie charlie...@gmail.com wrote:
 As for master vs content pages, have no idea what your MVC looks like or 
 what your templates look like, or directory structure. Best resource for 
 that would be a forum related to MVC.
 As previously suggested, If problem persists, try posting a link. From my 
 vantage point you have too many issues, and assumptions going on to try to 
 guess what problem is
 Here's an explanation of External Script 
 File http://www.htmlgoodies.com/beyond/javascript/article.php/3470901
 HariOm wrote:Charlie, yes you are right. It doesn't recognize the function 
 because it seems there is no respective superfish plugin loaded, but when I 
 look at the HTML in firebug or developer tool in IE then I can see that it 
 has already loaded. Even I manually put the calling of that script ( 
 $('ul.sf-menu').superfish();) in click of any button and it's giving same 
 error. But If I put reference of that script (script type=text/javascript 
 src=%=Url.Content(~/Content/webui/Scripts/ superfish.js)%/script) 
 in local content page then it works fine. But I don't wanna do that because 
 otherwise I have do it for my all individual pages. Make sure path to your 
 js file is valid, that is where the function is defined. I think the path 
 is OK because If I reference that file locally in addition to site.Master 
 page with same line of code (script type=text/javascript 
 src=%=Url.Content(~/Content/webui/Scripts/ superfish.js)%/script) 
 then it works fine. Also be sure jquery.js being loaded before plugin js . 
 I think jquery (1.3.2) is loaded through site.Master (I also try putting it 
 in locally) before it gets to superfish.js. I am also using other jquery 
 plugins and they works ok as the jquery should be loaded before they load. 
 Moreover, I was assuming that we just need to put menu and related script 
 ($('ul.sf-menu').superfish();) in site.Master page and it will be there in 
 all pages and I don't need to call this script on every page. but It seems 
 that I was wrong. Any advice? Lastly, I am not sure about  You can put your 
 function calls into external js file to simplify script management. Is this 
 something header file in c or what? Could you give me an example of this if 
 possible? Thanks again. On Jul 7, 8:45 pm, 
 Charliecharlie...@gmail.comwrote:is not defined function  error means 
 calling a function that doesn't exist at time it is called. Make sure path 
 to your js file is valid, that is where the function is defined. Also be 
 sure jquery.js being loaded before  plugin js . If problem persists post a 
 link  You can put your function calls into external js file to simplify 
 script management HariOm wrote:Hi I am using SuperFish menu plugin to create 
 menu system for my web. It works ok on my home page but doesn't seem to be 
 ok with other pages. The problem is that I can't see Arrow in other pages. 
 Then I tried calling it in specific page using same code as master page 
 (like below) then it works. But I need to refer the script again in my 
 content page in addition to master page otherwise it gives error saying 
 $('ul.sf-menu').superfish() is not defined function. script 
 type=text/javascript src=%=Url.Content(~/Content/webui/ 
 Scripts/superfish.js)%/script $(function() { 
 $('ul.sf-menu').superfish(); }); But I don't want to include script in every 
 page and if possible I don't want to call this line of code in every page. 
 Is there any solution to this problem or someone having same problem or may 
 be I am doing some stupid thing cause I am still new MVC and JQuery stuffs. 
 Thanks 

[jQuery] A question about Z-index

2009-06-30 Thread Steve Hueners

I'm working with a 2-level Tab Menu (produced by Glimmer) where nested
ULs are used to render a dropdown menu.

When the page renders the nested ULs appear on hover as expected but
they are underneath accordion elements (produced by jQuery UI
accordion) that appear lower down on the page. here's a snippet that
shows the problem.

http://www.flickr.com/photos/16842...@n03/

I've tried setting the z-index on a div that encloses each accordion
pane - and the parent div of all the accordion panes.

Besides simply asking for a solutions to this problem, it would be
very helpful to understand how folks use firebug's tools to get at the
information that helps solve problems like this.

thx
--steve...


[jQuery] Scrolling a group of accordions

2009-06-26 Thread Steve Hueners

I've seen this effect in Flash and am hoping to produce it in jQuery
(that ought to get the juices flowing)...

I have a list of events ordered by date. I want the accordion to
display the event's name and when clicked, open to reveal event
details. Viewers will usually be interested in 'middle of the list'
events but may wish to scroll (up) into the past or (down) into the
future.

Possible?

thx
--steve...


[jQuery] Re: Scrolling a group of accordions

2009-06-26 Thread Steve Hueners

I see your point and will be back with something later...thx for the time

On Fri, Jun 26, 2009 at 4:43 AM, Charliecharlie...@gmail.com wrote:
 there's a lot of variable interpretations of your concept ( at least in my
 mind). First one is define scroll- scripted scroller vs manual scrollbar?

 one big variable that comes to mind is how to determine middle of list? If
 list size is consistent it's obviously easier to suggest solution than if
 you have to iterate through a list testting dates with script to find a
 range that is current timeframe to display

 if they were all consistent length, say 15 dates each, and could be split 3
 ways then would be very easy to create an unordered list script with top and
 bottom thirds hidden with a see the past and future button, or find the
 overall height and animate the list to show in the middle or.

 might be good idea to make some sort of mock up, or present a link to effect
 you are trying to replicate. You would probably get a lot more creative
 input that way, and avoid a lot of misinterpretation of your concept

 the more details you provide the better.


 Steve Hueners wrote:

 I've seen this effect in Flash and am hoping to produce it in jQuery
 (that ought to get the juices flowing)...

 I have a list of events ordered by date. I want the accordion to
 display the event's name and when clicked, open to reveal event
 details. Viewers will usually be interested in 'middle of the list'
 events but may wish to scroll (up) into the past or (down) into the
 future.

 Possible?

 thx
 --steve...





[jQuery] Handling metadata in current version

2009-06-23 Thread Steve Hueners
I'm looking at: http://docs.jquery.com/Plugins/Metadata and see that the
plugin has not had any activity since late 07. Just getting started with jQ
and am interested in understanding compatibility-related issues before
diving into the tasks this plugin provides. or alternatives.thx


[jQuery] Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck

Hi,

I have a simple list inside a table

ul class=col_actions
li class=cancel_posting
a href=/frontend_dev.php/organizer/cancel-booking/20
linkindex=18Cancel/a
/li
/ul

I have a ready event handler for click events on the anchor:

$j('.cancel_posting').click( function(e) {
if (!confirm(Are you sure you want to cancel this booking?)) {
e.preventDefault();
}
});

However, this event doesn't seem to fire because the table has some
prototype controls inside it.

If I just copy the list outside the table as a test, it seems like the
event handler works fine.

I am using jquery for all my own code, but some widgets from my PHP
framework (symfony) are built in prototype, so I've been using both to
some extent.

Any ideas about how I can rectify this?

Thanks!
Steve


[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck

Btw... I do have a workaround - register my click event on something
outside the table, such as the body tag, and then check the original
event target.  I'd prefer to target just the list item and anchor
though if possible.

On Jun 22, 11:14 am, Steve the Canuck steve.san...@gmail.com wrote:
 Hi,

 I have a simple list inside a table

 ul class=col_actions
 li class=cancel_posting
 a href=/frontend_dev.php/organizer/cancel-booking/20
 linkindex=18Cancel/a
 /li
 /ul

 I have a ready event handler for click events on the anchor:

         $j('.cancel_posting').click( function(e) {
                 if (!confirm(Are you sure you want to cancel this 
 booking?)) {
                         e.preventDefault();
                 }
         });

 However, this event doesn't seem to fire because the table has some
 prototype controls inside it.

 If I just copy the list outside the table as a test, it seems like the
 event handler works fine.

 I am using jquery for all my own code, but some widgets from my PHP
 framework (symfony) are built in prototype, so I've been using both to
 some extent.

 Any ideas about how I can rectify this?

 Thanks!
 Steve


[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck

Thanks, I tried this, but it doesn't seem to work:

jQuery('.cancel_posting').click( function(e) {
alert(got here);
if (!confirm(Are you sure you want to cancel this booking?)) {
e.preventDefault();
}
});


On Jun 22, 3:17 pm, Cesar Sanz the.email.tr...@gmail.com wrote:
 Use jQuery and not $

 - Original Message -
 From: Steve the Canuck steve.san...@gmail.com
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Monday, June 22, 2009 10:34 AM
 Subject: [jQuery] Re: Click events handling conflict due to prototype?

 Btw... I do have a workaround - register my click event on something
 outside the table, such as the body tag, and then check the original
 event target.  I'd prefer to target just the list item and anchor
 though if possible.

 On Jun 22, 11:14 am, Steve the Canuck steve.san...@gmail.com wrote:
  Hi,

  I have a simple list inside a table

  ul class=col_actions
  li class=cancel_posting
  a href=/frontend_dev.php/organizer/cancel-booking/20
  linkindex=18Cancel/a
  /li
  /ul

  I have a ready event handler for click events on the anchor:

  $j('.cancel_posting').click( function(e) {
  if (!confirm(Are you sure you want to cancel this booking?)) {
  e.preventDefault();
  }
  });

  However, this event doesn't seem to fire because the table has some
  prototype controls inside it.

  If I just copy the list outside the table as a test, it seems like the
  event handler works fine.

  I am using jquery for all my own code, but some widgets from my PHP
  framework (symfony) are built in prototype, so I've been using both to
  some extent.

  Any ideas about how I can rectify this?

  Thanks!
  Steve


[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck

Thanks, yes, I should have mentioned - I do have jQuery.noConflict()
declared at the top of each of my scripts to avoid conflicts in
general.

I've also stepped through the code in a debugger using Firebug.  I put
a breakpoint on my selector for the anchor tag, and I see in the
debugger that it seems to go right past the selector.

But, if I put this link outside the table and run it through the
debugger, the selector does work properly.

Regards,
Steve

On Jun 22, 8:04 pm, Charlie charlie...@gmail.com wrote:
 have you tried using jQuery.noConflict();  
 ?http://docs.jquery.com/Using_jQuery_with_Other_Libraries
 Steve the Canuck wrote:Thanks, I tried this, but it doesn't seem to work: 
 jQuery('.cancel_posting').click( function(e) { alert(got here); if 
 (!confirm(Are you sure you want to cancel this booking?)) { 
 e.preventDefault(); } }); On Jun 22, 3:17 pm, Cesar 
 Sanzthe.email.tr...@gmail.comwrote:Use jQuery and not $ - Original 
 Message - From: Steve the Canucksteve.san...@gmail.comTo: jQuery 
 (English)jquery-en@googlegroups.comSent: Monday, June 22, 2009 10:34 AM 
 Subject: [jQuery] Re: Click events handling conflict due to prototype? Btw... 
 I do have a workaround - register my click event on something outside the 
 table, such as the body tag, and then check the original event target.  I'd 
 prefer to target just the list item and anchor though if possible. On Jun 22, 
 11:14 am, Steve the Canucksteve.san...@gmail.comwrote:Hi,I have a simple 
 list inside a tableul class=col_actions li class=cancel_posting a 
 href=/frontend_dev.php/organizer/cancel-booking/20 
 linkindex=18Cancel/a /li /ulI have a ready event handler for click 
 events on the anchor:$j('.cancel_posting').click( function(e) { if 
 (!confirm(Are you sure you want to cancel this booking?)) { 
 e.preventDefault(); } });However, this event doesn't seem to fire because the 
 table has some prototype controls inside it.If I just copy the list outside 
 the table as a test, it seems like the event handler works fine.I am using 
 jquery for all my own code, but some widgets from my PHP framework (symfony) 
 are built in prototype, so I've been using both to some extent.Any ideas 
 about how I can rectify this?Thanks! Steve


[jQuery] Trigger jquery event on ajax loaded content

2009-06-22 Thread Steve the Canuck

Hi,

I'm using the jquery Star-Rating widget.  However, I'm returning the
set of input radio elements required to display the widget as the
result of an ajax call.

In order to convert these widgets to the star rating display I need to
call the .rating() function based on the selector.

How do I get this code to run once I've made the Ajax call?

thanks,
Steve


[jQuery] Jquery and setInterval() does not work together

2009-06-18 Thread Steve Tran

Hello everybody,
First time in this list. I've developed a plugin for a simple slide
show.  and here is the code
http://pastie.org/516507
The problem is when I mouse over the pic, the console error logs:
slideSwitch is not defined
The same error would still happen if I define
function slideSwitch(){} and call setInterval(slideSwitch(), 1000);

Any ideas on this error guys?
Thank you


[jQuery] Using jQuery to create self generating forms

2009-06-07 Thread Steve Hueners
Greetings...new jQuery user here...I've been thru a handful of the 'getting
started' tutes including the Ben Nadel's hour long intro...great stuff. I
haven't been this stoked to learn a new tool is a long time.

My particular learning curve is going to focus first on using jQuery to
construct the CRUD infrastructure for a web app using .net MVC views. As I
step thru the tutorials I'm looking for details on jQuery's capabilities are
relates to forms processing and have found a couple interesting examples.
What I haven't found yet is someone using jQuerey's tranversal and selector
tools to process a collection into a form with which that collection can be
edited. I'm sure it's been done...the use case it too common and the
capabilities seem like a perfect fit for the task.

I've seen a couple 'in-place editing' posts and probably much of what I'm
looking for is in that direction...i'm hoping someone can point me to a .net
MVC example so I can see the full workcycle from that perspective.

much appreciate any feedback
--steve...


[jQuery] Re: [validator] how to turn off validation once it's turned on

2009-05-21 Thread Steve Jordan

Sasha wrote:
 What I'm trying to figure out is if I can turn off the validator for
 the 2nd button when I add a row to the table, while keeping it active
 for the 1st one.
To do this you remove the metadata from the form element which you don't
want to validate.

e.g. if you have a required element, it has the class required,
simply remove the class to
stop the validation on the element. And reinstate it when you want it again.

Steve


[jQuery] Re: [validate] - disabling focusInvalid for a given element

2009-05-19 Thread Steve Jordan

Steve J wrote:
 Group,

 I'm putting together a form using the Validate plugin, and have run
 into an issue it would be nice to resolve.
 My issue Is around the focusInvalid option. I'd like to disable the
 focusInvalid behavior for a particular element, yet keep it enabled
 for the rest.

 Is this possible?

 Any help or input you could provide would be appreciated.

 thanks

 Steve
   
Anyone?



[jQuery] Re: [jQuery][validate] - disabling focusInvalid for a given element

2009-05-19 Thread Steve Jordan

Jörn Zaefferer wrote:
 There is no official API for that, but you can customize the
 focusInvalid method. An example is here:
 http://jquery.bassistance.de/validate/demo/tinymce/ (take a look at
 the source)

 Jörn
   
Thanks for the help.

It turned out I was going round the houses to do something which works
by default.

Steve



[jQuery] [validate] - disabling focusInvalid for a given element

2009-05-18 Thread Steve J

Group,

I'm putting together a form using the Validate plugin, and have run
into an issue it would be nice to resolve.
My issue Is around the focusInvalid option. I'd like to disable the
focusInvalid behavior for a particular element, yet keep it enabled
for the rest.

Is this possible?

Any help or input you could provide would be appreciated.

thanks

Steve


[jQuery] Re: Superfish 1.4.8 w/ Supposition

2009-05-12 Thread Steve W

Just wanted to throw my hat in the ring about this issue, Supposition
is an awesome enhancement to Superfish and it would be great to be
able to use it in the latest version. I've reverted back to 1.4.1 for
now after trying unsuccessfully for about an hour to figure out where
the disconnect is in the newer version.

On Apr 27, 8:54 am, Ty Wangsness t...@emarketsouth.com wrote:
 On Apr 4, 2009, at 7:29 PM, ayu...@gmail.com wrote:



  I'm using 1.4.8 with Supersubs...great plugin! One issue I'm running
  into is getting Supposition to run with it- am getting this JS error:

  $.superfishis undefined (line 57) (Mac 10.5 w/ FF 3)

  This works fine withSuperfish1.4.1, of course. I've tried it with
  Supersubs turnedoffwith the same result. It appears as though the
 superfishobject is not being passed and I'm at a loss as to how to
  pass it in.

  Thanks...

 I'm in the same boat here. We recently changed our nav such that we  
 have asubmenuon the far rightsideof thepageand I'd like to use  
 this plugin to get the menu to stay on the screen.  Any way to get it  
 to work?

 $(ul.sf-menu).supersubs({minWidth: 12, maxWidth: 27, extraWidth:  
 1}).superfish().supposition();

 Safari shows the error as Undefined value supposition.js (line 57)

 Thanks,
 -Ty


[jQuery] Modifying tooltip.js (bassistance.de)

2009-04-18 Thread steve

Didn't know if there was an easy way to do a replace-all, to
accomplish this.

Basically, I wanted to use tooltip for my Wordpress blog, however the
requirement for using jQuery in that environment is to  -not- use   $
(elem), but insteadjQuery(elem).

Can I do a global replace in jquery.tooltip.js from $ to jQuery ?
Tried so far, but no go.   ( the actual result is that the tooltip
does not appear, only the default browser tooltip - did not get error
messages)

I already checked :
http://docs.jquery.com/Plugins/Tooltip/tooltip#options
 .. for any notes on changing to the jQuery() usage.

Thanks,
Steve


[jQuery] Re: Modifying tooltip.js (bassistance.de)

2009-04-18 Thread steve

Thanks Jorn, appreciate the quick helpful response.

On Apr 18, 4:13 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
 The plugin references only jQuery as a global variable, $ is defined
 as a local variable. See 
 alsohttp://docs.jquery.com/Plugins/Authoring#Custom_Alias_in_plugin_code

 Jörn

 On Sat, Apr 18, 2009 at 11:30 PM, steve steveb...@gmail.com wrote:

  Didn't know if there was an easy way to do a replace-all, to
  accomplish this.

  Basically, I wanted to use tooltip for my Wordpress blog, however the
  requirement for using jQuery in that environment is to  -not- use   $
  (elem), but instead    jQuery(elem).

  Can I do a global replace in jquery.tooltip.js from $ to jQuery ?
  Tried so far, but no go.   ( the actual result is that the tooltip
  does not appear, only the default browser tooltip - did not get error
  messages)

  I already checked :
 http://docs.jquery.com/Plugins/Tooltip/tooltip#options
   .. for any notes on changing to the jQuery() usage.

  Thanks,
  Steve


[jQuery] Re: jQuery introduction script (Alert Message is now showing!)

2009-04-03 Thread Steve

Hi,

You need to return false so the anchor tag does not behave in its
normal way (ie, take you to the link specified).

So this should work:

$(a).click(function(event){
alert(Thanks for visiting!);
return false;
  });


On Apr 2, 9:47 pm, Mohd.Tareq tareq.m...@gmail.com wrote:
 On Fri, Apr 3, 2009 at 5:52 AM, yrstruly anthony.apol...@gmail.com wrote:

  Hallo

  Im new to jQuery. I have donwloaded the jquery-1.3.2min file and i
  have copied that introduction code from the website and saved it in
  the same directory as the jquery file. When i run the script it seems
  to be working and when i click on the link it goes to the website, but
  isnt this script suppose to show an alert message first, before it
  goes to the website?

  Please what am i doing wrong? Have a saved it correctly or is the file
  i donwloaded not valid? Please help. The code follows:

  !DOCTYPE html
   html lang=en
   head
    meta http-equiv=Content-Type content=text/html; charset=utf-8
    script type=text/javascript src=jquery.js/script

    script type=text/javascript
     $(document).ready(function(){
    $(a).click(function(event){
      alert(Thanks for visiting!);
    });
   });

    /script
   /head
   body
    a href=http://jquery.com/;jQuery/a
   /body
   /html

 === ===Go for this script you can see now ur
 click function will execute first  then it will go for link

 !DOCTYPE html
  html lang=en
  head
   meta http-equiv=Content-Type content=text/html; charset=utf-8
   script type=text/javascript src=jquery.js/script

   script type=text/javascript
    $(document).ready(function(){
   $(a).click(function(event){
     window.href=http://jquery.com/;; http://jquery.com/
     alert(Thanks for visiting!);
     return true;
   });
  });

   /script
  /head
  body
   a href=# http://jquery.com/jQuery/a
  /body
  /html

 cheers.

 Ragx


[jQuery] Re: Jquery Media plugin - fails in ie

2009-03-23 Thread Steve


Hi Matthew,

I had a similar problem and M. Alsup suggested I download an older
version of the
JW FLV (v3.8; current version is v4.3) player and the error (object
expected from  IE's script debugger) went
away.

Hope this helps

On Mar 23, 8:09 am, matthew.ni...@googlemail.com
matthew.ni...@googlemail.com wrote:
 I'm not sure if this is a problem with the media plugin (malsup.com)
 or with swfobject, but in IE only, and only with flash content, there
 is a runtime error when the a tags are inside p tags. So this
 below will work for the .wmv file but fall down on the flv.

 pa class=video href=video/secondary-assessment-effective-
 questioning.wmvEffective
                     Questioning (from Teachers' TV)/a/p
 pa href=video/test-flv.flv class=videoTest flv video/a/p

 The jquery is simply:

 $(document).ready(function() {
         $('.video').media( { width: 320, height: 260, autoplay: false,
                                                 flashvars: { skin: 
 'video/snel-skin.swf' }
                                                 } );
         $('.audio').media( { width: 320, height: 100, autoplay: false,
                                                 flashvars: { skin: 
 'video/snel-skin.swf' }
                                                 } );

 });

 Any ideas?

 Matthew


[jQuery] Re: Keeping jquery codes up to date - best practise?

2009-03-22 Thread Steve


You want want to try Google's AJAX library which hosts
the various JavaScript effects library (JQuery, Prototype, YUI,
Mootools)
for you:

http://code.google.com/apis/ajaxlibs/

Hope this helps!

On Mar 22, 12:31 am, Microbe geeky@gmail.com wrote:
 Hey everyone,

 I use jquery on a number of sites (all on the same server).

 What is the best way to keep jquery scripts up to date across them all
 without having to change code all over the place.

 I was thinking of using one of my domains as a host, putting
 generically named files there e.g. jquery.js for the core, and then
 point each page needing jquery on any site to mydomain/js/jquery.js so
 that I only have to update the single file when the time comes.

 It seems like a reasonable idea...let's hear from devil's advocates or
 those who have better suggestions.

 Thanks in advance.


[jQuery] Re: sortable helper

2009-03-20 Thread Steve Vu



Not sure if this will work for you but it will let you set off a chain 
of effects:


http://plugins.jquery.com/project/EffectChain



richajax wrote:

I am using jquery sortable in the latest version (1.7.1) , and found
out helper and placeholder option is not quite working
as I was expecting.
If I do something like below, when I move around each div's, original
divs are the actually the one moving, not the clone.

Any idea ?

$(#col).sortable(
{
   helper:'clone',
   opacity:'0.1'
}
)

div id=col
  div class=t /
 div class=t /
 div class=t /
/div
  


[jQuery] Re: chaining events from different sources

2009-03-20 Thread Steve


Not sure if this will work for you but it will let you set off a chain
of effects:

http://plugins.jquery.com/project/EffectChain

On Mar 20, 4:39 pm, pedalpete p...@hearwhere.com wrote:
 I've been trying to work with animation timing, and haven't been able
 to get this to work properly.

 What I have is that I add a class to an element, and that element is
 transitioned via a css transition.
 I then want to hide a child element once the css transition is
 complete.

 I've tried to use a callback on the addClass, but it doesn't seem to
 work
 [code]
 $('div#header').addClass('holdForecastMove', function(){
     $('div#holder').hide();});

 [/code]

 This is for an iphone targetted site, so using .animation isn't an
 option.


[jQuery] jquery media bug in IE? (jquery.media)

2009-03-19 Thread Steve


Hi all,

I am getting a Javascript error when using the media plugin (http://
plugins.jquery.com/project/media) in IE at the page:

http://www.bbhscanners.com/products/ngenuity/

(works fine in FF and other browsers).  The script error from IE is
about a missing object (object required) and occurs on page load and
when you close the browser.

The error message when the page loads occurs in the function:

function __flash__addCallback(instance, name) {
instance[name] = function () {
return eval(instance.CallFunction(invoke name=\+name+\
returntype=\javascript\ + __flash__argumentsToXML
(arguments,0) + /invoke));
}
}

The error when shutting down the browser comes from this function:

function __flash__removeCallback(instance, name) {
instance[name] = null;
}

Any ideas how to fix this for IE?

thanks,
Steve


[jQuery] Superfish jquery conflict???

2009-03-10 Thread Steve Yakoban

Hi,

I'm not much more than a jquery cut and paste/change a simple user
definition, kinda guy. I can't write javascript...

So, I was trying to marry a jquery animation effect with Superfish
in one page and apparently have a conflict. The two things work
separately but it seems that there is unhappiness having
jquery-1.3.2.js and jquery-1.2.6.min.js called in the same HTML page.

Superfish scrolls up and seems fine until you hover on a second or
third tier menu item. They just act like they're not there and the
menu collapses back to tier 1. I tried substituting one or the other
jquery versions and each time one or the other animations fails. I'm
guessing the other javascripts have issues or dependencies that
conflict.

All the scripts are:

jquery-1.3.2.js
jquery.easing.1.3.js
jquery.delay.js
header.js

jquery-1.2.6.min.js
hoverIntent.js
superfish.js

I'm not 100% certain where the conflict lies, but I think that's it.
Can there be a jquery conflict? How can I go about resolving it?

The demo page is located at: http://ehydrant.com/superfish/marry4.html


[jQuery] Superfish vertical menu quirks???

2009-03-10 Thread Steve Yakoban

OK - I have superfish functioning in vertical mode so that instead of
dropping down, it drops up as the submenus unfold. However, there
seems to be alignment issues with this that may be a quirk in the
coding?

What I mean is: if a second level list (child) has 3 li items or 4,
or 5, the positioning of the sublist (child) changes. Instead of
aligning the same way, relative to its parent. The same is true for
different first level (parent) list items - the second levels align
differently.

Just give the demo a try at: http://ehydrant.com/ray.html Look at
menu item A and menu item C - the second levels align totally
differently. Look at the subs too.

Anyone know if I'm doing something wrong or this is a quirk?

Also, how can I change the text alignment on the buttons so that it
aligns left? I can't find any CSS that effects it.

Thanks.



[jQuery] Re: Superfish - sfHover question

2009-02-19 Thread Steve Piercy

On Feb 18, 3:53 pm, GileS anthony.neum...@gmail.com wrote:
 We have superfish working well with image replacement for the top
 level menu items.  We use different images for each item based on
 normal, active, hover.   The active states and normal states are
 working properly. The only problem is with ie6 since it seems to not
 support li:hover and we are replacing the images on the li.

I use the pseudo classes on a instead of li, which IE6 supports.
Sprites work for link, hover and active states, and there is no
dependency on Superfish.

--steve


[jQuery] Re: Image rollover effects in Superfish menu

2009-02-17 Thread Steve Piercy

See this post.
http://groups.google.com/group/jquery-en/browse_thread/thread/1801c70c34167ab6/6c934d51612fc7f5?lnk=gstq=superfish+hover+top+level#6c934d51612fc7f5

I'm experimenting with how to do the same thing, but without the extra
markup of em/em.

--steve

On Feb 1, 4:51 am, Simbarashe lowsonr...@gmail.com wrote:
 We have built our site usingsuperfishto handle the main navigation
 menu. Thetoplevelelements are images and for selecting the 'current
 section image, we use the codebehind to set the different image
 states, and a rollover function in the client side to handle the image
 rollovers. That gives us for example:

 server-side:
 home.png (standard menu image)
 home-current.png (current section)

 client-side:
 home_o.png (overstate)
 home-current_o.png (current section / overstate)

 The only drawback I have right now is that thehover(over) states
 show properly when youhoverover thetop-menu element itself. If youhoverin the 
 sub-menu then the roll-over effect on thetop-levelmenu
 image disappears. Has anyone had any success in using rollover images
 in asuperfishmenu, and how would I fix this?


[jQuery] Validation Plugin: additional-methods.js

2009-01-22 Thread Steve Blades
Thanks again to Jorn for a fantastic plugin. One thing I noticed, with the
additional-methods.js file that is included with the download, is a small
error with the messages for the maxWords, minWords, and rangeWords methods.
They are missing $.format():
jQuery.validator.addMethod(maxWords, function(value, element, params) {
return this.optional(element) || value.match(/\b\w+\b/g).length 
params;
}, $.format(Please enter {0} words or less.));

jQuery.validator.addMethod(minWords, function(value, element, params) {
return this.optional(element) || value.match(/\b\w+\b/g).length =
params;
}, $.format(Please enter at least {0} words.));

jQuery.validator.addMethod(rangeWords, function(value, element, params) {
return this.optional(element) || value.match(/\b\w+\b/g).length =
params[0]  value.match(/bw+b/g).length  params[1];
}, $.format(Please enter between {0} and {1} words.));

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
Co-Author 'Learning Ext JS'
http://www.packtpub.com/learning-ext-js/book


[jQuery] Re: attaching hide() to delete confirmation

2009-01-05 Thread steve

thanks, Hector, your answer helped with what I'm trying to do now.

On Nov 17 2008, 1:49 pm, Hector Virgen djvir...@gmail.com wrote:
 If the link is within the row, you can use jQuery#parents to find the row,
 without using the ID.
 $('a.delete').click(function()
 {
     $(this).parents('tr').hide();

 });

 I'm not sure what .confirm() is at the end your script, but if you want to
 use the native javascript confirm you can do it like this:

 $('a.delete').click(function()
 {
     var msg = 'Are you sure?';
     if (confirm(msg)) {
         $(this).parents('tr').hide();
     }

 });

 I hope this helps.

 -Hector

 On Mon, Nov 17, 2008 at 1:42 PM, typenerd chairman...@gmail.com wrote:

  Hi everyone, I'm using jquery confirm to change a link into a confirm
  delete
  yes/no. That's working great, but I'm having trouble handling deleting the
  row in html; I'm not sure how to reference the id for the row.

  My html looks like this, with each TR having a unique row id:

  tr id=r3
  cell data...
  /tr

  my delete link looks like this:

  delete/3 delete row 3

  my jquery looks like this, but I don't know how to reference the id=r3
  using
  javascript:

  script type=text/javascript
  $(document).ready(function() {
  $('a.delete').click(function(event) {
         $.post($(this).attr('href'), function(data){
                 link_id = $(this).id();
                 row_id = link_id.replace('d', '');
                 $(#r+row_id).hide();
         });
  }).confirm();
  });
  /script
  --
  View this message in context:
 http://www.nabble.com/attaching-hide%28%29-to-delete-confirmation-tp2...
  Sent from the jQuery General Discussion mailing list archive at Nabble.com.


[jQuery] Requesting a file in a parent directory with .ajax

2008-12-23 Thread Steve

Hi there!

If the file I want to to load is in my web root and is called:

loadme.php

And my javascript with all my JQuery code is in:

js/jquery.js

If I call the following function in jquery.js, what's the correct
path?

$.ajax({
url: '../loadme.php',

Will adding the ../ correctly refer it to load from a parent
directory?


[jQuery] Superfish help

2008-11-26 Thread Steve

Hi there,

I'm a bit of jQuery and Javascript newbie so please bare with me.

I've just implement the Superfish menu plugin, using the package
available at http://users.tpg.com.au/j_birch/plugins/superfish/#download
.

All working fine until I introduced some totally unconnected
Javascript to the mix, I can only assume there is a conflict but I'm
afraid I'm uncertain how to resolve it.

My implementation is:

style type=text/css
!--
@import url(css/menu3/superfish.css);
--
/style
script type=text/javascript src=js/jquery-1.2.6.min.js/script
script type=text/javascript src=js/hoverIntent.js/script
script type=text/javascript src=js/superfish.js/script
script type=text/javascript src=js/supersubs.js/script
script type=text/javascript
$(document).ready(function(){
$(ul.sf-menu).supersubs({
minWidth:12,   // minimum width of sub-menus in em
units
maxWidth:27,   // maximum width of sub-menus in em
units
extraWidth:  1 // extra width can ensure lines don't
sometimes turn over
   // due to slight rounding differences
and font-family
}).superfish();  // call supersubs first, then superfish, so
that subs are
 // not display:none when measuring. Call
before initialising
 // containing tabs for same reason.
});
/script

Pretty standard stuff I'm sure you'll agree, and as I mentioned this
works as expected.

When I introduce this to the mix:

script language=javascript type=text/javascript src=http://
usr.echoclick2call.com/ini/2717.js/scriptscript
language=javascript type=text/javascript src=http://
static.echoclick2call.com/scripts/click2call.js/script

External scripts that provide additional functionality for the site
the menu fails to render correctly (I lose the default fade effects,
the arrows and a portion of the styling).

Any suggestions?

I was under the impressiong that jQuery was namespaced to avoid
problems like this? Or am I getting confused with another library?

Cheers,

Steve


[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread Steve M

On this topic, I found this on MSDN today, seems like it might be a
cleaner solution to the problem, has anyone tried a  custom message
Encoder?
I found their sample and I'm going to implement it today, I'll let you
know how it goes.

On Nov 20, 7:25 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Ah, i found it. You have to set the aspNetCompatibility

 Config file:
         system.serviceModel
                 serviceHostingEnvironment aspNetCompatibilityEnabled=true 
 /

 Service class:
     [AspNetCompatibilityRequirements(RequirementsMode =
 AspNetCompatibilityRequirementsMode.Required),
 System.Runtime.InteropServices.GuidAttribute(09A4A7FA-97AC-4CF8-
 B264-305EB987AC5F)]
     public class myService : ImyService

 On 20 nov, 13:15, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  Hi,

  I am trying to implement a HttpModule but can't get it to work. Can
  you please post the code plus config changes?
  In the documentation it looks like a HttpModule can not work withWCF.
  When you look athttp://msdn.microsoft.com/en-us/library/aa702682.aspx
  then you will see the folowing sentence:
  HttpModule extensibility: TheWCFhosting infrastructure intercepts
 WCFrequests when the PostAuthenticateRequest event is raised and does
  not return processing to the ASP.NET HTTP pipeline. Modules that are
  coded to intercept requests at later stages of the pipeline do not
  interceptWCFrequests.

  On 20 nov, 08:06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

   Hi,

   Could you make the JsonModule and JsonStream objects available? That
   would save me a couple of hours making them myself. Your help is realy
   appreciated.

   Thanks,
   Edwin Vermeer


[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread Steve M

err... might have been helpful if I included a link.

http://msdn.microsoft.com/en-us/library/cc716898.aspx



On Nov 20, 5:30 pm, Steve M [EMAIL PROTECTED] wrote:
 On this topic, I found this on MSDN today, seems like it might be a
 cleaner solution to the problem, has anyone tried a  custom message
 Encoder?
 I found their sample and I'm going to implement it today, I'll let you
 know how it goes.

 On Nov 20, 7:25 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  Ah, i found it. You have to set the aspNetCompatibility

  Config file:
          system.serviceModel
                  serviceHostingEnvironment 
  aspNetCompatibilityEnabled=true /

  Service class:
      [AspNetCompatibilityRequirements(RequirementsMode =
  AspNetCompatibilityRequirementsMode.Required),
  System.Runtime.InteropServices.GuidAttribute(09A4A7FA-97AC-4CF8-
  B264-305EB987AC5F)]
      public class myService : ImyService

  On 20 nov, 13:15, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

   Hi,

   I am trying to implement a HttpModule but can't get it to work. Can
   you please post the code plus config changes?
   In the documentation it looks like a HttpModule can not work withWCF.
   When you look athttp://msdn.microsoft.com/en-us/library/aa702682.aspx
   then you will see the folowing sentence:
   HttpModule extensibility: TheWCFhosting infrastructure intercepts
  WCFrequests when the PostAuthenticateRequest event is raised and does
   not return processing to the ASP.NET HTTP pipeline. Modules that are
   coded to intercept requests at later stages of the pipeline do not
   interceptWCFrequests.

   On 20 nov, 08:06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

Could you make the JsonModule and JsonStream objects available? That
would save me a couple of hours making them myself. Your help is realy
appreciated.

Thanks,
Edwin Vermeer


[jQuery] $.each help for radio button validation

2008-10-22 Thread Steve

Hi Everyone,

I'm new at this and can't figure out how to use the $.each properly.
Let me try to explain more about my Quiz project:

1. I have a dynamic set of Radio Buttons that are grouped.
2. I want to validate that at least 1 is checked per group.
3. If a radio button is not checked in a group, i want to display a
message under that radio buttons that says please choose.

So i think i'm pretty close, here's my approach please chime and help
if you can:
1. get all Radio Buttons into a jQuery object collection.
2. Loop through the Radio Buttons, get the Group Name's and put them
in an Array.
3. Another Loop checking if the Group has a Radio Button Checked.
4. If none are checked then I append an asterisk *

My problem is it appends it to all the Radio Buttons.

Thanks!





[jQuery] Re: Problem with jCarousel in Safari.

2008-10-15 Thread Steve J

I'm getting very similar behaviour in Safari and WebKit nightly build
with a slideshow widget i'm making with jcarousel. I'm not using
google js, just local jquery, and also using the preload plugin to
preload my images. (http://plugins.jquery.com/project/Preload)

Seems that when the site is tested on localhost (ie, fast loading
times) i get the unexpected behaviour - sometimes jcarousel fails to
fire, essentially, so the prev/next buttons don't show and no
scrolling happens. If i refresh, sometimes i get expected operation,
other times it remains broken.

FF and even IE work fine -- it's almost as if Safari/WebKit is too
fast... Is there some cleverness about the way it works that disagrees
with Jcarousel - but only sometimes?

S

On Oct 14, 10:23 am, Stephen [EMAIL PROTECTED] wrote:
 Im using google.load to fire up jquery and it seems that its causing
 jCarousel to behave funny in chrome / safari, firstly if the jcarousel
 call is before the carousel itself then the next / previous buttons
 stay disabled then if you move the call after the carousel then it
 lose position and scroll more than it should compared to firefox etc.

 im using the simple template as a debug as the page i am using this on
 has allot of other function which i thought to be the problem
 originally, here is the code i am using.

 script language=javascript type=text/javascript 
 src=http://www.google.com/jsapi;
 /script
 script type=text/javascript
 google.load(jquery, 1.2.6);
 google.setOnLoadCallback(function()
 {
     $('#mycarousel').jcarousel({
         vertical: true,
         scroll: 2
     });});/script

 !--
   jCarousel library
 --
 script type=text/javascript src=../lib/jquery.jcarousel.pack.js/
 script

 Any ideas how to get safari behave for this?


[jQuery] Re: Chrome not performing fade and show() functions well

2008-10-12 Thread Steve Davis

I can confirm that using Firefox, it looks good.
Using Chrome, I see the issue.

Definitely a rendering issue - wonder if Safari does it too?

Chrome uses the same render engine as Safari (webkit), but it's a
version or two behind, I think. So would be interesting for you to see
if this happens in the current Safari browser, since no doubt the non-
beta Chrome would be upgraded to that render engine.


On Oct 12, 3:46 am, ivframes [EMAIL PROTECTED] wrote:
 Of course. It's my test site.

 http://testlab.ivframes.com

 Just hover those links and you'll see.

 On Oct 12, 4:26 am, Mike Alsup [EMAIL PROTECTED] wrote:

  Can you post a link?

  On Oct 11, 3:41 pm, ivframes [EMAIL PROTECTED] wrote:

   Today I tested my site onChromeand I was severely disappointed.
   All fadeTo, fadeOut/In, show(), hide() functions work very bad. On the
   black background you can see the jagged white halo around the text
   that is about to fade/show/hide.

   Did anyone else experience this?


[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-04 Thread Steve Davis

Nice job :)

On Oct 2, 2:52 pm, Jack Killpatrick [EMAIL PROTECTED] wrote:
 Hi All,
 Today we released our first jQuery plugin, which provides an easy way to add 
 alphabet-based navigation to any UL or OL list. Here's a link to our 
 announcement blog 
 entry:http://blogs.ihwy.com/dev/post/jQuery-listnav-plugin-version-10-released.aspx
 And below is the info from the blog entry to save you the click. Thanks to 
 Mike Alsup for his docs about creating jquery plugins, and a shout out to 
 Liam Byrne, who helped me (via this list) a few months ago with some jQuery 
 for isolating text inside of list items.
 - Jack
 
 blogged
 Today we're releasing a jQuery plugin that we created for the business 
 directory section of a pet project site of 
 ours,http://www.hwy9.com/Directory/boulder-creek.aspx. We'd always wanted to 
 have a javascript-based control that we could easily apply to long lists of 
 items to allow quickly navigating around the list. Since most lists are 
 alphabetically sorted, we came up with a plugin that allowed us to have a 
 long list and then, by binding the list to our jQuery listnav plugin, an 
 alphabet-based navigation bar would magically appear above the list, showing 
 all of the letters from A to Z. Clicking on a letter dynamically filters the 
 list, so you can, for example, click on C and the list changes on-the-fly to 
 show you only items beginning with C.

 There are lots of neat little features to the control. We've posted full 
 information and demos here:



 http://www.ihwy.com/labs/jquery-listnav-plugin.aspx.



 A couple of the interesting features worth calling out are 1) that when you 
 hover over a letter in the list navigation bar, a count appears above the 
 letter, telling you how many items will appear if you click that letter 2) 
 letters that don't have any items under them appear looking disabled, as a 
 visual clue that there aren't any items starting with that letter (so that 
 the user doesn't have to find out by clicking the letter).



 One of the demos (demo 4) also shows using the listnav plugin on a list that 
 has floated items in it. In the demo, each list item looks like a box and 
 they are arranged left-to-right, row by row. Clicking on a letter shows only 
 the boxes that have wording that starts with that letter. This could be handy 
 for making an address-book like layout on a web site: click the letter in the 
 navigation to see the contacts that start with Y, for example. Each box can 
 contain anything you want it to: the listnav control pays attention only to 
 the first letter of the first text in the list item.



 The control has been optimized for speed. It's able to handle binding to 
 lists with hundreds of items in them very quickly. Any jQuery selector can be 
 used to bind to your lists, so you can bind it to multiple lists on a single 
 page using just a CSS class name, if you want to. It works with UL and OL 
 (numbered) lists. If you use an OL, the numbers restart themselves for each 
 set of list items that appear (ie, if you click on 'C' and that has 5 items, 
 they will appear numbered from 1-5).



 We hope you enjoy the jQuery listnav plugin. We enjoyed creating it.








[jQuery] Ajax/load help with external javascripts

2008-10-04 Thread Steve

Hi, I'm a jQuery newbie. Basically, I'm trying to load an html file
into a div when a button is clicked. The html file contains
external .js and .css files for the Greybox widget. I can't get
Greybox working, do I have to do something special to load the js and
css before the load method? Appreciate any help.

--- test.html -

 $(document).ready(function(){
   $(#btn).click(function(){

 $(#demo).load(greybox.html);
   });
 });

--- greybox.html -

script type=text/javascript
var GB_ROOT_DIR = greybox/;
/script

script type=text/javascript src=greybox/AJS.js/script
script type=text/javascript src=greybox/gb_scripts.js/script
link href=greybox/gb_styles.css rel=stylesheet type=text/css /

a href=http://google.com/; title=Google rel=gb_page_fs[]Launch
google.com in fullscreen window/a



[jQuery] Re: Adding class to a parent element- traversion help?

2008-10-01 Thread Steve Schnable
How can I unsubscribe it?

Steve


[jQuery] Re: Licenses

2008-10-01 Thread Steve Schnable
How can I unsubscribe it?

Steve


[jQuery] Re: XHTML Selector Nightmare

2008-10-01 Thread Steve Schnable
How can I subscribe it?

Steve


[jQuery] Re: Passing a variable to a function

2008-10-01 Thread Steve Schnable
How can I subscribe it?

Steve


[jQuery] Re: Problem with JQuery Form, file upload and success option

2008-10-01 Thread Steve Schnable
How can I subscribe it?

Steve


[jQuery] Re: Licenses

2008-10-01 Thread Steve Schnable
How can I subscribe it?

Steve


[jQuery] Re: Include Scripts

2008-10-01 Thread Steve Schnable
How can I subscribe it?

Steve


[jQuery] unsubscribe

2008-10-01 Thread Steve Schnable
unsubscribe!


[jQuery] Re: [jEditable] dynamically updating a parameter value - FIXED

2008-09-29 Thread Steve Schnable
How can i unsubscribe it?

Steve


[jQuery] unsubscribe

2008-09-29 Thread Steve Schnable
How can I subscribe it?

steve


[jQuery] Re: IE and Validate

2008-09-12 Thread Steve Blades
Yeah, I tried that. No luck there either (the former was for adding
functionality that needed to occur after validation, but prior to
submission). It's really odd, as there are no errors thrown, and it works
like a champ in FF. The code in the html is so ridiculously simple as well,
and appears to be well formed. I'm stumped.

On Thu, Sep 11, 2008 at 1:42 PM, Jörn Zaefferer 
[EMAIL PROTECTED] wrote:

 validate() adds a submit handler. Adding that to the form inside your
 own submit handler results in undefined behaviour. Please take a look
 at the basic documentation on how to properly use the validate method:
 http://docs.jquery.com/Plugins/Validation#Example

 In your case something like this:

 var errContainer = $('#msgContainer');
 $('#loginForm').validate({
 errorContainer: errContainer,
errorLabelContainer: $(ul,errContainer),
rules: {
username: required,
password: required
},
messages: {
username: 'You must enter a Username',
password: 'You must enter a Password'
},
wrapper: 'li'
});

 Thats all.

 Jörn

 On Thu, Sep 11, 2008 at 6:54 PM, Steve Blades [EMAIL PROTECTED] wrote:
  Wondering if someone can help track an issue. I'm using validate 1.1 with
  JQuery 1.2.3 (can't upgrade at this time). I have a simple login form,
 and
  trying to validate that the fields aren't empty prior to submit. Working
  great in Firefox, but IE doing nothing, and not throwing an error:
 
  $('#loginForm').submit(function(){
  var errContainer = $('#msgContainer');
  var v = $(this).validate({
  errorContainer: errContainer,
  errorLabelContainer: $(ul,errContainer),
  rules: {
  username: required,
  password: required
  },
  messages: {
  username: 'You must enter a Username',
  password: 'You must enter a Password'
  },
  wrapper: 'li'
  });
 
  if(v.form()){
  return true;
  }
  else{
  return false;
  }
  });
 
  Anyone have any ideas?
 
  --
  Steve Cutter Blades
  Adobe Certified Professional
  Advanced Macromedia ColdFusion MX 7 Developer
  _
  http://blog.cutterscrossing.com
  ---
  The Past is a Memory
  The Future a Dream
  But Today is a Gift
  That's why they call it
  The Present
 




-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] IE and Validate

2008-09-11 Thread Steve Blades
Wondering if someone can help track an issue. I'm using validate 1.1 with
JQuery 1.2.3 (can't upgrade at this time). I have a simple login form, and
trying to validate that the fields aren't empty prior to submit. Working
great in Firefox, but IE doing nothing, and not throwing an error:

$('#loginForm').submit(function(){
var errContainer = $('#msgContainer');
var v = $(this).validate({
errorContainer: errContainer,
errorLabelContainer: $(ul,errContainer),
rules: {
username: required,
password: required
},
messages: {
username: 'You must enter a Username',
password: 'You must enter a Password'
},
wrapper: 'li'
});

if(v.form()){
return true;
}
else{
return false;
}
});

Anyone have any ideas?

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: Ajax JW Video Player. Fine in Firefox PC and Mac. IE6 Not working

2008-08-22 Thread Steve Blades
In my experience, JQuery and SWFObject never coexisted well in IE 6
(swfobject broke DOM). We use the JS that Adobe's generator push's, which
keeps the DOM correct.

On Fri, Aug 22, 2008 at 9:20 AM, Craigy [EMAIL PROTECTED] wrote:


 Hi - I have a development page here:

 http://www.aoec.com/beta2008%5Fv1/open/index_ajax.asp

 When you click on the play video box on the left it shows a DIV and
 then replaces some black content in that div with the following code:

 div id=playerJavasctipt required./div
 script type=text/javascript
 var so = new SWFObject('../common/jwvideo/
 mediaplayer.swf','mpl','480','270','8');
 so.addParam('allowscriptaccess','always');
 so.addParam('allowfullscreen','true');
 so.addVariable('height','270');
 so.addVariable('width','480');
 so.addVariable('file','../../video/aoec1.flv');
 so.addVariable('backcolor','0x00');
 so.addVariable('frontcolor','0xAA');
 so.addVariable('lightcolor','0x66');
 so.addVariable('searchbar','false');
 so.addVariable('enablejs','true');
 so.addVariable('autostart','true');
 so.write('player');
 /script
 /div

 It works in on Mac Safari / Firefox - and on PC Safari - We are trying
 to ensure the whole site works on IE6 but the video div does not seems
 to load on IE6.

 We have another page: http://www.aoec.com/beta2008%5Fv1/open/index.asp
 which has the player loaded in the DOM to start with and that seems to
 work OK on IE6 - so it must be the Ajax method we are using?

 Here's the JQuery stuff we are using:

 $(document).ready(function() {

$('#home_videoplayer').hide();

// Click to open video
$('#openleftfeature').click(function() {
$(#videoplayer_container).load(videoplay.asp);
 $('#home_videoplayer').animate({height:'show'},'100');

});

// Click close player
$('#video_close').click(function() {
// Replace video content with nothing and close
$(#videoplayer_container).html(nbsp;);
$('#home_videoplayer').animate({height:'hide'},'100');

});
 });

 Any help would be greatly appreciated.

 Thanks




-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: JQuery and ASP.NET AJAX

2008-05-19 Thread Steve D

I have used both successfully together, but that because the client
wanted me too.

Personally I would prefer to use jQuery on it's own. I understand what
it's doing much better than I understand what the ajax extensions are
doing in .Net. It's also a much smaller download (a simple update
panel in .Net takes over 100k of downloads to do)


[jQuery] Re: Photo Crop proposal

2008-05-05 Thread Steve Blades
Why would anyone pay for something that is based on open source?

In support of an open source initiative, especially if that initiative is
addressing an immediate need that you might have.

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: Multiple forms, validation plugin

2008-04-21 Thread Steve Blades
Paul,

Now, I might be wrong here, but if each form has it's own validation rules
then wouldn't it be something like:

$('#myFormsID').validate();

That id would equate to an 'id' attribute of the form element itself. That
would be it, right?

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: unblockUI: problem with Internet Explorer

2008-04-21 Thread steve love


I ran into this same issue today where $.unblockUI() seemed to be ignored by
Internet Explorer 6 and 7.

After searching all day for a possible cause, I found an unclosed label tag
in my HTML form. Adding the end label tag solved the problem.

Hope this helps.

- Steve


Beren wrote:
 
 
 Hi everyone.
 I'm using blockUI for a project and can't get it to work properly
 under IE 6 and 7 (yeah, I know what you guys thinking, me too).
 The problem comes when I try to use the function $.unblockUI() when
 certain events trigger, ie:
 
 var cancel =
   $(input type='button' value='cancel' /)
   .bind(click, function(){ $.unblockUI(); });
 
 var message =
   $(form)
   .append(input type='submit' value='Ok' /)
   .append(cancel);
 
 // This is where I add functionality.
 $(.myAnchor)
   .bind(
 click,
 $.blockUI(message);
 
 Everything goes swimingly and the modal form appear whenever I click
 on MyAnchor, but when I click on Cancel I can't get it to unblock
 (it works on Firefox though, of course). I think I've tried
 everything, like defining the cancel button through more rustic means
 like so (ready to remember the early 2000's?):
 
 var cancel =
   $(input type='button' value='cancel' onclick=' $.unblockUI(); ' /
)
 
 but this won't work either (in IE 6 and 7). Oh! I also tried switching
 from jQuery 1.3 to 1.1 since that's the version they use in the
 official page for the plugin and it works under Internet Explorer, but
 that didn't work either.
 I was wondering if this is a known issue with IE and there's a way to
 solve it.
 
 Thanks and sorry for the long post.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/unblockUI%3A-problem-with-Internet-Explorer-tp11708216s27240p16819902.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Somebody know a plugin like a Yahoo UI Datable?

2008-04-17 Thread Steve Blades
I may be wrong, but I believe that the YUI DataTable was originally the
precursor to the Grid components in ExtJS. I have seen some very nice grids
in JQuery, but none quite as nice (or complete) as those in ExtJS.

On Thu, Apr 17, 2008 at 11:56 AM, Alexsandro_xpt [EMAIL PROTECTED] wrote:


 I'm look for somes sorting tables jQuery plugin, but I can't found
 anyone like a grid using in web site www.youtorrent.com, the fill
 effects rows are incredible.

 Them I looking for YUI Datable ( http://developer.yahoo.com/yui/datatable/
 ), its a little good, but a Iike jQuery and I wish to using a jQuery
 plugin.

 I already to try using tablesort 2.0, but my experience is not well.

 See here: http://201.65.193.133/tbsort/ajax.html

 Table Sort 2.0 is very slow, and I can't add new item and sort itens
 for each new item;
 Zebra addons dont work very well.


 Someone have idea?




-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: Problems getting timing of commands to happen correctly

2008-03-25 Thread Steve Reichgut

Thanks for the suggestions. With some rewriting and changes in the
flow, I was able to get it to work. Although I was able to get it to
work, I wanted to ask one clarifying question to make sure I am
understanding the limits of jQuery methods.

In my original code, I wanted to make three things happen in
sequential order:
1) FadeIn an image
2) Change the CSS background-image
3) FadeOut an image

I believe that that flow won't work since the jQuery CSS method
doesn't include the ability to register a callback. Without a callback
on the CSS method, there is no way to queue up the FadeOut to start
after the CSS method has completed. Am I correct in this?

Steve

On Mar 24, 12:26 pm, ripple [EMAIL PROTECTED] wrote:
 Here's a good working example. This might help, but of course you will have 
 to tweak the timing to suit your needs.

  http://2whoa.com/dominate/2008/03/jquery-fades.php

 Steve Reichgut [EMAIL PROTECTED] wrote:

 Hi everyone,

 I have been trying to use jQuery to create a relatively simple image
 rotator. The challenge I ran into with this script is that I want the
 new image to fade-in over top of the existing image. After many
 different attempts, I was able to get pretty close by using the
 following (unelegant) code:
 i++;
 bg++;
 if (i == (numImages + 1)) { i = i - numImages; }
 if (bg == (numImages +1 )) { bg = bg - numImages; }
 bgImg = url(/images/stories/js_images_home/header_ + bg + .jpg);
 img = 'header_'%20+%20i%20+%20'.jpg';
 $
 ('#header_gallery').css(backgroundImage,bgImg).html(img).find('img:eq(0)').fadeIn(3000).fadeTo(3000,1).fadeOut(4000,runHomePg);

 When I run the code, it works partially. From what I can tell, I am
 doing something wrong in trying to queue the effects . Right now,
 setting the CSS background-image and the fading in  out of the
 foreground image happen simultaneously instead of sequentially like I
 want them to.

 Any help would be greatly appreciated...

 Steve

 -
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it 
 now.


[jQuery] Problems getting timing of commands to happen correctly

2008-03-24 Thread Steve Reichgut

Hi everyone,

I have been trying to use jQuery to create a relatively simple image
rotator. The challenge I ran into with this script is that I want the
new image to fade-in over top of the existing image. After many
different attempts, I was able to get pretty close by using the
following (unelegant) code:
  i++;
  bg++;
  if (i == (numImages + 1)) { i = i - numImages; }
  if (bg == (numImages +1 )) { bg = bg - numImages; }
  bgImg =   url(/images/stories/js_images_home/header_ + bg + .jpg);
  img   =   'img id=gallery src=/images/stories/js_images_home/
header_' + i + '.jpg/';
$
('#header_gallery').css(backgroundImage,bgImg).html(img).find('img:eq(0)').fadeIn(3000).fadeTo(3000,1).fadeOut(4000,runHomePg);

When I run the code, it works partially. From what I can tell, I am
doing something wrong in trying to queue the effects . Right now,
setting the CSS background-image and the fading in  out of the
foreground image happen simultaneously instead of sequentially like I
want them to.

Any help would be greatly appreciated...

Steve


[jQuery] Re: $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Steve Blades
And it wouldn't, as that would be a crosssite scripting instance, which
isn't permitted.


-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] quicktime player and thickbox issue

2008-03-05 Thread Steve Good

I have a thickbox modal window, in which I have embedded a wav file.  
The wav file is being played through the quicktime player plugin.  The 
audio plays fine, but when I open a newly created modal window, more 
often then not, the player doesn't actually show.  Instead I see the 
gray overlay that is behind the modal window.  I ran across a script 
that redraws an element in the window, which supposedly causes the qt 
player to be redrawn.  However, this method doesn't seem to work for 
me.  Has anyone come across this issue before?  If so, how did you 
overcome it?

Here's the code that I tried using without any luck.  I put it down just 
above the /body tag.

|script type=text/javascript
$(document).ready(function() {
  closeButton = document.getElementById(TB_closeWindowButton);
  color = closeButton.style.color;
  closeButton.style.color = white;
  closeButton.style.color = color;
});
/script|

I replaced the element ID with one that I was using in my window.

Thanks!
-- 

~Steve
http://goodcf.instantspot.com/blog



[jQuery] Re: quicktime player and thickbox issue

2008-03-05 Thread Steve Good

I solved my problem using jquery.media.js

~Steve
http://goodcf.instantspot.com/blog



Steve Good wrote:
 I have a thickbox modal window, in which I have embedded a wav file.  
 The wav file is being played through the quicktime player plugin.  The 
 audio plays fine, but when I open a newly created modal window, more 
 often then not, the player doesn't actually show.  Instead I see the 
 gray overlay that is behind the modal window.  I ran across a script 
 that redraws an element in the window, which supposedly causes the qt 
 player to be redrawn.  However, this method doesn't seem to work for 
 me.  Has anyone come across this issue before?  If so, how did you 
 overcome it?

 Here's the code that I tried using without any luck.  I put it down 
 just above the /body tag.

 |script type=text/javascript
 $(document).ready(function() {
  closeButton = document.getElementById(TB_closeWindowButton);
  color = closeButton.style.color;
  closeButton.style.color = white;
  closeButton.style.color = color;
 });
 /script|

 I replaced the element ID with one that I was using in my window.

 Thanks!


[jQuery] Re: roundcorners+gradient+progression= ...

2008-03-05 Thread Steve Schnable
Interesting. I haven't used jQuery before but this looks very nice and
clean. Great. I would like to use it. I use CSS and PS but it looks that
it's much better way to use jQuery for rounded corners, right?

Steve


On Wed, Mar 5, 2008 at 11:51 AM, Rick Faircloth [EMAIL PROTECTED]
wrote:


 Looks good and I plan to use it.  I would, however, like
 to be able to put a nice drop-shadow behind that rounded-corner element.

 What jQuery plug-in could I use to add the shadow?

 Rick

  -Original Message-
  From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick
  Sent: Wednesday, March 05, 2008 9:58 AM
  To: jQuery (English)
  Subject: [jQuery] roundcorners+gradient+progression= ...
 
 
  roundcorners-canvas+gradient plugin+jQuery Progression =
  http://www.meerbox.nl/jrc_demo/example3.html
 
  i just released a new version of my plugin jquery-roundcorners-canvas
  and i created a new demo. You can do a lot of fun stuff with different
  plugins :)





[jQuery] Re: refreshing a div tag

2008-02-24 Thread Steve Good

Awesome!  Thanks for a push in the right direction.  :)

~Steve
http://goodcf.instantspot.com/blog



Dan G. Switzer, II wrote:
 Steve,

   
 I searched around the web a bit for a way to refresh a div tag at set
 intervals but haven't found anything that pertains to jquery.  I saw
 some stuff about prototype and ColdFusion 8, neither of which were any
 help.

 Does anyone have a preferred method of doing this?  I'd like to be able
 to have the div tag refresh at regular intervals and also be triggered
 by clicking a link or triggering an event.
 

 There's a plug-in called Heartbeat you can use repeat an AJAX operation at
 set interval. To trigger an update manually (via a click event or
 programmatically) you can use the $.ajax() method.

 -dan

   


[jQuery] Re: Form submission without reloading modal window

2008-02-22 Thread Steve Good

Thanks Shawn,

I'll give what you suggest a try.

~Steve



Shawn wrote:

 my bad - the plugin I mentioned is called the Form Plugin
 http://plugins.jquery.com/project/form

 Shawn

 Shawn wrote:

 Ajax.

 There is a handy plugin out there - ajaxForms (I think...) that will 
 allow your existing form to be submitted via ajax, and a callback 
 function executed with the resulting page output.  I haven't used it, 
 so probably have the name, and details wrong. (I just write my own 
 Ajax routines for this sort of thing.)  But, I know this plugin would 
 do the trick for you.

 Failing that, look into the $.ajax() method - you can easily use it 
 to submit a form without reloading your page.

 how to use the Ajax powerhouse $.ajax():
 http://jquery.open2space.com/node/27

 How to work with Ajax (overview):
 http://jquery.open2space.com/node/56
 (though there are probably better Ajax tutorials out there than this 
 one)

 (disclaimer/shameless plug alert! - I wrote both those links)

 ALTERNATIVELY, if you don't want to use Ajax, you can make creative 
 use of a iframe (or is that what you meant by jframes?).  Give your 
 form a target attribute - just like you would with an anchor tag - 
 but use the NAME (not ID) attribute of the iframe as your target.

 i.e.

 form name=myForm action=mypage.php method=post target=myFrame
 .../form

 iframe name=myFrame id=myFrame

 (I like to use the same text for both the name and ID attribute - I 
 often need to refer to the IFrame as a target (which needs the NAME), 
 and/or I might need to access the frame from code (which needs the ID).

 Once you get that going, then you can include some JS in the frame's 
 document (your action page) to update the parent page ( 
 window.parent.getElementById(xxx).style.display=none;... or 
 whatever you need)

 HTH

 Shawn

 Steve Good wrote:
 Hello,

 I am looking for a solution to submit a form and instead of 
 refreshing the whole page just refresh the contents of a div tag.  
 Can anyone point me in the right direction?  I tried jframes, but I 
 can't figure out how to get the form to not open a new window.

 Thanks in advance!  Let me know if more information is needed.


[jQuery] trying to parse XML

2008-02-22 Thread Steve Davis

hey folks,

could you look at this site:

http://craniumdesigns.com/new/

and tell me why my xml isnt parsing on the portfolio area? i'm just
trying to have SOME sort of output. once it works i want to generate
all the portfolio images/info as li tags. the code is in the top of
index.html for easy viewing. i'm very new to jquery and not really
sure what i'm doing wrong.


[jQuery] Re: Read More button

2008-02-21 Thread Steve Schnable
Hi Karl,

Yeah! It's very good. That's exactly what I want. I haven't used jQuery
before. It's all new to me. So the first link below should help me  how to
do that.

Thanks, Steve

On Tue, Feb 19, 2008 at 10:17 PM, Karl Swedberg [EMAIL PROTECTED]
wrote:


 I know of two plugins that do this sort of thing:

 Expander:
 http://plugins.learningjquery.com/expander/

 Truncate:
 http://www.reindel.com/truncate/


 --Karl
 _
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com



 On Feb 19, 2008, at 2:19 PM, Steve Schnable wrote:

  I have some testimonials on my website but they take up a lot of
  space, I would like to have it so that it will show the first
  sentence and then have a 'Read More' button where they can click on
  it and it would would expand showing the rest of the paragraph.
 
 
  It would be like:
 
   I am an owner/agent that was trying everything in a down market to
  get my condo sold. I had it listed on MLS, signs in the windows,
  open houses, but nothing seemed to generate any traffic... READ MORE
 
  and once someone clicks on the 'READ MORE it would expand showing
  the rest of the quote.
 
  Please tell me where I can find a script for it.
 
  Thanks! Steve




[jQuery] Form submission without reloading modal window

2008-02-21 Thread Steve Good

Hello,

I am looking for a solution to submit a form and instead of refreshing 
the whole page just refresh the contents of a div tag.  Can anyone point 
me in the right direction?  I tried jframes, but I can't figure out how 
to get the form to not open a new window.

Thanks in advance!  Let me know if more information is needed.
-- 

~Steve
http://goodcf.instantspot.com/blog



[jQuery] Closing a ThickBox modal window.

2008-02-15 Thread Steve Good

If this is the wrong place to ask I apologize.  I tried the [EMAIL PROTECTED] 
list but my email bounced back.

I was told, and I also read that to close a modal TB window all I need 
to do is call the tb_remove() function.  Well, I'm new to AJAX as well 
as JavaScript as a whole.  How would I go about calling tb_remove() from 
my modal window?

Thanks in advance!

-- 

~Steve



[jQuery] Selecting Parent

2008-02-15 Thread Steve Davis

i have a table of linkedthumbnailed images like this...

a href=top_shelf.html title=Top Shelf Cocktail Bar
rel=top_shelf.html class=cluetipimg src=images/beverages.jpg
width=150 //a

i want to dynamically add a text description below each image using
the title attribute from the image's parent link, so it looks like
this...

a href=top_shelf.html title=Top Shelf Cocktail Bar
rel=top_shelf.html class=cluetipimg src=images/beverages.jpg
width=150 //a

here's my code...

$(a.cluetip img).each(function(i) {
 $(this).after(this.parents(a).title);
});

that's not working. what am i doing wrong? i basically am just trying
to reference the img first parent, the a tag, and pull its title.


[jQuery] Re: prepend - but make second item instead of first

2008-02-15 Thread Steve Davis

i would make the first row a th then have it do a $(th).after(add
your TR here);

but im a total newbie to javascript and jquery

On Feb 15, 2:48 pm, Shelane [EMAIL PROTECTED] wrote:
 I would like to add a row to a table.  The first row is a header.  So
 I want to add it just under the header row.  How would I accomplish
 such an endeavor?


[jQuery] Re: Selecting Parent

2008-02-15 Thread Steve Davis

nevermind. i found out it's as easy as using $
(this).after(this.parentNode.title);

On Feb 15, 1:44 pm, Steve Davis [EMAIL PROTECTED] wrote:
 i have a table of linkedthumbnailed images like this...

 a href=top_shelf.html title=Top Shelf Cocktail Bar
 rel=top_shelf.html class=cluetipimg src=images/beverages.jpg
 width=150 //a

 i want to dynamically add a text description below each image using
 the title attribute from the image's parent link, so it looks like
 this...

 a href=top_shelf.html title=Top Shelf Cocktail Bar
 rel=top_shelf.html class=cluetipimg src=images/beverages.jpg
 width=150 //a

 here's my code...

 $(a.cluetip img).each(function(i) {
  $(this).after(this.parents(a).title);

 });

 that's not working. what am i doing wrong? i basically am just trying
 to reference the img first parent, the a tag, and pull its title.


[jQuery] Re: Page won't process with mouse in browser window

2008-01-24 Thread steve love

Issue resolved. Looks like I'm the only one in this discussion but in
case this helps anyone in the future, here's what was going on:

The Setup: We've got scripts on the page to detect (among other
activity indicators) mouse movement. A timer is reset every time the
mouse moves; after a period of inactivity, the timer runs out. We also
have forms processing via .ajaxForm() and using BlockUI to prevent
interaction with the page during processing. Whenever BlockUI came up,
IE6 would completely halt the page until the mouse was moved off the
browser.

The Solution: To help our QA department test the timer, we had a div
on the page that displayed and counted down the seconds. Removing this
countdown display resolved the issue. The page no longer froze. Not
sure exactly why. Maybe IE6 just couldn't handle all the page
modification that was occurring with the timer countdown and the
BlockUI element? If anyone knows specifically why this was happening,
I'd love to hear about it to avoid problems in the future.

Thanks.


On Jan 15, 7:54 am, steve love [EMAIL PROTECTED] wrote:
 Update: Removing BlockUI eliminates the issue. Now, to figure out
 why...

 On Jan 14, 9:10 pm,steve love[EMAIL PROTECTED] wrote:

  Can anyone think of any reason why a page would completely stop while
  the mouse is in the browser window, but continue once you move the
  mouse off the page?

  As if I had to tell you, this is happening with IE 6. I'm working on a
  project with a couple other coders, so we're not exactly sure where or
  when the problem began. It hasn't released, so I can't show you
  examples. If I knew what in the code was causing the problem, I could
  give you some code to look at. The best I can do is give you a
  description and hope someone has seen this happen before.

  Basically, pages that involve any kind of processing, Ajax or
  otherwise, will stop dead in their tracks until you move the mouse
  away.

  1. In the most visible example, a form is filled out completely and
  correctly and submitted using the Form plugin.
  2. The screen goes dark as BlockUI kicks in, but it's stuck.
  3. Move the mouse off the browser window and the BlockUI message
  appears. There's an animated gif to show the script is processing.
  4. Move the mouse back onto the browser window and processing stops
  again. Even the gif animation stops dead.

  This happens on other pages as well, not just pages using BlockUI.
  There are other plugins in use that are called on every page: jqModal
  and dimensions.

  We've also got a javascript function that sets a timer after a period
  of inactivity, based on mouse movement and keypresses. I thought
  perhaps this had something to do with it, but even removing these
  functions didn't solve the issue.

  I apologize for the long post with no code, but maybe someone will
  have encountered something like this.

  Thanks in advance!

  Steve


[jQuery] Re: Reverse IP Lookup

2008-01-18 Thread Steve Blades
StrikeIron.com has a free webservice search service (under
products|utilities, you must register to access) that has a service listed
which might meet your needs.


-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: Page won't process with mouse in browser window

2008-01-15 Thread steve love

Update: Removing BlockUI eliminates the issue. Now, to figure out
why...


On Jan 14, 9:10 pm, steve love [EMAIL PROTECTED] wrote:
 Can anyone think of any reason why a page would completely stop while
 the mouse is in the browser window, but continue once you move the
 mouse off the page?

 As if I had to tell you, this is happening with IE 6. I'm working on a
 project with a couple other coders, so we're not exactly sure where or
 when the problem began. It hasn't released, so I can't show you
 examples. If I knew what in the code was causing the problem, I could
 give you some code to look at. The best I can do is give you a
 description and hope someone has seen this happen before.

 Basically, pages that involve any kind of processing, Ajax or
 otherwise, will stop dead in their tracks until you move the mouse
 away.

 1. In the most visible example, a form is filled out completely and
 correctly and submitted using the Form plugin.
 2. The screen goes dark as BlockUI kicks in, but it's stuck.
 3. Move the mouse off the browser window and the BlockUI message
 appears. There's an animated gif to show the script is processing.
 4. Move the mouse back onto the browser window and processing stops
 again. Even the gif animation stops dead.

 This happens on other pages as well, not just pages using BlockUI.
 There are other plugins in use that are called on every page: jqModal
 and dimensions.

 We've also got a javascript function that sets a timer after a period
 of inactivity, based on mouse movement and keypresses. I thought
 perhaps this had something to do with it, but even removing these
 functions didn't solve the issue.

 I apologize for the long post with no code, but maybe someone will
 have encountered something like this.

 Thanks in advance!

 Steve


[jQuery] Page won't process with mouse in browser window

2008-01-14 Thread steve love

Can anyone think of any reason why a page would completely stop while
the mouse is in the browser window, but continue once you move the
mouse off the page?

As if I had to tell you, this is happening with IE 6. I'm working on a
project with a couple other coders, so we're not exactly sure where or
when the problem began. It hasn't released, so I can't show you
examples. If I knew what in the code was causing the problem, I could
give you some code to look at. The best I can do is give you a
description and hope someone has seen this happen before.

Basically, pages that involve any kind of processing, Ajax or
otherwise, will stop dead in their tracks until you move the mouse
away.

1. In the most visible example, a form is filled out completely and
correctly and submitted using the Form plugin.
2. The screen goes dark as BlockUI kicks in, but it's stuck.
3. Move the mouse off the browser window and the BlockUI message
appears. There's an animated gif to show the script is processing.
4. Move the mouse back onto the browser window and processing stops
again. Even the gif animation stops dead.

This happens on other pages as well, not just pages using BlockUI.
There are other plugins in use that are called on every page: jqModal
and dimensions.

We've also got a javascript function that sets a timer after a period
of inactivity, based on mouse movement and keypresses. I thought
perhaps this had something to do with it, but even removing these
functions didn't solve the issue.

I apologize for the long post with no code, but maybe someone will
have encountered something like this.

Thanks in advance!

Steve


[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-11 Thread Steve Brownlee

Why not just make the showResponse() function an inner, anonymous
function of onSuccess()?

var options = {
success: function() {
 jQuery('div#adv_content').load('inc/
de.application.adv.inc.php?page='+pageNumber);
}
url:  'inc/application.adv.func.php'
}

On Jan 11, 9:12 am, antiheld2000 [EMAIL PROTECTED] wrote:
 hi,

 i got a silly little question:
 ho do i pass a variable from a function to a callback? see this
 example for better understanding:

 var options = {
   success:   showResponse,
   url:  'inc/application.adv.func.php'
  };

 function showResponse(responseText, statusText)  {
 jQuery('div#adv_content').load('inc/de.application.adv.inc.php?
 page='+pageNumber);

 }

 $('#step1').click(function(){
 var pageNumber = '0';
 $('#myform').ajaxSubmit(options);
 return false;

 });

 can you help me?


[jQuery] Re: Ajax links not working

2008-01-11 Thread Steve Brownlee

Because the newly inserted link IDs are not in the root DOM.  You need
to use this tool to properly identify any elements added after the
page load

http://brandonaaron.net/docs/livequery/

On Jan 11, 12:57 pm, 700lbGorilla [EMAIL PROTECTED] wrote:
 Still confused as to why this isn't working, I'd appreciate any help.


[jQuery] Re: problem with hide()

2008-01-11 Thread Steve Clason

Nicolas wrote:
 Hello people; i'll go straight to my problem; when i load a certain
 page inside it's $(document).ready(function(){ }); function i hide
 some tables which (some) have images inside. The problem is that the
 tables take a while to completly hide at the beggining, as i wish, and
 take for a couple of seconds...; i need to know what am i doing wrong,
 and how can i do those tables not to appear at the begging, many
 thanks,

I usually hide elements using CSS (display:none) and use JS to reveal 
them, if I understand your situation right..
-- 
Steve Clason
Boulder, Colorado, USA
(303) 818-8590


[jQuery] Re: Accessing Another Window

2008-01-05 Thread Steve @ MFB

Problem Solved.

newwindow.$(#example  ul).tabsAdd('#new-tab', 'Customer #4');

Reference the new window first, then the traditional jquery function

-Steve

On Jan 3, 11:27 am, Steve @ MFB [EMAIL PROTECTED] wrote:
 Looking for information on how to access an opened window via:

 $(newwindow.#tabnav).tabsAdd('#new-tab', 'Customer #4');

 Where newwindow is the name of a variable that holds window.open.

 I have a function that checks to see if the window is open, and if it
 is, opens a tab (HTML) within that window.  I just need to know how to
 access it via JQuery.  A link or explanation would suffice.

 Thanks


[jQuery] Re: [SITE SUBMISSION] Brightegg.com

2008-01-02 Thread Steve Blades
Ryan,

Great stuff. It's always good to see the American Dream at work. One small
issue you may want to address, since you're selling design services, is your
type/font choice of your home page. It renders miserably in Firefox 2 on
WinXP (I'm at 1280 x 1024 res, if it matters). Very choppy and stilted.

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: Using ajax

2007-12-26 Thread Steve Blades
You have the closing brackets and parens around the functions of your
.ajax() call, but you don't appear to close out your
$(document).ready(function(){ // everything is in here });

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: cf ajax example

2007-12-13 Thread Steve Clason

interarnett wrote:
 I have created a simple app screen based off of the example/tutorial
 on jquery website for coldfusion and ajax.
 
snip
 
 There is a parameter for success in ajax call.
 Success never happens it only comes back and says that there is an
 error but do not know how to trap for error...

I apologize if this is off-topic for this list. Though I don't know 
about you're particular problem I have had a terrible time getting 
ColdFusion to return valid xml because of CF's propensity for adding 
whitespace.

Once I started using JSON for data transfer my life got much simpler. 
I'd suggest looking carefully at the returned xml checking for 
whitespace before the xml declaration.

-- 
Steve Clason
Boulder, Colorado, USA
(303) 818-8590


[jQuery] Re: does jquery 1.2.1 support xpath????

2007-11-25 Thread Steve Clason

Gordon wrote:
 I'm not sure but I believe that xpath might have been moved from the
 core in 1.2 to a plugin, on the grounds that most people use CSS
 selectors.
 

Is true. http://docs.jquery.com/Release:jQuery_1.2

-- 
Steve Clason
Boulder, Colorado, USA
(303) 818-8590


[jQuery] CSS based Sliding menu

2007-11-13 Thread Steve Finkelstein

Hi all,

I'm sure jQuery has something similar, just haven't been able to find
it. There's an article/example here, and I'm sorry if this is a common
question here. I wasn't sure how to search for  sliding menu thingy
in the threads. :-)

Where should I look within jquery for a similar effect of
http://devthought.com/cssjavascript-true-power-fancy-menu/ ?

Cheers all. :-)

- sf


[jQuery] Re: CSS based Sliding menu

2007-11-13 Thread Steve Finkelstein

Thanks for the link Cloud, perfect. :-)

On 11/13/07, Cloudream [EMAIL PROTECTED] wrote:

 http://www.gmarwaha.com/blog/?p=7

 On Nov 14, 10:54 am, Steve Finkelstein [EMAIL PROTECTED] wrote:
  Hi all,
 
  I'm sure jQuery has something similar, just haven't been able to find
  it. There's an article/example here, and I'm sorry if this is a common
  question here. I wasn't sure how to search for  sliding menu thingy
  in the threads. :-)
 
  Where should I look within jquery for a similar effect 
  ofhttp://devthought.com/cssjavascript-true-power-fancy-menu/?
 
  Cheers all. :-)
 
  - sf




[jQuery] Re: jqGrid update

2007-11-12 Thread Steve Brownlee

Fantastic job, Tony.  I already know where I can use this.

On Nov 12, 5:59 am, Tony [EMAIL PROTECTED] wrote:
 Just now I have updated the jqGrid.
 The news are:
 - Row editing
 - From now jqGrid can accept XML and JSON data with arbitrary
 structure using a xmlReader and jsonReader.

 Demo at:http://trirand.com/jqgrid/jqgrid.html

 Just now I will work hard on documentation.
 Enjoy
 Tony



  1   2   >