i want part of my code from the main page(the same page where the link will be)
will be shown in a new window...
for example i got index.htm with 10 lines+link and 4 more lines that will be open in a new window when you will click on the link...
![]()
i want part of my code from the main page(the same page where the link will be)
will be shown in a new window...
for example i got index.htm with 10 lines+link and 4 more lines that will be open in a new window when you will click on the link...
![]()
is that what you were talking about?Code:<a href="/path/to/new/page" target="_blank">Link Title</a>
i don't need another page to open in the new window...
i need the lines that will apear in the new window be on the same page...using only one page
so you want to open a page on a different part of the page?
like in an frame? if so you jsut change the value of target to the name of the frame
Code:<iframe name="something" src="defaultPage.htm>
if that is still not what you are looking for can you post a url to an example?
no i frames...
i got to inject some how 5 lines into a new window...
i got to enter some lines into a new window...no frames i need to use only javascript...
a new window implies that you have a new instance of the browser. if you are talking about populating a portion of the existing page well that is AJAX, and there are many tutorials out there on the basics of connecting, grabbing, populating data.
for starters look at http://www.dynamicdrive.com/forums/s...ad.php?t=19247
Bookmarks