HighDots Forums  

"Send this page" code ?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss "Send this page" code ? in the Macromedia Dreamweaver forum.



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

Default "Send this page" code ? - 07-19-2004 , 09:33 AM






I need to put a link in my site and when somebody presses it, the page should
be sent to his email. Could somebody tell me how does the code look like ? P.S.
I'm using DW.
I also need to put additional code so that when somebody puts the mouse
pointer on the image, a small additional window appeares and it explains the
function of the link. Do you know what's its name ?
Thanks in advance !


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

Default Re: "Send this page" code ? - 07-19-2004 , 10:27 AM






Quote:
I need to put a link in my site and when somebody presses it, the page
should
be sent to his email. Could somebody tell me how does the code look like ?
P.S.
I'm using DW.
I answered last friday when you asked it then.

Quote:
I also need to put additional code so that when somebody puts the mouse
pointer on the image, a small additional window appeares and it explains
the
function of the link. Do you know what's its name ?
A tool tip. It uses that TITLE attribute:

<img src="file.gif" title="your tooltip goes here">

-Darrel




Reply With Quote
  #3  
Old   
ina_
 
Posts: n/a

Default Re: "Send this page" code ? - 07-19-2004 , 12:38 PM



Dear Darrel, thank you for replying me again. I read your previous advice, but
unfortunately i don't know How to write the script. i'm a newbee at web design
Perhaps, if there is a specific name for this kind of action, I'll find a
ready-made code, but i don't know how it is called. I would be grateful if
somebody can tell me how the code looks like.


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

Default Re: "Send this page" code ? - 07-19-2004 , 03:09 PM



Quote:
Dear Darrel, thank you for replying me again. I read your previous advice,
but
unfortunately i don't know How to write the script.
You need to be more specific. Do you need to do this via javascript on the
client-side? If so, then google has the answer:

http://www.google.com/search?q=%22send+this+page%22+javascript

(click on the first link)

It also looks like there are a few DW extensions out there too:

http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=%22send+this+page%22+Dreamweaver+Extension&btn G=Search

-Darrel





Reply With Quote
  #5  
Old   
ina_
 
Posts: n/a

Default Re: "Send this page" code ? - 07-20-2004 , 09:13 AM



Thank you for answering me ! I try to be more specific and explain what I want
to do: when the client presses an image link, another window opens. The newly
opened window contains a form, he insert his email, the email ot the receiver,
and an additional message (optional). The text of the website or its url is
attached as a hidden message to the message that will be sent. Then he presses
a send button and the message is sent.
I've checked the links, that you've offered. The one with the javascript sends
the message from the current email of the sender (he doesn't have an option for
choice) and opens Outlook Express. I wouldn't like Otlook, Eudora, etc. to be
part of the process.
I couldn't find a tutorial at the site of Macromedia Extensions. The one,
cited by Google refers to a "Send this page to a friend" option at the end of a
tutorial. I've tried to use it and change the code but something just didn't
work out.
I guess that I can do waht I want by defining specific options of Submit
button, but I don't know how.
So, I'm still waiting for advices.


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

Default Re: "Send this page" code ? - 07-20-2004 , 10:27 AM



Quote:
I wouldn't like Otlook, Eudora, etc. to be
part of the process.
Then you're going to need this on the server-side. You'll need to use a
programming language like ASP, PHP, ColdFusion, etc.

So, it all depends on what language you want to use. I'd suggest a search on
google using the language of your choice and "send page as email script"

-Darrel




Reply With Quote
  #7  
Old   
Gary White
 
Posts: n/a

Default Re: "Send this page" code ? - 07-20-2004 , 11:41 AM



darrel wrote:

Quote:
Then you're going to need this on the server-side. You'll need to use a
programming language like ASP, PHP, ColdFusion, etc.

So, it all depends on what language you want to use. I'd suggest a search on
google using the language of your choice and "send page as email script"

Perhaps, before making that decision, it would be good to check the host
to see what language(s) it supports.


Gary


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.