this one line of script is a killer of asp.net session on ie 7, 8, and 9 browsers (maybe ie6, i didn't test it):
$(document).ready(function() {
// for remembering the selected tabs
$("div[id*='tabs']").tabs({ cookie: { expires: 999, name: this.id }, cache: false, collapsible: true });
}
script'i 2 parça halinde yazmak buna neden oluyor.
// // for remembering the selected tabs
// $("div[id*='tabs']").tabs({ cookie: { expires: 999, name: this.id }, cache: false, collapsible: true });
// fade effect
$("div[id*='tabs']").tabs({
fx: {
opacity: 'toggle',
duration: 'fast'
},
cookie: { expires: 999, name: this.id }, cache: false, collapsible: true
});
session killer script
Etiketler: javascript , jquery , session
fixed bottom bar (facebook style) with jquery
Etiketler: fixed bottom bar , jquery
jquery ui tabs sayfa yüklenirken dağılma sorunu
sayfanın tamamı yüklenmeden önce, yani document.ready sırasında çalışacak ve tab'ları düzenleyecek tabs metodu çalışmadan önce, tab'lar açık görünüyor. bunun önüne geçmek için kullanılabilecek bir yol; tab içeriğini gizlemek, sayfa yüklendikten sonra göstermek:
$("div[id*='tabs']").tabs({
fx: {
opacity: 'toggle',
duration: 'fast'
}
});
$(document).ready(function() {
document.getElementById('toptab').style.display = 'block';
}
http://stackoverflow.com/questions/1069758/should-jquery-tabs-be-inside-document-ready
Etiketler: jquery , jquery tab , jquery ui tabs
jquery autocomplete turkish character problem
sonuçların listelendiği sayfaya aşağıdaki meta tag'i ekle:
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9"
Etiketler: autocomplete , jquery
jquery reference problem
Etiketler: jquery , js , reference , scriptreference
add timer to jquery coda slider
add this code row to coda-slider.js file:
var cycleTimer = setInterval(function (){$scroll.trigger('next')}, 5000);
Etiketler: jquery , jquery slider
conflict between asp.net scriptmanager with jquery
solution links :
http://encosia.com/2009/03/25/document-ready-and-pageload-are-not-the-same/
http://api.jquery.com/live/
http://encosia.com/2008/09/28/avoid-this-tricky-conflict-between-aspnet-ajax-and-jquery/
Etiketler: conflict , jquery , SCRIPTMANAGER
jquery autocomplete cache problem
You have to make a little changes in autocomplete.js.
Search for "*if (data && data.length*)" condition which is inside "request"
function. Add this code before the *if * condition
if(data)
data.length=0;
http://www.mail-archive.com/jquery-en@googlegroups.com/msg80627.html
Etiketler: autocomplete , jquery
related jquery autocomplete controls
Etiketler: autocomplete , jquery
Making sure Lightbox still works in Ajax UpdatePanel
I recently updated the homepage portfolio section with an Ajax filtering dropdown, allowing readers to filter my portfolio with different technologies and themes. However, that caused my old lightbox effect to lose ground somehow. After days of debugging, I found a way to deal with it, that is I had to manually reinstantiate the lightbox object on page load (clientside), because whenever Ajax fires up a postback, it wipes of the Lightbox entity that was created.
<script type="text/javascript">
function pageLoad() {
$('#gallery a.image-thumb').lightBox({ fixedNavigation: true });
}
script>yani:
script type="text/javascript"
$(document).ready(function() {
$("a[rel='example1']").colorbox();
});
/script
ek olarak;
script type="text/javascript"
function pageLoad() {
$("a[rel='example1']").colorbox();
}
/script
yazmak gerekecek.
http://www.alectang.com/Blog/Archive/2009/09/17/Making-sure-Lightbox-still-works-in-Ajax-UpdatePanel-53.aspx
http://stackoverflow.com/questions/520645/jquery-datepicker-ms-ajax-updatepanel-doesnt-work-after-post-back
http://www.mail-archive.com/jquery-en@googlegroups.com/msg37808.html
Etiketler: jquery , update panel
colorbox jquery çakışması
adım 1:
script type="text/javascript"
$j = jQuery.noConflict();
script
adım 2:
$j("a[rel='example1']").colorbox();
http://www.cemkefeli.com/post/2009/10/12/ColorBox-kullananlar-icin-jQuery-cakismasinin-cozumu.aspx
not: şu anki projede çalışmadı! (script.js dosyası kullanan jquery tab bulunuyor projede ve colorbox'ın ve autocomplete'in çalışmasını önlüyor)
jquery - asp.net autocomplete
- <script type="text/javascript">
- $(document).ready(function() {
- $("input#<%=txtKelime.ClientID %>").autocomplete('Ara.aspx').result(function(event, item) {
- $("#<%=txtGizliAlan.ClientID %>").val(item.toString().split(",")[1]);
- });
- });
- script>
- <form runat="server" id="form1">
- <asp:textbox id="txtKelime" runat="server">
- <asp:textbox id="txtGizliAlan" runat="server" style="display:none">
- asp:textbox>asp:textbox>form>
Etiketler: autocomplete , jquery
