|
all links work in firefox but only a few work in IE
01-28-2006, 07:42 PM
|
all links work in firefox but only a few work in IE
|
Posts: 2
|
Here's the problem site
I have links to open up new windows to display photo albums for my gf's photography website. I assumed I had everything straight until my IE friends said half of the links weren't working. I have no idea why. Looking at the html it seems identical. All the links work fine in Firefox but only a handfull in IE. The pictures on the homepage are each supposed to open an album and each listing on the album page is supposed to open an album. Anyway here's the script for the homepage. The image labeled "IMG_5504.jpg" is the first link that is giving me trouble.
Quote:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Izzaiah Photography</title>
<base target="_self">
<meta name="Microsoft Theme" content="none">
</head>
<body bgcolor="#000000">
<p> </p>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="484" id="AutoNumber1">
<tr>
<td width="280"><A HREF="javascript:void(0)"onclick="window.open('alb um4/concert.html','Random Concert Photos','height=635, width=820,scrollbars=yes')">
<img border="0" src="IMG_5504.jpg" width="250" height="180"></td>
<td width="204" rowspan="3"><A HREF="javascript:void(0)"onclick="window.open('alb um7/journalism.html','Rodeo','height=635, width=820,scrollbars=yes')"><img border="0" src="Images/gayparade.jpg" width="187" height="280"></td>
</tr>
<tr>
<td width="280"> </td>
</tr>
<tr>
<td width="280"><A HREF="javascript:void(0)"onclick="window.open('alb um5/equine.html','Rodeo','height=635, width=820,scrollbars=yes')"><img border="0" src="Images/Dark_horse_by_Izzaiah.jpg" width="250" height="180"></td>
</tr>
</table>
</body>
</html>
|
Last edited by cevatt; 01-28-2006 at 07:44 PM..
|
|
|
|
01-28-2006, 09:12 PM
|
|
Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
|
The only one that wasn't working for me on the home page in IE was the concert photos link which is the image you mentioned. The other two seemed to work.
In that link only you've given the window a name of 'Random Concert Photos' I'm not sure if you can have spaces there.
I'm also noticing that none of the links have a closing </a> tag. You should have one right after the <img> tag and before the </td> for each.
One of those might be causing the problem.
Your link above the the album page wasn't working for me so I wasn't able to look at the images there.
Last edited by vangogh; 01-28-2006 at 09:14 PM..
|
|
|
|
01-28-2006, 09:20 PM
|
|
Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
|
Just got to your albums page through the navigation on your site and it looks like it is the 'name' in the javascript. I think wherever you have a space in there for the name of the window in the window.open code it's not working.
Just out of curiousity I noticed your using frames on your site. Is there a reason why? Frames aren't such a great idea for a variety of reasons. If you're using them just to make updating the menu easier there are better ways to acomplish the same thing.
You can certainly use them and I don't want to tell you not to, but they can be problematic for things like search engines.
|
|
|
|
01-28-2006, 09:25 PM
|
|
Posts: 284
|
Quote:
|
Originally Posted by vangogh
In that link only you've given the window a name of 'Random Concert Photos' I'm not sure if you can have spaces there.
I'm also noticing that none of the links have a closing </a> tag. You should have one right after the <img> tag and before the </td> for each.
One of those might be causing the problem.
|
You are right. The spaces in the second parameter cause the problem. Although the missing closing tags arent necessarily making it better either.
__________________
• Please login or register to view this content. Registration is FREE - The world at your fingertips
• Share your city with the world
-- Please login or register to view this content. Registration is FREE
|
|
|
|
01-28-2006, 10:07 PM
|
|
Posts: 2
|
thanks guys. i'm totally new to this and quickly learned about the frames issue after i'd almost completely made the site. i went ahead and published as it was but i'm in the process of using tables to accomplish the same thing which i should have done long ago. 1st time attempting anything java so i had no idea about the spaces. somebody gave me the code and i just copied it. thanks again for the quick reply
|
|
|
|
01-29-2006, 12:03 AM
|
|
Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
|
Glad we could help cevatt. I think for someone new to this you build a pretty good site. You've followed a few very simpe rules of thumb in keeping your pages and navigation consistent. It's amazing how many sites change looks from one page to another.
You may still be learning and I know there's quite a bit to learn, but you're off to a good start. Feel free to ask questions anytime you're having issues with something.
|
|
|
|
02-23-2006, 05:12 PM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 8
Location: UK
|
Hi,
I have a similar problem with redirecting the error page to my index page. I have put the following redirection code on my "404 error page" & it works fine on firefox & not in IE.
The code is given below:-
<html><head>
<title>UK Crawler - UK Search Engine</title>
<meta http-equiv="refresh" content="2; url=http://www.ukcrawler.co.uk">
</head><body>
<h1>UK Crawler - UK Search Engine</h1>
<p>Please wait while we are redirecting...
</body></html>
If any of you can provide me with help & advice, would be much appreciated.
Thanks a lot.
|
|
|
|
02-23-2006, 05:31 PM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 284
|
Quote:
|
Originally Posted by ukcrawler
Hi,
I have a similar problem with redirecting the error page to my index page. I have put the following redirection code on my "404 error page" & it works fine on firefox & not in IE.
The code is given below:-
<html><head>
<title>UK Crawler - UK Search Engine</title>
<meta http-equiv="refresh" content="2; url=http://www.ukcrawler.co.uk">
</head><body>
<h1>UK Crawler - UK Search Engine</h1>
<p>Please wait while we are redirecting...
</body></html>
If any of you can provide me with help & advice, would be much appreciated.
Thanks a lot.
|
It does work for me.
It would have been better to open your own thread by the way.
__________________
• Please login or register to view this content. Registration is FREE - The world at your fingertips
• Share your city with the world
-- Please login or register to view this content. Registration is FREE
|
|
|
|
02-23-2006, 06:59 PM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 284
|
The redirect is working fine for all URLs with IE6.
__________________
• Please login or register to view this content. Registration is FREE - The world at your fingertips
• Share your city with the world
-- Please login or register to view this content. Registration is FREE
|
|
|
|
02-23-2006, 08:00 PM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 8
Location: UK
|
Hi,
I am afraid, nothing works for me.  I am using IE 6.0.29
What is going on here?
Can anyone suggest any other alternative scripts at all? 
__________________
Warm Regards,
Mark,
Please login or register to view this content. Registration is FREE
|
|
|
|
02-23-2006, 08:38 PM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
|
The redirecting didn't work for me in IE, but when I copied the code to my computer and ran the page locally it worked fine. I'm not really sure why. The code itself looks fine to me.
|
|
|
|
02-24-2006, 09:11 AM
|
Re: all links work in firefox but only a few work in IE
|
Posts: 8
Location: UK
|
Hi,
Thanks for all your feedback. Anyway, I can't do nothing much about it. but, it works on the Mac OSX IE5. Interesting? 
__________________
Warm Regards,
Mark,
Please login or register to view this content. Registration is FREE
|
|
|
|
|
« Reply to all links work in firefox but only a few work in IE
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|