Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
all links work in firefox but only a few work in IE
Old 01-28-2006, 07:42 PM all links work in firefox but only a few work in IE
Junior Talker

Posts: 2
Trades: 0
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>&nbsp;</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">&nbsp;</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..
cevatt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-28-2006, 09:12 PM
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by vangogh; 01-28-2006 at 09:14 PM..
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 01-28-2006, 09:20 PM
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 01-28-2006, 09:25 PM
neroux's Avatar
Ultra Talker

Posts: 284
Trades: 0
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
neroux is offline
Reply With Quote
View Public Profile
 
Old 01-28-2006, 10:07 PM
Junior Talker

Posts: 2
Trades: 0
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
cevatt is offline
Reply With Quote
View Public Profile
 
Old 01-29-2006, 12:03 AM
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-23-2006, 05:12 PM Re: all links work in firefox but only a few work in IE
Novice Talker

Posts: 8
Location: UK
Trades: 0
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.
ukcrawler is offline
Reply With Quote
View Public Profile Visit ukcrawler's homepage!
 
Old 02-23-2006, 05:31 PM Re: all links work in firefox but only a few work in IE
neroux's Avatar
Ultra Talker

Posts: 284
Trades: 0
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
neroux is offline
Reply With Quote
View Public Profile
 
Old 02-23-2006, 06:28 PM Re: all links work in firefox but only a few work in IE
Novice Talker

Posts: 8
Location: UK
Trades: 0
Hi neroux & others,

Can you tell me whether the following urls works on IE or not please?

http://www.ukcrawler.co.uk/cgi-bin/add.cgi?ID=3805

http://www.ukcrawler.co.uk/123testing

http://www.ukcrawler.co.uk/Cool

http://www.ukcrawler.co.uk/anything

etc etc

The above urls should be redirecting to

http://www.ukcrawler.co.uk

This works on firefox & not in IE. Any suggestions?

Thanks again
__________________
Warm Regards,
Mark,

Please login or register to view this content. Registration is FREE
ukcrawler is offline
Reply With Quote
View Public Profile Visit ukcrawler's homepage!
 
Old 02-23-2006, 06:59 PM Re: all links work in firefox but only a few work in IE
neroux's Avatar
Ultra Talker

Posts: 284
Trades: 0
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
neroux is offline
Reply With Quote
View Public Profile
 
Old 02-23-2006, 08:00 PM Re: all links work in firefox but only a few work in IE
Novice Talker

Posts: 8
Location: UK
Trades: 0
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
ukcrawler is offline
Reply With Quote
View Public Profile Visit ukcrawler's homepage!
 
Old 02-23-2006, 08:38 PM Re: all links work in firefox but only a few work in IE
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-24-2006, 09:11 AM Re: all links work in firefox but only a few work in IE
Novice Talker

Posts: 8
Location: UK
Trades: 0
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
ukcrawler is offline
Reply With Quote
View Public Profile Visit ukcrawler's homepage!
 
Reply     « Reply to all links work in firefox but only a few work in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54602 seconds with 12 queries