Homepage › Forum › Product Support › Canifa › Javascript WordPress 4.5
This topic is: resolved
- This topic has 26 replies, 3 voices, and was last updated 8 years, 6 months ago by tinhbeng.
-
AuthorPosts
-
8 years, 6 months ago #2822
AnonymousInactiveTopics: 16
Posts: 133Hey,
I found out, that theres a problem between the Canifa Theme and WordPress 4.5 (i guess). According to a german blogger the problem appears on about 20 % of all Themes.
It has something to do with this ( First line "Vorher"= Before, with javascript problems;
Second line "Nacher"= After, no more javascript problems):
<tbody style="font-variant: inherit; font-stretch: inherit; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; margin: 0px !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; direction: ltr !important; background: none !important;">
// Vorher
</tbody>
<tbody style="font-variant: inherit; font-stretch: inherit; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; margin: 0px !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; direction: ltr !important; background: none !important;">
$(
'a[href*=#]:not([href=#])'
).click(
function
() {
// ...
</tbody>
<tbody style="font-variant: inherit; font-stretch: inherit; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; margin: 0px !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; direction: ltr !important; background: none !important;">
// Nachher
</tbody>
<tbody style="font-variant: inherit; font-stretch: inherit; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; margin: 0px !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; direction: ltr !important; background: none !important;">
$(
'a[href*="#"]:not([href="#"])'
).click(
function
() {
// ...
</tbody>
May 7, 2016 at 2:47 am #2823You must have valid license to access this content.May 10, 2016 at 8:24 am #2841You must have valid license to access this content.May 10, 2016 at 8:27 am #2842You must have valid license to access this content.May 10, 2016 at 8:28 am #2843You must have valid license to access this content.May 10, 2016 at 8:32 am #2844You must have valid license to access this content.May 10, 2016 at 8:34 am #2845You must have valid license to access this content.May 10, 2016 at 9:17 am #2848You must have valid license to access this content.May 10, 2016 at 9:23 am #2850You must have valid license to access this content.May 10, 2016 at 9:28 am #2851You must have valid license to access this content.May 10, 2016 at 9:39 am #2854You must have valid license to access this content.May 10, 2016 at 10:12 am #2856You must have valid license to access this content.May 10, 2016 at 5:32 pm #2869You must have valid license to access this content.May 11, 2016 at 4:58 pm #2883You must have valid license to access this content.May 12, 2016 at 2:50 am #2892You must have valid license to access this content. -
AuthorPosts
You must be logged in and have valid license to reply to this topic.