Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver external link pop up disclaimer 2

Status
Not open for further replies.

POSFCU

IS-IT--Management
Jun 13, 2006
10
US
I am using dreamweaver 8. I want to have all of my external links have a disclaimer that they are leaving the site. I need to know what is the easiest way to get this done.

I have seen some sites that have a pop up window that comes up when you click on an external link with two buttons where the user must say yes or no, then it continues on to the external site.

I also have seen a framed window pop up with the disclaimer across the top of the window and the external link in the bottom frame. I would prefer the first option as I hate frames.

My java skills are limited to getting coffee so if it is a java solution please give a detailed solution.

If someone knows of an extension for dreamweaver that handles this please point me in the right directions.

Thanks in advance to anyone that can point me in the right direction.
 
As a user of your site, forcing me to click an extra button is a sure-fire way to remind me never to return!

An average user can figure out that they've left your site.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
I agree with you totally, but unfortunately I have to follow a federal regulation that notifies users when they are leaving our site.
 
In that case, find another federal credit union site and see what they're doing. Or post a link of an example page and let the folks here have at it.

Not all of the federal credit union sites I checked had such warnings. The University Federal Credit Union had a rollover 'title' telling me that a link was external. They simply used JavaScript and assigned a title attribute of "Off-site link" if the class="external".

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
You have all external links point to the same page showing the message, and then have that page redirect accordingly depending on what was pressed like so:

<a href="externallinkwarning.xxx?url=http://www.externalsite.com">

Then pick up the url, and use it to redirect.

Ohh and Java and Javascript are 2 different things, not to be confused.






----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thank you traingamer. I like that javascript title attribute example. Very slick and it is not overly intrusive.

Thank you vacunita

I appreciate the how to for the redirect link.

I will run it by our fed examiner to make sure she is satisfied with it.


 
There several ways to pickup the url, and then redirect.

You can use Javascript to change the action attribute of a form to whatever the url is on the fly, or you can use a Server-side language to perform the redirection, it all depends on what is available to you.

Personally i would go the server-side route, as i really don't like to count on the fact that all my users will have Javascript enabled in their browsers. Because i myself have it mostly disabled.

Depending on what server-side language if any is available to you, will be the method to redirect.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top