×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

bookmarks using perl

bookmarks using perl

bookmarks using perl

(OP)
Hello !

I have web page that has some radio buttons on it and when the user clicks on it it runs a perl script and gets a value for each button clicked( no problem). But after I have the value of the button I want to jump to a hypertext link (bookmark) within the same page. Is this possible? What is the command to do this?

Thanks
Kobe   

RE: bookmarks using perl

Hmmm...  This may be a bad hack for your problem, but it'll work:

When the user clicks the button, make it re-load the page with a deal like:

<a href = "http://www.thePage.com/page.html#section";>

This should do it, you can get a good tutorail about sections and stuff at http://www.about.com on html if you don't know that (I'd imagine you do).  I don't know if you can do it without following a hyper link.  If it's a large page with pics and stuff, they should be cached, so the second time it should load much faster...

Good Luck
MWB.

As always, I hope that helped!

Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.

RE: bookmarks using perl

(OP)
MWB:

Thanks for your response but if I reload the page i'll lose the info on the form thats already been entered won't I? I guess i'll have to use plain old hypertext bookmarks. But thanks so much for your response.

Kobe

RE: bookmarks using perl

(OP)
MWB:

Please disreguard my last message it's worked just fine!
Thanks Again

Kobe

RE: bookmarks using perl

Javascript would be much more efficient for this purpose than using perl and rewriting the page.

I LOVE perl, but I use Javascript for things like this too.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close