Modify this code to work correctly

Go down

Solved Modify this code to work correctly

Post by hamesashek on March 10th 2018, 11:17 pm

Correct this code

I have to work for this code but make sure it is formatted
Whether it is on standby or there are errors



Code:

$(function(){
  $('body').append($('<div class="ripple">'
 .css({
   object.style.display="none"
  ));
  $('.iple')'</div>';;
});
    



Last edited by hamesashek on March 12th 2018, 11:53 am; edited 1 time in total
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by Luffy on March 10th 2018, 11:22 pm

Hello, what will this code do?
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Modify this code to work correctly

Post by SSYT on March 11th 2018, 9:32 am

Code:
$(function(){
  $('body').append($('<div class="ripple" />').css({
      this.style.display = "none"
  ));
});
avatar
SSYT
Forumember

Male Posts : 73
Reputation : 15
Language : RO-10, EN-3, FR-1
Location : Romania

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 10:12 am

@Luffy wrote:Hello, what will this code do?

J'ai un travail à faire dans le Tumblite mais j'ai besoin de faire ce code correctement
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 10:27 am

Apollo 2.0 wrote:
Code:
$(function(){
  $('body').append($('<div class="ripple" />').css({
      this.style.display = "none"
  ));
});
I want a class to have a class inside the tumblite
I mean, I want to control the first course by hiding it, but inside it's the next course in the tumblite
Example
Code:

 <body> 
 <div class="ripple">
  class="progress-count"
  </div>

Another example was JavaScript
Code:

  $(function(){
  $('body').append($('<div class="ripple">').css({
      this.style.display = "none"
  else $('#bbcodejsfiddle').hide();
 '</div>')
  ));
});
 

Sorry for the language


Last edited by hamesashek on March 11th 2018, 1:03 pm; edited 1 time in total
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by Luffy on March 11th 2018, 12:45 pm

Please speak in English, as this is an English support forum.
Please read our forum rules: ESF General Rules

Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
Please read our forum rules: ESF General Rules
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Modify this code to work correctly

Post by SLGray on March 11th 2018, 7:27 pm

What is a tumblite?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43668
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Modify this code to work correctly

Post by SSYT on March 11th 2018, 7:50 pm

Code:
$(function(){
  $('body').append($('<div class="ripple" />').attr('class', 'progress-count').css({
      this.style.display = "none"
  ));

  if(document.querySelector('.ripple')) $('#bbcodejsfiddle').hide();
});
avatar
SSYT
Forumember

Male Posts : 73
Reputation : 15
Language : RO-10, EN-3, FR-1
Location : Romania

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Modify this code to work correctly

Post by SLGray on March 11th 2018, 8:19 pm

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Please read our forum rules:  ESF General Rules


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43668
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 8:21 pm

It does not work. The lock must be placed at the bottom to work
No one can do it please close the topic
thank you all
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 8:24 pm

@SLGray wrote:What is a tumblite?
I have a task to do in the templates but I need to do this code correctly
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by Luffy on March 11th 2018, 9:33 pm

@hamesashek wrote:
It does not work. The lock must be placed at the bottom to work
No one can do it please close the topic
thank you all

Can you please explain more or at least show us some images of what you are trying to do? I am guessing no one knows what you are wanting besides you. Please give us some more information about your issue.. Thanks.
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 10:36 pm

I want to make Class "hide-mobile-wdbloog" in concealment to hide Klaas "search-box"

avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by Luffy on March 11th 2018, 10:52 pm

So you are trying to wrap the body around the div in order to make it smaller while on mobile devices? With the new div class?
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 11th 2018, 11:12 pm

Well done
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by Luffy on March 11th 2018, 11:25 pm

I hope this is what you're trying to do. Based on the image you added you want to wrap search box with this div and hide it..
Try adding this as your Javascript:
Code:
$(document).ready(function() {
  $('.search-box').wrap('<div class="ripple" />');
  $('.ripple').css('display','none');
});
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Modify this code to work correctly

Post by hamesashek on March 12th 2018, 12:34 am

Great job thank you
Your solution was done
avatar
hamesashek
Forumember

Male Posts : 111
Reputation : 1
Language : hamesashek

http://bestk.forumegypt.net

Back to top Go down

Solved Re: Modify this code to work correctly

Post by SLGray on March 12th 2018, 1:25 am

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Please read our forum rules:  ESF General Rules


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43668
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Modify this code to work correctly

Post by APE on March 14th 2018, 10:42 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules



avatar
APE
Administrator
Administrator

Male Posts : 12464
Reputation : 1305
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum