[jQuery] Re: Is there a way to hide the script

2008-01-21 Thread DeaR
I've tried already putting all the scripts in a file, and imported it into the html file like and it didn't work as supposed to.. Fabien Meghazi-2 wrote: > > >> If I make a long jQuery script, and when the webpage is loaded, when we >> look >> at the source code, then everyone will be able t

[jQuery] Is there a way to hide the script

2008-01-21 Thread DeaR
If I make a long jQuery script, and when the webpage is loaded, when we look at the source code, then everyone will be able to see the jQuery script. Are there any ways to get this hidden. I wanna hide these scripts for SEO reason as well... Thank you very much -- View this message in context:

[jQuery] Re: How can I switch elements by fades?

2008-01-16 Thread DeaR
gt; > Glen > > On Jan 14, 2008 10:22 PM, DeaR <[EMAIL PROTECTED]> wrote: > >> >> >> $(function() { >> >> $("#message_1").clone().removeClass("hidden").appendTo($("#message")); >>$("span.text1").

[jQuery] How can I switch elements by fades?

2008-01-15 Thread DeaR
$(function() { $("#message_1").clone().removeClass("hidden").appendTo($("#message")); $("span.text1").click(function() { $("#message").empty().html($("#message_1").clone().fadeIn("normal")); return false; }); $("span.text2").click(f

[jQuery] Re: Can you please check why it's not working?

2008-01-13 Thread DeaR
for the appearing one to be faded out first, then the newly clicked one appears afterwards. How can I do it? Thank you very much again, this is a very useful forum DeaR PS. If there are some other ways that work in the way that I want and better than mine, please do suggest me...Thank you Mi

[jQuery] Can you please check why it's not working?

2008-01-12 Thread DeaR
nse").html(data).fadeTo("slow", 0.7) setTimeout("disappear()", 3000) }) }) }) Now then, it works fine. Can you tell me why it's not working in the uppermost one. cuz I want to put everything in one script file, and not to show any script in the html

[jQuery] How come when I put everything in like this, it will not be working?

2008-01-04 Thread DeaR
$.post("send-mail.php",str,function(data) { $("#response").html(data).fadeTo("slow", 0.7) setTimeout("disappear()", 3000) }) }) }) Now then, it works fine. Can you tell me why it's not working in the uppermost one. cuz I want to put everything in one script file, and not to show any script in the html file. Thank you very much for any responses, really appreciate your time. DeaR

[jQuery] Why is it not working?

2008-01-04 Thread DeaR
var str = $("#input_form").serialize() $.post("send-mail.php",str,function(data) { $("#response").html(data).fadeTo("slow", 0.7) setTimeout("disappear()", 3000) }) }) }) Now then, it works fine. Can you tell me why it's not working in the uppermost one. cuz I want to put everything in one script file, and not to show any script in the html file. Thank you very much for any responses, really appreciate your time. DeaR