This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > Links that don't work correctly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Links that don't work correctly
heidiho

2004-02-27, 11:29 am

I have a problem with links that I created on my website that I can't figure
out or find the answer to. So, I'm posing to the Dreamweaver gods and hoping
that you might be able to help me fix the problem.
Here is the link to my website page that I'm having the trouble:
http://www.grosscapital.com/clients.htm
Under the Tidelands Oil & Gas Corporation logo, there's a link called SEC
Filings.
If you click on that link, it's to the Security and Exchange Commissions seach
results for the query "tidelands oil and gas". However, the link shows that no
documents matched that query. The a href that I assigned for that link works
all the time, in every other browser, EXCEPT the link on this page that I
created.

For a reference of how that link is supposed to work, on the
www.grosscapital.com/clients.htm page, scroll a little farther down to under
the Ecoloclean Industries logo. If you click the SEC Filings link, that's what
it's supposed to do on the Tidelands SEC filings link.

I can't figure out how the link that I've used on other Macromedia products
(such as Flash and Fireworks) for the SEC Filings for Tidelands does not work
on the website.

Can anyone explain this problem or point me in the right direction toward
resolving it?

Thanks in advance,

Heidi

Alan Ames

2004-02-27, 11:30 am

Go into Dw preferences, Code Rewriting.

Take checkmark out of Encode Special Characters in URLs using %

then remake the link.

Note- with that preference changed, you will have broken links if you have
any files or folders in the site with blank spaces or special characters in
their names.


Your link:
<a
href="http://www.sec.gov/cgi-bin/srch-edgar?text=tidelands%2Boil%2Band%2Bgas
&first=1993&last=2004&mode=Simple" target="_blank">SEC

> I have a problem with links that I created on my website that I can't figure
> out or find the answer to. So, I'm posing to the Dreamweaver gods and hoping
> that you might be able to help me fix the problem.
> Here is the link to my website page that I'm having the trouble:
> http://www.grosscapital.com/clients.htm
> Under the Tidelands Oil & Gas Corporation logo, there's a link called SEC
> Filings.
> If you click on that link, it's to the Security and Exchange Commissions seach
> results for the query "tidelands oil and gas". However, the link shows that
> no
> documents matched that query. The a href that I assigned for that link works
> all the time, in every other browser, EXCEPT the link on this page that I
> created.


heidiho

2004-02-27, 11:30 am

All I had to do to fix the problem is post it on the forum and then retry
everything I've been trying for the past two days to get it to work. I have to
assume that, on some level, it was on the SEC's website's end as opposed to my
coding end. What I did to resolve the issue (which didn't work yesterday or
the day before when I tried, but miraculously worked today) was to copy and
paste the a href in the actual code and not in the properties link box. Go
figure. I don't know why it worked today and not yesterday or the day before.
I am just glad that finally worked so that my boss would get off my back about
it.

Thanks for being such a great forum!

Heidi

Alan Ames

2004-02-27, 11:30 am

Please see my previous reply when it shows up in the webforum sometime
between now and never.

The coding error was yours. More accurately, it was the fault of the
dreamweaver preferences set to "protect you from yourself" to prevent bad
links.

It was url encoding the the & = and ? characters in that link's variable
string.

Your pasting the correct link into the source bypassed the url encoding.
But- next time you open that page and select that link, dw will url encode
it if you don't change the preferences to tell it to NOT url encode.

> All I had to do to fix the problem is post it on the forum and then retry
> everything I've been trying for the past two days to get it to work. I have
> to
> assume that, on some level, it was on the SEC's website's end as opposed to my
> coding end. What I did to resolve the issue (which didn't work yesterday or
> the day before when I tried, but miraculously worked today) was to copy and
> paste the a href in the actual code and not in the properties link box. Go
> figure. I don't know why it worked today and not yesterday or the day before.
> I am just glad that finally worked so that my boss would get off my back about
> it.
>
> Thanks for being such a great forum!
>
> Heidi
>


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews