{"id":574,"date":"2014-03-20T13:48:06","date_gmt":"2014-03-20T11:48:06","guid":{"rendered":"http:\/\/www.gencnesil.org\/?p=574"},"modified":"2014-03-20T14:41:55","modified_gmt":"2014-03-20T12:41:55","slug":"jquery-ile-css-classi-degistirmek","status":"publish","type":"post","link":"https:\/\/gncz.net\/index.php\/jquery-ile-css-classi-degistirmek.html","title":{"rendered":"Jquery ile css class&#8217;\u0131 de\u011fi\u015ftirmek"},"content":{"rendered":"<p>Jquery ile bir dive ait class i degi\u015fmek i\u00e7in a\u015fag\u0131daki kaynaktan yararlanabilirsiniz.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">&lt;div id=\"manunav\"&gt;&lt;ul&gt;\r\n&lt;li&gt;&lt;a class=\"active\" href=\"#\"&gt;&lt;span&gt;Anasayfa&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a class=\"\" href=\"#\"&gt;&lt;span&gt;Di\u011fer&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a class=\"\" href=\"#\"&gt;&lt;span&gt;\u0130leti\u015fim&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;&lt;div&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>bu clas\u0131 bu jquery ile degi\u015ftirebilirsiniz.<\/p>\n<pre class=\"lang:default decode:true\">$(\"#manunav a\").click(function(){\r\n$(\"#manunav a.normal\").removeClass(\"secili\");\r\n$(this).toggleClass(\"secili\");\r\n});<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jquery ile bir dive ait class i degi\u015fmek i\u00e7in a\u015fag\u0131daki kaynaktan yararlanabilirsiniz. &nbsp; &lt;div id=&#8221;manunav&#8221;&gt;&lt;ul&gt; &lt;li&gt;&lt;a class=&#8221;active&#8221; href=&#8221;#&#8221;&gt;&lt;span&gt;Anasayfa&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt; &lt;li&gt;&lt;a class=&#8221;&#8221; href=&#8221;#&#8221;&gt;&lt;span&gt;Di\u011fer&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt; &lt;li&gt;&lt;a class=&#8221;&#8221; href=&#8221;#&#8221;&gt;&lt;span&gt;\u0130leti\u015fim&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt; &lt;\/ul&gt;&lt;div&gt; &nbsp; bu clas\u0131 bu jquery ile degi\u015ftirebilirsiniz. $(&#8220;#manunav a&#8221;).click(function(){ $(&#8220;#manunav a.normal&#8221;).removeClass(&#8220;secili&#8221;); $(this).toggleClass(&#8220;secili&#8221;); }); &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":769,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/posts\/574"}],"collection":[{"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/comments?post=574"}],"version-history":[{"count":4,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/posts\/574\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/posts\/574\/revisions\/774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/media\/769"}],"wp:attachment":[{"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/media?parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/categories?post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gncz.net\/index.php\/wp-json\/wp\/v2\/tags?post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}