Active Members
TodayLast 7 Daysmore...


Ask Experts » Computers » Blog and websites »

I am unable to add html/javascript elements to my blog?

Date: 19 May 2012   Group: Computers    Category: Blog and websites   


I have two blogs on blogspot.com. Blogs are not that very good but I am improving them daily. Some time before I had tried new themes and template on my blog, but it didnt worked well.So I deleted that blog and started new blog. But problem is that whenever I am trying to add html/javascript element, the element is not adding in anyway. There is also no error message. I want to html.javascript elements to my blog on the sidebars. But when I tried to add them through add gadget option it is not adding. I have tried everything like refreshing page, using simple themes for blogger and also tried different html and javaScript codes but nothing is happening.
Please give detailed answer as expert.



Find Answers
Learn to add html/javascript elements to your blogs. Check out the solution given by our technology experts on problems faced while adding html or javascript elements to blogs.

Author: Sultan Mustafijul Hoque    21 May 2012      Member Level: Gold     Points : 2  (Rs 1)    Voting Score: 0

Dear member,
Which elements you tried to add? Can you quote them here so that I can check the syntax whether it is correct or not. I think you tried with some worng syntax. If you add the right syntax, it will definitely work. Always recheck your elements before adding them to your blog. Using inappropriate syntax may break your blog layout or vanish by part of your website.
Waiting for your response to help you better. Thanks.

Author: Bilal    21 May 2012      Member Level: Bronze     Points : 1    Voting Score: 0

Try changing the template of the blog.... I faced same problem before changing template fixed it. Use google chrome to get best results on all google products



Author: Vilas    21 May 2012      Member Level: Diamond     Points : 1    Voting Score: 0

You can use "HTML Edit" for your blog sure this may help to solve your problems. Or you can try the newer templates design tool by "Blogger Draft".
Author: Iti Tyagi    21 May 2012      Member Level: Diamond     Points : 2  (Rs 1)    Voting Score: 0

Kindly mention what code you tried to implement?
There is an option in the layout section from there you can add and remove gadgets from there, there on adding a gadget you get the option for the HTML/JavaScript, there you can place the required code.

Also make sure that the code is correct or not, there should be no error in that, also do not try hands at the edit HTML until you are not sure of that, it will result in errors and you may end up losing the useful blog.

Author: Sachin Rambhau Kukale    22 May 2012      Member Level: Gold     Points : 2    Voting Score: 0

Hi friends I am giving one of the code I tried to add using Add html/JavaScript element to my blog. This code worked correctly but now I am unable to add any such elements, instead I am getting the error as:
Invalid html1
error 400.
I know friends this code is correct because it worked very well before. If I submit a code here then it is displaying banner fro chitika ads and other banner here So it will be against the rules of ISC. It will be like I am promoting my own referral links through ISC, which is not allowed in ISC.
This code was working correct before some time but I don't know what happened to my blog now. Also I tried to add code from chitika but that is also not working.
Please help me regarding this. This has become very serious problem for me.

Author: Sultan Mustafijul Hoque    22 May 2012      Member Level: Gold     Points : 5  (Rs 3)    Voting Score: 0

Dear Mr. Sachin R.,
It is possible to include html code in ISC posts, just follow the below procedure-

Type " & l t ; " for the < sign and " & g t ; " for > sign. This will show your html code as plain text.
Example:
For the below html code

<a href="http://example.com">Example</a>

Type as -

& l t ;a href="http://example.com"& g t ;Example& l t ;/a& g t ;

** Remove the spaces between &, l, t, ; and &, g, t, ;

Author: Sachin Rambhau Kukale    22 May 2012      Member Level: Gold     Points : 2    Voting Score: 0



I think code is correct because I have used this code successfully before.But now I think there is problem in my blog. Please try to solv this problem in that way only.
I am using Google chrome as my default browser and I already tried by chnaging template of my blog.
But surely there is not a error in code.

Author: Sultan Mustafijul Hoque    22 May 2012      Member Level: Gold     Points : 4  (Rs 2)    Voting Score: 0

Dear Mr. Sachin R.,
You have to delete the spaces between the characters & l t ; to show < sign and & g t ; to show > sign respectively. Kindly edit and make appropriate changes to your previous reply post to remove the above images, as this is not allowed here.

It seems your html code is not correct. You have to include an anchor tag along with the image tag.

Example:

<a href="http://mGinger.com/signup.html?inviteId=6842022"><img src="http://example.com/banner.jpg" alt="Example Alt Text" /> </a>


Make sure that you have closed the anchor tag (i.e. </a> )

Can you provide your blog url? Please enclose the .zip template url too, so that I can further investigate the matter. Kindly enclose the template url in the reference field. Waiting for your reply.

Author: Imran    30 May 2012      Member Level: Silver     Points : 2  (Rs 1)    Voting Score: 0

When Editing the layout.

Add a Widget.

Then Select the HTML/JavaScript Widget .

Paste your code there.

Tell me if this worked.

Author: JOB    30 May 2012      Member Level: Bronze     Points : 1    Voting Score: 0

There are already have an option to add the html/javascript in the LAYOUT MENU.

SIMPLY PASTE YOUR CODE IN THAT BOX

Author: Soujanya    05 Jun 2012      Member Level: Gold     Points : 4  (Rs 3)    Voting Score: 0

Remember a main point while changing your template first point to be done is save the template. Though you try to do any modification you need to save your template. Whenever you get any error do not delete the blog, just sort out the problem. Because you cannot create another blog with the same title and even your traffic gets effected. Do not download any template without checking it properly. If you want to do that, first create a blog and try on it. Keep that blog only for trials of templates or changes. There are number of templates in wordpress and blogger itself. So just follow them and select the best theme. Few themes doesnt accept few html codes, so this may be a reason of not displaying. You can observe that when we change a template few added gadgets in our previous blog may not appear in the new one. As every template is designed in different way. By following these steps you may not get any error.
Answers      





Post answer or solution to "I am unable to add html/javascript elements to my blog?"

You can earn revenue online from Google AdSense and our revenue sharing programs by post valid, self written answers for the problem I am unable to add html/javascript elements to my blog?




You must Sign In to post a response.


Next Question: How to give a link in a response to a blog comment?
Previous Question: How to add the comment form in the blog?
Return to Question Index
Ask Question to Expert
Category:

 
Related Questions
Popular Tags   What are tags ?   Search Tags  
Problem in adding html/javascript elements to blog  .  How to add html/javascript element to blog  .  

Awards & Gifts
ISC Technologies, Kochi - India. Copyright © All Rights Reserved.