<?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>Freelance PHP Web Developer London &#187; goto</title>
	<atom:link href="http://rizfolio.com/blog/tag/goto/feed/" rel="self" type="application/rss+xml" />
	<link>http://rizfolio.com/blog</link>
	<description>Freelance PHP/Web Developer walthamstow London. tutorials,scripts ecommerce solution guide and many more.</description>
	<lastBuildDate>Sun, 16 Aug 2009 16:29:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Javascript Anchor Tips &amp; Tricks</title>
		<link>http://rizfolio.com/blog/javascript-anchor-tips-tricks/</link>
		<comments>http://rizfolio.com/blog/javascript-anchor-tips-tricks/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 13:49:02 +0000</pubDate>
		<dc:creator>Rizwan</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[anchor]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[goto]]></category>
		<category><![CDATA[jump]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://rizfolio.com/blog/?p=54</guid>
		<description><![CDATA[Jump to the anchor with javascript and html. tutorial will explain how can we use javascript to jump to the anchor in an html page.]]></description>
			<content:encoded><![CDATA[<p>In this article i will try to explain how can we use javascript to jump to different anchor within a page.</p>
<p>Anchor HTML Code</p>
<pre class="brush: xml;">&lt;a name=&quot;mystory&quot;&gt;&lt;/a&gt;</pre>
<p>Anchor Link</p>
<pre class="brush: xml;">&lt;a href=&quot;#mystory&quot;&gt;Test HTML Code&lt;/a&gt;
</pre>
<p>Example: <a href="#mystory">Test HTML Code</a></p>
<p>Javascript function to jump to the anchor</p>
<pre class="brush: jscript;">
function goToAnchor(nameAnchor){
     window.location.hash=nameAnchor;
}
</pre>
<p>How to call javascript function to jump to anchor</p>
<pre class="brush: xml;">&lt;a href=&quot;javascript:goToAnchor('mystory')&quot;&gt;Test Javascript Code&lt;/a&gt;
</pre>
<p>Example: <a href="javascript:goToAnchor('mystory')">Test Javascript Code</a></p>
<p><script type="text/javascript"><!--
function goToAnchor(nameAnchor){
     window.location.hash=nameAnchor;
}
// --></script><br />
Anchor is here &#8211;&gt; <a name="mystory"></a> &lt;&#8211;</p>
<p><script src="http://rizfolio.com/blog/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/shCore.js?ver=2.0.320" type="text/javascript"></script><br />
 <script src="http://rizfolio.com/blog/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/shBrushXml.js?ver=2.0.320" type="text/javascript"></script></p>
<p><script src="http://rizfolio.com/blog/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/shBrushJScript.js?ver=2.0.320" type="text/javascript"></script><br />
 <script type="text/javascript"><!--
	SyntaxHighlighter.config.clipboardSwf = 'http://rizfolio.com/blog/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf';
	SyntaxHighlighter.config.strings.expandSource = 'expand source';
	SyntaxHighlighter.config.strings.viewSource = 'view source';
	SyntaxHighlighter.config.strings.copyToClipboard = 'copy to clipboard';
	SyntaxHighlighter.config.strings.copyToClipboardConfirmation = 'The code is in your clipboard now';
	SyntaxHighlighter.config.strings.print = 'print';
	SyntaxHighlighter.config.strings.help = '?';
	SyntaxHighlighter.config.strings.alert = 'SyntaxHighlighter\n\n';
	SyntaxHighlighter.config.strings.noBrush = 'Can\'t find brush for: ';
	SyntaxHighlighter.config.strings.brushNotHtmlScript = 'Brush wasn\'t configured for html-script option: ';
	SyntaxHighlighter.all();
// --></script></p>
]]></content:encoded>
			<wfw:commentRss>http://rizfolio.com/blog/javascript-anchor-tips-tricks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

