WordPress.org

Forums

[resolved] text widget in IE and Firefox (10 posts)

  1. markovacs
    Member
    Posted 5 years ago #

    Hi,

    I have just launched my site and discovered that the text widget I have my follow me (twitter, facebook and RSS) links in is working just fine in FF but not even shing in IE.
    I tried to search the forum on this but I havent seen any related topics.

    I would be glad if someone could point me in the right direction.

    What could be so different that one is showing everything fine the other is not even picking up the links or the pictures or anything at all.

    Please check: fittmamablog.hu top right hand side below the menubar.

    Thanks,

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    <a href="http://fittmamablog.hu/index.php/feed" target="_blank"
    <a href="http://twitter.com/fittmamablog" target="_blank"

    well...here's some issues. These lines of code from your text widget have no closing brackets....

  3. markovacs
    Member
    Posted 5 years ago #

    Hi RVoodoo,

    Yes you are right, but should it not be at the end of the section like:

    <a href="http://twitter.com/fittmamablog" target="_blank"
    <img class="size-full wp-image-633" src="http://fittmamablog.hu/wp-content//twitter_logo.png" alt="twitterlogo" width="40" height="40" /></a>

    I am really not sure just asking.
    Now I have put the closings at the end like above to all three but still not showing.

    Any other ideas?

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    <a href="http://twitter.com/fittmamablog" target="_blank">
    <img class="size-full wp-image-633" src="http://fittmamablog.hu/wp-content//twitter_logo.png" alt="twitterlogo" width="40" height="40" /></a>

    I've added in the bracket here. You need brackets to enclose the opening tag, the a href and then you need the closing tag... </a>

  5. markovacs
    Member
    Posted 5 years ago #

    Here is the full code.
    If somebody could also explain, what the "wp-image-633" means in this code? Could that be the problem that all three are the same number?

    <p style="text-align: center;margin: 2px"><a href="http://twitter.com/fittmamablog" target="_blank"
    <img class="size-full wp-image-633" src="http://fittmamablog.hu/wp-content//twitter_logo.png" alt="twitterlogo" width="40" height="40" /></a><a href="http://www.facebook.com/pages/Fittmamablog/268389494308" target="_blank" <img class="size-full wp-image-633" src="http://fittmamablog.hu/wp-content//facebook-logo.png" alt="facebooklogo" width="40" height="40" /></a><a href="http://fittmamablog.hu/index.php/feed" target="_blank"
    <img class="size-full wp-image-633" src="http://fittmamablog.hu/wp-content//rss_logo.gif" alt="rsslogo" width="40" height="40" /></a></p>
  6. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    nope.....that's just a class being assigned so you could work with it in css if you wanted. That block of code is still missing the brackets....

  7. markovacs
    Member
    Posted 5 years ago #

    RVoodoo,

    Thank you so much...
    I did not think that this was the problem.
    Any idea why Firefox worked without the closings?

    BIG BIG Thank you anyway.

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    firefox isn't as picky as IE....frequently websites look bad only in IE because of a simple missing </a> or just a >

    glad you got it sorted!

  9. pitchman
    Member
    Posted 4 years ago #

    I was having a problem running the Twitter List Widget on my Microsoft Internet Explorer 8 also. The widget would appear but no information inside would stream. It would work fine in FireFox or other browsers, just not in IE. The problem I found was with Twitter widget.js file that was being called from the source they provided for me to paste on my site.

    The actual .js file that is on the Twitter server has an error in it that won't allow the IE browser to display the stream. I was able to fix this rather simply. I downloaded the .js file by pasting the path in my browser:

    http://widgets.twimg.com/j/2/widget.js

    Once I had the .js file, I opened it using notepad to view the source. The change that needs to be made is simple, use the "Find" command in notepad to look for the word "array" and when it finds the entry, make the following change:

    Change the entry that says “Array.forEach” in the widget.js file to read “Array.prototype.forEach”

    By adding the word "prototype" you have now corrected their mistake. Of course you can't upload the file to their server so just place it in a directory on your site and path to it directly by changing the path in your Twitter generated source to point to the .js files new location on your website.

    I hope this helps! Have a great day!
    Brian J.
    http://www.EnjoyTheCove.com

  10. petrusfajarsubekti
    Member
    Posted 4 years ago #

    @Markovacs
    Firefox is designed to be flexible, so it will correct uncomplicated problem like lost bracket.
    Usually IE is strict, and it will not correct this problem.
    But i don't know about the latest IE.

    @pitchman
    Wow cool, you have found a solution.
    Where do you get that idea?
    I want to add twitter button into my blog., but usually i use plug-in
    Maybe now i have to tweak it on my own.
    It is fun if i can do myself.
    But i'm afraid

Topic Closed

This topic has been closed to new replies.

About this Topic