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.
Question
Angel Blue01
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