Click to See Complete Forum and Search --> : al links redirect to homepage
sniper
11-16-2005, 10:34 AM
For some reason all my links are redirecting to my homepage. I tried rearranging this line in many different ways and can't figure it out. Here it is:
<td ><%Trim(fctGetText("ECARDS"))%><a href="<%=strURLLink +"/eCards/eCards.asp"%>"><b><font face="arial">E-Cards</font></b></a></td>
Thanks for your help!
Giskard
11-16-2005, 10:53 AM
Try bringing up the page and viewing source. What does the line look like when sent to the browser?
sniper
11-16-2005, 11:20 AM
I checked the source and it looks good. Here's what it looks like in the source:
<td ><b><font face="arial"><a href="http://jaws.seasonsboutique.ca/eCards/eCards.asp">E-Cards</a></font></b></td>
The thing I don't get is that when I do this in javascript everything works fine. But I have to get rid of all javascript bcaus ethe project I'm working on, they want no javascript what-so-ever. So I'm stuck doing my entire internship changing other peoples code from javascript to asp. Here's another link but with javascript:
<td ><%UCASE(Trim(fctGetText("Search")))%><a href="javascript:RedirectURL('<%=strURLLink%>/OnLineCatalog/CatSearchEngine.asp')" target="_self"><b><font face="arial">Awards</font></b></a></td>
and how it looks in the source:
<td ><a href="javascript:RedirectURL('http://jaws.seasonsboutique.ca/OnLineCatalog/CatSearchEngine.asp')" target="_self"><b><font face="arial">Awards</font></b></a></td>
Maybe I missed something.
Giskard
11-16-2005, 11:32 AM
have you tried other browsers? maybe there is something weird with the one your using. The source looks like it should link you correctly.
sniper
11-16-2005, 11:36 AM
I only have ie on this machine.
Giskard
11-16-2005, 11:58 AM
can you post more code?
sniper
11-16-2005, 01:00 PM
There's no code to post. That line comes from a file that is included in the page. All that file is, is a table with links. Kind of like a menu.
buntine
11-16-2005, 08:25 PM
So the problem may well lie on the eCards.asp page. Mayby it looks for a condition and redirects the user to homepage.
Regards.