Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Links not working in IE (http://forum.bytesforall.com/showthread.php?t=5476)

rocoach1 Jan 24, 2010 10:11 AM

[SOLVED] Links not working in IE
 
What am I doing wrong? My links work fine in firefox and chrome, but do not work in Internet Explorer. Please help!

http://athletesbooks.com/rowing/row-in-college/

juggledad Jan 24, 2010 12:25 PM

What version of atahualpa and WP?
What link doesn't work?

rocoach1 Jan 24, 2010 05:49 PM

I'm using Atahualpa 3.4.1 and wordpress-2.9.1

The links that do not work in IE are all the button-type links in the text body.

Thanks...

lmilesw Jan 24, 2010 08:01 PM

First of all it looks like you may have cut from a Word document and pasted into WordPress as there is a lot of extra code going on. Aside from that though the code you use for your button.
HTML Code:

<a target="_blank" href="http://ezinearticles.com/?Row-in-College---Getting-Started&amp;id=3263337"><br />
<input type="button" name="" value="Row in College - Getting Started" /></a>

I believe should be more like the following which is also simpler
HTML Code:

<button onclick="window.open ('http://ezinearticles.com/?Row-in-College---Getting-Started&id=3263337')">Row in College - Getting Started</button>
I think the input type=button requires a <form> tag wrapper. I found this information originally here. I hope it helps.

juggledad Jan 25, 2010 04:38 AM

Larry's right and it looks like this info was created in Word and cut/pasteed here - that tends to cause issues with WordPress

You have several non-printable characters in the text as well (what look like spaces before and after the word eBook? in the line 'What’s inside this eBook? ' are not blanks, but nonprintable characters - this to can cause issues - spically in IE whicvh is extremely 'finicky' where most of the other broswers are more forgiving.

When copying text from a WORD doc, when pasting it into a post, if you are using the visual editor, use the 'Paste from Word' button (one of the icons above the post content area)

rocoach1 Jan 25, 2010 01:38 PM

Thanks Larry and Juggledad for your advice. I'm working through the links using the fixes you suggested, and they seem to do the job.

You are correct. I wrote the original document in OpenOffice and pasted it directly into the Source box without using the Paste From Word function - which I will be sure to do from now on!

Once again, thank you for your help!

lmilesw Jan 25, 2010 01:53 PM

You can also go to the HTML editor and paste for OO in there. In that case you get the paragraph breaks but no formatting which is my favorite way of working. Did the button code work for you rocoach1?

rocoach1 Jan 25, 2010 02:10 PM

Yep. Just finished testing and all the buttons seem to be working now. Now I wonder if I should go back and re-do the whole page using the editor as you've suggested.

Again, thanks for your help. Invaluable!

lmilesw Jan 25, 2010 07:21 PM

I would go through it as you have some places with multiple blank paragraphs. You could just go to the visual editor and copy the text from there (don't select the buttons) and then past using the paste as text function. So it would be
  • Highlight a block of text
  • Hit Ctrl+C to copy
  • Paste over the highlighted text with the past as text button.
Do that for all blocks of text and it should clean things up quite a bit.


All times are GMT -6. The time now is 04:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.