• 0

"Variable" popup window


Question

I need the JavaScript code to open a popup window, after the user clicks the link.

There are many I've seen out there, but none fit my needs.

Many make you define a name that matches with the URL to be opened. I need soething like a varible value for the URL.

The JavaScript would have to allow for each paragraph to define its own URL, that would be passed on to the pop-up script, that would open it.

My real point is to have a long document, with certin paragraphs as links for more information about that paragraph. Not every paragraph would have page (hopefully they can all share one file, but with different "bookmarks" (mycomment.html#a, mycomments.html#b, etc.)) But there would be many linked paragraphs on the source page.

All of this with as little coding as possible.

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Thanks.

But I'm still not sure how to get each paragraph (or as needed) get its own file/bookmark in a file to open in the new window.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.