Really easy Java question!!
- legokiller666
-
legokiller666
- Member since: Jan. 28, 2001
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
How do i make it so when u click a link it opens a new window without scroll bars and resizability etc?
(ive heard u can do this in html aswell, so, anyone?)
- liljim
-
liljim
- Member since: Dec. 16, 1999
- Offline.
-
- Send Private Message
- Browse All Posts (11,644)
- Block
-
- Forum Stats
- Staff
- Level 28
- Blank Slate
At 10/10/01 04:24 PM, LegoKiller666 wrote: How do i make it so when u click a link it opens a new window without scroll bars and resizability etc?
(ive heard u can do this in html aswell, so, anyone?)
Umm, you're confusing java with javascript. Look here:
http://www.newgrounds.com/bbs/topic.php?id=11622
- QwaNkerkas
-
QwaNkerkas
- Member since: Sep. 23, 2001
- Offline.
-
- Forum Stats
- Member
- Level 08
- Blank Slate
At 10/10/01 04:24 PM, LegoKiller666 wrote: How do i make it so when u click a link it opens a new window without scroll bars and resizability etc?
(ive heard u can do this in html aswell, so, anyone?)
Your mixing this up with java script. I dont really know how to do that but heres a html code for when you enter the site the webpae in the url part pops up:
<SCRIPT LANGUAGE="Javascript">
window.open("URL IN HERE","FORMAT HERE (BANNER AD ETC)","width=, height=,scrollbars,resizeable; FALSE,toolbar,status");
</SCRIPT>
Hopefully it should work
- Billism
-
Billism
- Member since: Oct. 16, 2001
- Offline.
-
- Forum Stats
- Member
- Level 02
- Blank Slate
Hello,
This works:
< SCRIPT LANGUAGE="JavaScript" >
< !--
function OpenWin(szURL, szName, szWidth, zsHeight)
{
window.open(szURL, szName, "width=" + szWidth + ",height=" + zsHeight + ",menubar=0,resizable=0,directories=0,hotkeys=0,left=0,location=0,screenX=0 ,screenY=0,scrollbars=0,status=0,toolbar=0,top=0");
}
//-- >
< /SCRIPT >
Open [OpenMe.html] named [Page_Name] with width=[500] and height=[300]
************************
I had to separate the triangle brackets so it owuldnt look like HTML code in the message....
Put this within the body tag.
At 10/10/01 04:24 PM, LegoKiller666 wrote: How do i make it so when u click a link it opens a new window without scroll bars and resizability etc?
(ive heard u can do this in html aswell, so, anyone?)
- Billism
-
Billism
- Member since: Oct. 16, 2001
- Offline.
-
- Forum Stats
- Member
- Level 02
- Blank Slate
The message board script mussed it up a bit...
so, in case you need an explanation:
After that java script section, put this inside of an 'A HREF' tag:
javascript:OpenWin('OpenMe.html', 'Page_Name', 500, 300);
in place of just OpenMe.html
At 10/19/01 10:55 AM, Billism wrote: Hello,
This works:
< SCRIPT LANGUAGE="JavaScript" >
< !--
function OpenWin(szURL, szName, szWidth, zsHeight)
{
window.open(szURL, szName, "width=" + szWidth + ",height=" + zsHeight + ",menubar=0,resizable=0,directories=0,hotkeys=0,left=0,location=0,screenX=0 ,screenY=0,scrollbars=0,status=0,toolbar=0,top=0");
}
//-- >
< /SCRIPT >
Open [OpenMe.html] named [Page_Name] with width=[500] and height=[300]
************************
I had to separate the triangle brackets so it owuldnt look like HTML code in the message....
Put this within the body tag.
At 10/10/01 04:24 PM, LegoKiller666 wrote: How do i make it so when u click a link it opens a new window without scroll bars and resizability etc?
(ive heard u can do this in html aswell, so, anyone?)
- RancidScammerDude
-
RancidScammerDude
- Member since: Jul. 27, 2001
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
<SCRIPT LANGUAGE="Javascript">
window.open("URL IN HERE","FORMAT HERE (BANNER AD ETC)","width=, height=,scrollbars,resizeable; FALSE,toolbar,status");
</SCRIPT>

