×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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

dynamic webpage

dynamic webpage

dynamic webpage

(OP)
how to get dynamically webpage popping up in perl scripts. i am known to pop up window through link. what i m looking for is u go for puritucular page and will get you popping up another window with html stuff inside.

RE: dynamic webpage

That's javascript's realm.  You can embed javascript in a perl/cgi page easy enough, but you'll have to know the javascript involved.  If need be, go to a page that does the required popup, and view the source.

"If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."

RE: dynamic webpage

(OP)
i know that but how to implement it? do you mean to write hell lot of javascript statements between all print statment... i need some other way

RE: dynamic webpage

Program the javascript as you need it.  Put it in it's own file.  Open and read that file in your CGI script, and then print it directly to the webpage as it would look if the page had been built with the javascript in it already.
   #CGI script starts, does opening stuff
print '<script language="JavaScript1.2">' . "\n";
open (JAVAFILE, "< /path/to/file.java") || die($!);
print join('', <JAVAFILE>);
close JAVAFILE;
print '</script>' . "\n";
   #CGI continues, does whatever

or you can just put the javascript in the perl with print statements, each printing out a line of javascript, but it'll look nicer and be easier to maintain if the javascript is kept in it's own file.

"If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."

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