PDA

View Full Version : open in new window



dosahl
05-09-2008, 02:55 PM
I am using a java script from dynamic drive called outlook bar II. It is a menu bar. I have it placed in a frame and all links are opening in the main frame as needed. I do have some external links that I want to load in a completely new window. I can get it to open in the same window but I want a new one. I have tried a varitey of options.


p.addButton('tinyraider.jpg','Raiders','parent.top.location="http://ds062.k12.sd.us/activities2.htm"');

above is the code I currently have. It loads in the same window. I have tried "blank"- window.new etc...Nothing seems to be able to open an external link in a new window. Any help will be appreciated.

Thanks

djr33
05-10-2008, 06:34 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Please post a link to the page on your site that contains the problematic script so we can check it out.

dosahl
05-11-2008, 01:44 PM
sorry.
Here is the link to Microsoft OUtlook Bar II (http://www.dynamicdrive.com/dynamicindex1/outbar2/index.htm)

My page is HERE (http://ds062.k12.sd.us/XC/outlookbar/index.html). I am trying to make the links under the links bar to open in a new window. I only have the top two (Raiders & RCAS) opening in the same window but I want to make that change. Again, I have tried a variety of options but none that are useful.

I would also like the make the final email link live. I have not been able make a "mail to" tag work. ANy help there would be good.

Thanks for any help.