[jQuery] jquery plugin not loading

2009-02-16 Thread turbodurso

Hi there, i'm trying to use the cycle plugin on my wordpress site. Is
there anything i'm unaware of relating to cycle and and jQuery?

I've used the cycle plug-in quite a lot, but this is the first time i
use it within a wordpress install.

As you would, both jquery and cycle are loaded subsequently after the
css in the head of the document:

?php wp_enqueue_script('jquery'); ?
?php wp_enqueue_script('cycle','wp-content/themes/MBC/js/
jquery.cycle.all.js','jquery'); ?

I'm using wp's enqueue_script tag, i've also tried inclusing them with
script

And here is the jQuery to trigger the plug-in :

script type=text/javascript
jQuery(document).ready(function(){
jQuery(#post).cycle('fade');
});
/script

On page load nothing happens and firebug returns

jQuery(#post).cycle is not a function

My guess is that its just not loading the plug-in itself. Is there a
way to check that? Or any ideas on why this is hapening?

Here is the link to the page : http://www.mybeautifulcity.co.uk/newsite/

Thanks in advance



[jQuery] Re: jquery plugin not loading

2009-02-16 Thread turbodurso

Nope, its the definitly the plugin that's not being loaded ... Any
other ideas?

On Feb 16, 5:46 pm, ryan.joyce...@googlemail.com
ryan.joyce...@googlemail.com wrote:
 quick and dirty method to see if the .JS file was being pulled in at
 all would be to stick an alert() in the plugin.js

 if that works i'd assume there is something wrong with the way the
 function is being called.


[jQuery] Cycle and CSS

2008-12-14 Thread turbodurso

Quick layout question. My slides will not wrap inside its parent div.
I've noticed the cycle demos are nested inside tables but is it
possible to simply wrap them up inside a div?

thanks


[jQuery] Re: need help with opacity

2008-09-03 Thread turbodurso

Hey bob, you don't necessarily have to rethink your design, just use
transparent png files (tiled for background)

They can now render on all browsers (including IE 5 +) with this
little fix :

http://www.twinhelix.com/css/iepngfix/

Also, this dwld is quite handy for transparent backgrounds:

http://css-tricks.com/examples/TranspFills.zip

india



[jQuery] [validate] Help with code logic!

2008-09-02 Thread turbodurso

Hello there,

I just need to be cleared up on a few points when using the validation
plug-in -

When i use the basic function : $(#myform).validate(); it work fine
for required and email fields. But as soon as i try to customise with
rules: or try combining the basic function with another one making a
specific field required depending if a checkbox is checked or not 
nothing works anymore!

What is the exact syntax for mixing them all together?

I hope i am clear ...

thanks for any help its urgently need!





[jQuery] Re: [validate] Help with code logic!

2008-09-02 Thread turbodurso

Thanks for having a look - i followed those demos those demos and been
through the docs - still my form isnt validating or erroring ...

The details are the following (this is all i have in the head section)
- what am i missing???

script
$(document).ready(function() {
$(#um-form).validate({
rules: {
f-name: required,
f-lastname: required,
f-address: required,
f-city: required,
f-postcode: required,
f-country: required,
mail-contact {
required: #f-mail:checked
email: true
},
tel-contact {
required: f-tel:checked
},
mob-contact {
required: f-mob:checked
},
},
messages: {
f-name: [required],
f-lastname: [required],
f-address: [required],
f-city: [required],
f-postcode: [required],
f-country: [required],
}
});
});
/script