Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Fixed-size Window??? |
Page: 1 2 | Reply |
Mar 24th 2001 | #573 Report |
Member since: Mar 24th 2001 Posts: 3734 |
How do I make a fixed size window. I want to do a digital Jukebox type that is only about 300 pixels high and 500 pixels wide. Thanks in advance. |
Reply with Quote Reply |
Mar 24th 2001 | #574 Report |
Member since: Mar 18th 2001 Posts: 796 |
This is pretty much the only javascript i know |script language="JavaScript"| |!-- function jukebox(){ mainsite=window.open("yourpage.html","yourtitle","width=500,height=300,top=100,left=10,location=no,status=no,resizable=no,scrollbars=no,menubar=no,toolbar=no")} //--| |/script| --->put this part in the head tag. |a href="javascript:jukebox()"|link|/a| --->put this part in the body Replace all the |'s with the standard html hooks. Change the yourpage.html and yourtitle to wathever you want. jukebox() can also be changed in something else, but make sure you leave the () |
Reply with Quote Reply |
Mar 24th 2001 | #577 Report |
Member since: Mar 24th 2001 Posts: 3734 |
For some reason, the following part doesn't work: |a href="javascript:jukebox()"|link|/a| |
Reply with Quote Reply |
Mar 24th 2001 | #578 Report |
Member since: Mar 24th 2001 Posts: 3734 |
|a href="javascript:jukebox()"|link||/a| Now the "link" part is not a problem, just on both sides of it. |
Reply with Quote Reply |
Mar 24th 2001 | #579 Report |
Member since: Mar 24th 2001 Posts: 3734 |
OK.......now only this part is a problem. And just so you know, I've NEVER worked with javascript before.... This is my very 1st time...so if it's an easy fix, give me a break. |a href="javascript:jukebox()"| |
Reply with Quote Reply |
Mar 24th 2001 | #581 Report |
Member since: Mar 24th 2001 Posts: 3734 |
(a href="javascript:jukebox()")link(/a) I think I was just putting the "<>"s in the wrong direction. |
Reply with Quote Reply |
Mar 24th 2001 | #582 Report |
Member since: Mar 24th 2001 Posts: 3734 |
Now I don't know where to go with it....... Here's the link: http://www.angelfire.com/on/newmuzic/Digital_Jukebox.htm Thanks in advance. |
Reply with Quote Reply |
Mar 24th 2001 | #586 Report |
Member since: Mar 24th 2001 Posts: 3734 |
Please help......(sniffle)
|
Reply with Quote Reply |
Mar 24th 2001 | #589 Report |
Member since: Mar 18th 2001 Posts: 1690 |
Put this in the head of your code function launch(){ jukeBox=window.open("http://www.angelfire.com/on/newmuzic/jukebox.html","jukeBoxwindow","width=500,height=300,top=25,left=50,resizable=no,scrollbars=no,menubar=no,toolbar=no,status=no,location=no")} Use this to launch window Clickage!! |
Reply with Quote Reply |
Mar 25th 2001 | #597 Report |
Member since: Mar 24th 2001 Posts: 3734 |
Works great now.......thanks. Greatly appreciated... Mattboy |
Reply with Quote Reply |
Page: 1 2 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |