Bookmark code

windows

Guest
I have recently introduced a poll into my website by way of <!-- w --><a class="postlink" href="http://www.votations.com">www.votations.com</a><!-- w --><br />
<br />
Everything works great, but one annoying thing is, when for example some one votes on the poll (which is intergrated into my main web page <!-- w --><a class="postlink" href="http://www.spinnershomepage.co.uk">www.spinnershomepage.co.uk</a><!-- w -->\mainpage.html)the page, as it is supposed to, refreshes with the poll results displayed, however the page refreshes back to the top. I would idealy like the page to refresh back to a position where the poll is visable immediately i.e the page opens about half way down. Obviously the use of bookmarks it needed but the poll is java based and the main coding for it is obviously handled my <!-- w --><a class="postlink" href="http://www.votations.co.uk">www.votations.co.uk</a><!-- w -->. <br />
<br />
They do give me the ability to add html coding to the script on their site, but I don't know where to start? All I want to do is make the page refresh to a bookmark location.<br />
<br />
Attached is a picture of the interface headers for the input of additional html script for my poll.<br />
<br />
Any help would be appreciated.<br />
<br />
Thanks in advance.<!--content-->You could put an <a name="poll_section"> tag just before the poll comes, and then make the page refresh to mainpage.htm#poll_section when someone votes.<!--content-->Whoops... after a closer look at your post, was the problem that that you don't know how to refresh it to the bookmark? Hmm... I already voted so I can't see the voting code anymore, but I guess you have an external JavaScript from your poll server which adds the code. Maybe you could, instead of that, use your own form when voting, and that way refresh to the bookmark?<!--content-->Thanks for replying... you'll have to excuse me, I'm pretty new to this web design stuff. You are correct yeah, the main code will be external and not part of the site's code. What do you mean though by "use your own form"? I don't really understand what that means or how to do that?<br />
<br />
Thanks again.<!--content-->Actually, it could very difficult... maybe the easiest way to solve this, is to someway get the visitor redirected to a "thank you for voting" page after voting. The results could be displayed on that page.<br />
Of course, if you can use CGI, PHP or another server side language, you could make your poll yourself. Then you could edit it as you want.<!--content-->Yea, that's what I was thinking about doing, but I have no idea how to do it. Looking at the .jpeg I attached on my intial post which allows me to add my own code on the polls hosts site, any ideas what code I would need to input so as to get a user re-directed to a 'Thank You for Voting' type page.<br />
<br />
Cheers<!--content-->I don't know what all you may edit, but maybe you can find a place where to define where the visitor gets redirected after voting. If so, create the "thank you for voting" page.<br />
You seem to have an own domain, maybe they support Perl CGI? Here's quite a lot of poll scripts, they don't require to know that much CGI to manage installing.<br />
<!-- m --><a class="postlink" href="http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Survey_and_Voting/">http://cgi.resourceindex.com/Programs_a ... nd_Voting/</a><!-- m --><!--content-->Thanks alot. I appreciate it. Nice link.<br />
<br />
Cheers<!--content-->
 
Back
Top