majicmajic Posted October 21, 2006 Share Posted October 21, 2006 Question 1: What is the code to size a window when using _blank. I would also like to eliminate any of the information normally found at the top of the page. what I ultimatly would like to accomplish is the ability to size the page and have it display clean of all other information.Question 2: How do I display a link on a page and once the link is clicked I would like to display the information below the link. Also once it is clicked again have the information disapear. Is that even possible? Sounds stupid I know. ThanksDan Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 21, 2006 Share Posted October 21, 2006 I think what you are looking for requires java script, is it for moe informastion on when someone clicks on a hyperlinked word? Link to comment Share on other sites More sharing options...
majicmajic Posted October 21, 2006 Author Share Posted October 21, 2006 I think what you are looking for requires java script, is it for moe informastion on when someone clicks on a hyperlinked word?Yes, that is correct. Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 21, 2006 Share Posted October 21, 2006 This code should work: <a href="java script:MM_openBrWindow('link to your page.html','text that you would like to appear','width=your width in pixels,height=your height in pixels,menubar=yes/no,toolbar=yes/no,status=yes/no,scrollbars=yes/no,resizable=yes/no')">your text that you want to appear</a>There, just change the bits that are in bold, and I think it will qork, not quite sure what all of the things like status and things mean. Link to comment Share on other sites More sharing options...
majicmajic Posted October 21, 2006 Author Share Posted October 21, 2006 This code should work:There, just change the bits that are in bold, and I think it will qork, not quite sure what all of the things like status and things mean.Thank you, I'll try it out. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 23, 2006 Share Posted October 23, 2006 Look at the "Learn More" links on this page, and look at the code to see how it's done:http://docntrain.com/dev/training-solutions.php Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 23, 2006 Share Posted October 23, 2006 No, I think the person wants something more like the boxs that appear when you click on bold words on this page:http://www.darvill.clara.net/altenerg/index.htm Link to comment Share on other sites More sharing options...
justsomeguy Posted October 23, 2006 Share Posted October 23, 2006 That's for question 1. I was referring to question 2. Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 23, 2006 Share Posted October 23, 2006 Oh, I am ever so sorry, didn't read that bit. My mistake, please do excuse me! Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 24, 2006 Share Posted October 24, 2006 I am ever so sorry I have just realised some mistakes with that code that I sent you, so lets start agian:This code should work:Add this code to the head of your page, well inside: <script LANGUAGE="JAVASCRIPT">function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);}// --></SCRIPT> <ahref="java script:MM_openBrWindow('filename.htm','filename','width=650,height=550,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=no')">click here </a>There, just change the bits that are in bold, and I think it will work. You just need to make sure you get the first bits right, make sure that you do the second bold bit exactly the same as your file name without the extension.There that should work! Link to comment Share on other sites More sharing options...
steffalynn Posted December 18, 2006 Share Posted December 18, 2006 I tried this out and modified as follows. Any idea why it isn't working?In the head: <script LANGUAGE="JAVASCRIPT">function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);}// --></SCRIPT> In the body: <ahref="java script:MM_openBrWindow('rules.htm','rules','width=650,height=550,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=no')">click here </a> Link to comment Share on other sites More sharing options...
holmedwa04 Posted December 19, 2006 Share Posted December 19, 2006 No, sorry, you do have a page that it needs to link to? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now