HighDots Forums  

links stopped working

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss links stopped working in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Harvey Waxman
 
Posts: n/a

Default links stopped working - 04-02-2009 , 08:23 AM






Can someone look at these links and see why they might have stopped
working?


http://righttax.org/pdf.html

There are three buttons in the middle of the page which were working. I
was surprised to see that they have stopped. The files are all on the
site, the links work locally and they load if I access them directly:

http://righttax.org/pdfs/nk06.07web.xls.pdf (takes a long time to
load, sorry)

I'm stumped and would really appreciate any help.

Thanks

Reply With Quote
  #2  
Old   
Harvey Waxman
 
Posts: n/a

Default Re: links stopped working help please - 04-02-2009 , 08:55 AM






In article <hnwaxman-3163C5.08230802042009 (AT) forums (DOT) macromedia.com>,
Harvey Waxman <hnwaxman (AT) gmail (DOT) com> wrote:

Can someone look at these pages and see why one works and one doesn't?
The three button links are identical
Quote:

http://righttax.org/pdf.html and http://righttax.org/pdftest.html

There are three buttons in the middle of the page which were working. I
was surprised to see that they have stopped. The files are all on the
site, the links work locally and they load if I access them directly:

the file is http://righttax.org/pdfs/nk06.07web.xls.pdf (takes a long time to
load, sorry)

I'm stumped and would really appreciate any help.

Thanks

Reply With Quote
  #3  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: links stopped working help please - 04-02-2009 , 12:38 PM



Harvey Waxman posted in macromedia.dreamweaver

Quote:
Can someone look at these pages and see why one works and one
doesn't? The three button links are identical

http://righttax.org/pdf.html
http://righttax.org/pdftest.html
You are using form submit buttons without using the <form> element.

Quote:
http://righttax.org/pdf.html
With JavaScript off, the buttons do nothing at all. With JS on, I get
all three files. As you mentioned, they are very slow loading. I
recommend using a simple text link that includes the file sizes.
Something like:

<a href="pdfs/NK06.07web.xls.pdf">N. Kingstown 06/07 data</a> (3.7 MB)

You can dress that up with CSS if you want it to have a different look
than your other links.

This has the added benefit in that users can right-click and Save As or
choose to open in a new window/tab (if their browser is set to load PDF
files in the browser).

Quote:
http://righttax.org/pdftest.html
The submit buttons don't work even with JS turned on. The reason is
that there is no MM_openBrWindow() function available. That function is
typically inserted into the head section when you create such a link.
If you did this in a different file, look for the JavaScript in the
head section of that file.

My recommendation for text links applies here, too.


Side note: If you're recommending Adobe Acrobat (Adobe Reader), I
recommend linking to Adobe's reader.
http://www.adobe.com/products/acrobat/readstep2.html

Otherwise, you might want to recommend PDF Reader/Writer since that's
where you're linking.



--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: links stopped working help please - 04-02-2009 , 05:16 PM



..oO(Mark A. Boyd)

Quote:
With JavaScript off, the buttons do nothing at all. With JS on, I get
all three files. As you mentioned, they are very slow loading. I
recommend using a simple text link that includes the file sizes.
Something like:

a href="pdfs/NK06.07web.xls.pdf">N. Kingstown 06/07 data</a> (3.7 MB)
Yep. I also include a "PDF, " before the filesize, so users already know
what they will get before clicking the link.

Quote:
You can dress that up with CSS if you want it to have a different look
than your other links.
I add a little PDF icon (16x16px) before the link, so it would read:

<a class="icon pdf" href="pdfs/NK06.07web.xls.pdf">N. Kingstown 06/07
data</a> (PDF, 3.7 MB)

With this CSS:

..icon {
padding-left: 21px;
background-position: left;
background-repeat: no-repeat
}

[...]
..icon.pdf {background-image: url(/images/icons/pdf.png)}
[...]

Micha


Reply With Quote
  #5  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: links stopped working help please - 04-02-2009 , 05:34 PM



The OP, Harvey, started a second thread, "identical pages, different
results" with the same question about 40 minutes before I replied here.
He seems to have gotten the answer he wanted there before we wasted our
time here.


--
Mark A. Boyd
Keep-On-Wastin' >:-|

Reply With Quote
  #6  
Old   
Dooza
 
Posts: n/a

Default Re: links stopped working help please - 04-03-2009 , 05:33 AM



Mark A. Boyd wrote:
Quote:
The OP, Harvey, started a second thread, "identical pages, different
results" with the same question about 40 minutes before I replied here.
He seems to have gotten the answer he wanted there before we wasted our
time here.
Still some excellent advice you have given here, hopefully someone will
take notice and use it. I have used this method in the past and it works
and looks very good (http://www.acspecialprojects.com/aboutus.asp).

Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
How To Report A Bug To Adobe
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform


Reply With Quote
  #7  
Old   
harvey waxman
 
Posts: n/a

Default Re: links stopped working help please - 04-03-2009 , 09:39 AM



You did not waste your time at all. I will look closely at your reply and I welcome the suggestions. Thanks!

Reply With Quote
  #8  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: links stopped working help please - 04-03-2009 , 12:01 PM



harvey waxman posted in macromedia.dreamweaver

Quote:
You did not waste your time at all.
Perhaps not entirely, but I did spend a little time figuring out why
your buttons didn't work. Answering a question that had already been
answered in the other thread.

Quote:
I will look closely at your
reply and I welcome the suggestions. Thanks!
That's good, I think you'll like it better than the form buttons. With
CSS, you can even make the links look similar to buttons if you want
to.


--
Mark A. Boyd
Keep-On-Learnin'

ANNOUNCEMENT: Forums will be unavailable for planned system maintenance
starting at 3pm PST on April 3, 2009. New forums will be online on
Monday April 6, 2009.

http://www.adobe.com/support/forums/


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.