Ah yes, i did have a look at the interface plugin. Very nice stuff. I hear
that there going to be implimented into qjuery? so there will be no need for
the 2 files? is this true?
thanks again :)
John Resig wrote:
Also 2 more thing. could i put this into a new .js file and link it in
the
No, i think it is going to stay as a plugin. You can move the contents of the interface.js file into your jquery file, and that would do the same thing.On 9/10/06,
kevdotbadger [EMAIL PROTECTED] wrote:
Ah yes, i did have a look at the interface plugin. Very nice stuff. I hearthat there going to
It dont work sorry!
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 TRANSITIONAL//EN
html
head
title/title
script type=text/javascript
src=jquery-latest.pack.js/script
script type=text/javascript
On Sep 9, 2006, at 7:27 AM, kevdotbadger wrote:
It dont work sorry!
any ideas? Also whats the deal with 'javascript:void(0)'? whast
that do?
Hi, there are a couple things you can do to make this work.
1. wrap your jquery code in $(document).ready(
2. add return false; to your click
Ah i see! I get you now! and its perfect! just what i want! and only 10
lines! WOW! Thank for all the help! you've made my day! AND you guys are so
nice to a noob around here! ususally if i post a simple question like this
and start telling you that you got the point of the topic wrong i get my
Also 2 more thing. could i put this into a new .js file and link it in the
header and it will still work?
Yes! As long as its after the jquery.js file, like you did before.
and what other 'fxs' can i have? Iv
experimented with the hide() and show() ones.
jQuery comes with hide/show,
im quite new to juery but iv managed to setup some of the plugs to work
nicely on my pages (tabs and thickbox)
im just wounder how i would do this:
have div (hidden at first) but then slide down when a link is pressed? and
within the div have anotther link to hide it?
i know it wont be too
haha john, your getting a little too complicated here, he just needs slideup, slidedown, no ajax requests involved ;)This should work kenton:in your head:script$('#showCommentBox').click(function() {
$('#addcomment:hidden').slideDown();});$('#hideCommentBox').click(function()
I'm using nabble for my post. I would seem somethings are not posting where
John Resig wrote:
That is correct and the $(function is shorthand. and the [ is require and
the
function will not work with out it.
oops by bad!!! I guess I need to review the docs agian.
$.ajax(post,