HighDots Forums  

How can I do this ?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How can I do this ? in the Macromedia Dreamweaver forum.



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

Default How can I do this ? - 07-15-2004 , 10:38 AM






Hi ! I need to put on my site the following links:
1. image-link, and when the user presses it, the site is sent via e-mail to an
adress that he/she has chosen
2. image-link, and when the user presses it, the site is printed
3. image-link, and when the user presses it, the site is saved
I guess that this kind of things has a name, but I don't know it. Do u know
their names and what's the code ?
Thanks in advance !


Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: How can I do this ? - 07-15-2004 , 10:52 AM






Quote:
1. image-link, and when the user presses it, the site is sent via e-mail
to an
adress that he/she has chosen
How is the site being stored right now? It is coming out of a content
management system/database? If so, then you'll want to do this on the
back-end, by having the end-user fill out an email address and submitting
that back to the server, which, in turn, will grab the content from the
current page and then send it to the address provided. Search for 'mail this
page scripts' in the language of your choice.

If you simply have static pages, then you could write a javascript that
would grab the current URL and then simply write out an email link that
would have the URL in the SUBJECT field. Not perfect, but might do the
trick.

Quote:
2. image-link, and when the user presses it, the site is printed
There's absolutely no need for this. Every web browser has a perfectly
usable print function already.

Quote:
3. image-link, and when the user presses it, the site is saved
Saved how? Again, a web browser already has FILE >> SAVE.

If you meant bookmark, then, again, the browser already has this feature. If
a person doesn't already know how to bookmark a page, then they're not going
to know what that link does anyways.

-Darrel




Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How can I do this ? - 07-15-2004 , 11:11 AM



In addition to darrel's good advice, I'll just add that a programmatic print
will fail on IE/Mac. That's another reason not to do it.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"darrel" <notreal (AT) hotmail (DOT) com> wrote

Quote:
1. image-link, and when the user presses it, the site is sent via
e-mail
to an
adress that he/she has chosen

How is the site being stored right now? It is coming out of a content
management system/database? If so, then you'll want to do this on the
back-end, by having the end-user fill out an email address and submitting
that back to the server, which, in turn, will grab the content from the
current page and then send it to the address provided. Search for 'mail
this
page scripts' in the language of your choice.

If you simply have static pages, then you could write a javascript that
would grab the current URL and then simply write out an email link that
would have the URL in the SUBJECT field. Not perfect, but might do the
trick.

2. image-link, and when the user presses it, the site is printed

There's absolutely no need for this. Every web browser has a perfectly
usable print function already.

3. image-link, and when the user presses it, the site is saved

Saved how? Again, a web browser already has FILE >> SAVE.

If you meant bookmark, then, again, the browser already has this feature.
If
a person doesn't already know how to bookmark a page, then they're not
going
to know what that link does anyways.

-Darrel





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.