<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NewSourceMedia Blog &#187; Navagation</title>
	<atom:link href="http://newsourcemedia.com/blog/category/javascripts/navagation-javascripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Fri, 30 Dec 2011 04:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Javascript Go Back to Previous Page Button Link</title>
		<link>http://newsourcemedia.com/blog/javascript-go-back-to-previous-page-button-link/</link>
		<comments>http://newsourcemedia.com/blog/javascript-go-back-to-previous-page-button-link/#comments</comments>
		<pubDate>Fri, 29 Dec 2006 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Navagation]]></category>
		<category><![CDATA[back]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[previous]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-go-back-to-previous-page-button-link/</guid>
		<description><![CDATA[Go Back javascript history button links to allow visitors to go back to previous page. Here the free javascript code. Want to add a back button navigation to your web page links. Here is how to do this using javascript &#8230; <a href="http://newsourcemedia.com/blog/javascript-go-back-to-previous-page-button-link/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[Go Back javascript history button links to allow visitors to go back to previous page. Here the free javascript code.
<span id="more-176"></span>
Want to add a back button navigation to your web page links. Here is how to   do this using javascript and html links.

The code we'll use look a bit like this: "javascript:history.go(-1)" .

With that code we are telling the browser to go back -1 page. You can change   the -1 number to any page history like -2 or -5. So if you choose go back -3,   you will send the visitor three pages back in their browser history.

Here's the source code:

<pre lang="html"><a href="javascript:history.go(-1)">Go Back One Page </a></pre>

Click here to try the code: <a href="javascript:history.go(-1)">Go back one page</a>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/javascript-go-back-to-previous-page-button-link/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Delete Warning</title>
		<link>http://newsourcemedia.com/blog/delete-warning/</link>
		<comments>http://newsourcemedia.com/blog/delete-warning/#comments</comments>
		<pubDate>Sat, 28 Feb 2004 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascripts]]></category>
		<category><![CDATA[Navagation]]></category>
		<category><![CDATA[administration.]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[buttom]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[copy and paste]]></category>
		<category><![CDATA[custom message]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2004/02/27/delete-warning/</guid>
		<description><![CDATA[Javascript that alert users when clicking on sensitive links (like delete or update links). You can customize the message with option to continue or cancel. Works great with PHP, ASP, and Perl administration sites. Introduction: This javascript registers an event &#8230; <a href="http://newsourcemedia.com/blog/delete-warning/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[Javascript that alert users when clicking on sensitive links (like delete or update links). You can customize the message with option to continue or cancel. Works great with PHP, ASP, and Perl administration sites.
<span id="more-217"></span><span class="contitle">Introduction:</span>
<p class="content">This javascript                        registers an event handler to a link on a page. When users                        click a link, the code executes a pop-up alert window asks                        them to confirm that this is the link they wanted to click.                        This is perfect for server side programs that delete files                        on a server or modify data in a database. (<a href="http://newsourcemedia.com/Tutorials/JS-Warning Link2.php">View</a> the test page.)</p>
<p class="contitle">Source Code:</p>

<span class="sourceCODE">&lt;script&gt;
function confirmDelete(delUrl,name_cat) {
if (confirm("Are you sure you want to delete \nrow                        number \""   name_cat   "\"\nfrom the                        database")) {
document.location = delUrl;
}
}
&lt;/script&gt;</span>

<span class="sourceCODE">&lt;!-- now the html link --&gt;</span>

<span class="sourceCODE">&lt;a href="javascript:confirmDelete('yourpage.php?delete=293','293')"&gt;Delete&lt;/a&gt;</span>
<p class="contitle">Adding it to your site:</p>

There are just a few areas you will need to change to customize                        the code for your use. Number one is the message inside                        of the javascript event handler (<span class="sourceCODE">"Are                        you sure you want to delete \nrow number \""                          name_cat   "\"\nfrom the database"</span>).                        Notice I used (<span class="sourceCODE">\n</span>) for a new                        line and (<span class="sourceCODE">\"</span>) for quotes.                        You can delete them if you like. You can also delete or                        move around the (<span class="sourceCODE">"   name_cat                          "</span>) inside the message.

The second thing you will have to modify is the link values                        (<span class="sourceCODE">'yourpage.php?delete=293','293'</span>).                        Change the file name to your serverside program file path                        and change the id row numbers (<span class="sourceCODE">'293'</span>)                        to the id row number of your database rows.]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/delete-warning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
