<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Using poll_id number as anchor"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Using poll_id number as anchor"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Using poll_id number as anchor</title>
				<description><![CDATA[ hello, one other thing.<br /> <br /> I have several polls on a pages and when someone votes, the page goes back to the top &amp; they have to scroll back down to see their results. Not a huge deal, but kind of annoying.<br /> <br /> I searched the forum for anchoring tips, but had no luck.<br /> <br /> Here's my idea, but I'm not sure how to make it work (if it will work):<br /> <br /> For example, I make an &lt;a name="7"&gt; on my html page at the location of the poll in question, then I want to &lt;a href="#$poll_id"&gt; (or something like that) in the code/template to return the current poll_id number (in this case "7") back into the &lt;a href&gt; to the redirect script.<br /> <br /> I feel like this might anchor to whatever poll is currently giving results...but I'm not sure how to implement it into the redirect...any hints?<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6311/22377.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6311/22377.php</link>
				<pubDate><![CDATA[Sun, 4 Mar 2007 12:52:02]]> GMT</pubDate>
				<author><![CDATA[ medusahead]]></author>
			</item>
			<item>
				<title>no luck yet</title>
				<description><![CDATA[ hello,<br /> <br /> Well, I'm hovering all around this problem &amp; could use any advice anyone might have.<br /> <br /> I can make links to the anchors in the template, but it needs to be automatic after a vote to get people back to the appropriate results, rather than the top of the page.<br /> If I use a: <br /> <br /> [code]form=&quot;url#anchor&quot;[/code] in the template, it doesn't make it to the final HTML page. I suspect that it is getting lost when the php processes. This tells me I need to make the redirect to the anchor via php...but where is it? I've scoured all the files, but am confused about what gets me back to my HTML after a vote.<br /> <br /> Also, I considered stuffing the anchor (that has the same name as the poll-id) into a:<br /> <br /> [code]header &#40;Location&#58; &quot;&lt;a href=&quot;#$poll_id&quot;&gt;&lt;a/&gt;&#41;;[/code] ,but again, where? (if something like that would even work)<br /> <br /> seriously, if anyone has any ideas, that would be awesome!<br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6311/22383.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6311/22383.php</link>
				<pubDate><![CDATA[Mon, 5 Mar 2007 03:55:21]]> GMT</pubDate>
				<author><![CDATA[ medusahead]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I got a little advice at phpfreaks about using poll_id to anchor via redirect...<br /> <br /> [code]header&#40;&quot;Location&#58; #&#123;$poll_id&#125;&quot;&#41;;[/code]<br /> <br /> But i'm starting to think that a redirect is unnecessary since the page with results loads anyway...<br /> <br /> If I just find what part of the codes loads/reloads the page with the results, then maybe I can add anchor info to that...<br /> <br /> I could really use some help...really any advice would be useful...<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/6311/22393.php</guid>
				<link>https://proxy2.de/forum/posts/preList/6311/22393.php</link>
				<pubDate><![CDATA[Tue, 6 Mar 2007 21:05:44]]> GMT</pubDate>
				<author><![CDATA[ medusahead]]></author>
			</item>
	</channel>
</rss>