»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 09-04-2003, 11:36 PM   #1 (permalink)
Registered User
 
cracked's Avatar
 
Join Date: Nov 2001
Location: NCSU @ Raleigh, NC
Posts: 1,390
cracked is on a distinguished road
Send a message via AIM to cracked
need help w/ html and window sizes

hey guys. how do i make a webpage so that the window pops up the size that i want it and so that the nav buttons and address bar arent there?

thanks!

drew

__________________
Duroo
cracked is offline   Reply With Quote
Old 09-04-2003, 11:42 PM   #2 (permalink)
Registered User
 
Telexen's Avatar
 
Join Date: May 2003
Location: Idaho
Posts: 1,966
Telexen is on a distinguished road
http://www.pageresource.com/jscript/jwinopen.htm
__________________
Asus A7N8X Deluxe | AMD AthlonXP 2600+ | 512mb Corsair XMS Extreme DDR
Telexen is offline   Reply With Quote
Old 09-04-2003, 11:44 PM   #3 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
PHP Code:
<html>
<
head>
    <
title>Win1</title>
<
script>
function 
openWin()  {
    var 
newWin window.open('win2.htm','win2','left=100,top=100,height=400,width=650,scrollbars=1,resizable=1');
}
</script>
</head>

<body>
<form action="" name="myform" id="myform">
<input type="button" value="Open Window" onClick="openWin();">
</form>
</body>
</html> 
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 09-04-2003, 11:57 PM   #4 (permalink)
Registered User
 
cracked's Avatar
 
Join Date: Nov 2001
Location: NCSU @ Raleigh, NC
Posts: 1,390
cracked is on a distinguished road
Send a message via AIM to cracked
thanks guys. telexen im gonna use your method but i have one question. i dont want a button, i want a text link. how do i modify the code to work with a text link instead of a button?

thanks!

drew
__________________
Duroo
cracked is offline   Reply With Quote
Old 09-05-2003, 12:35 AM   #5 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
something like this..........


PHP Code:

<script>
function 
go_submitform )
{
form.submit() ;
}
</script>
<form name=f method=post action=test.html>
</form>
<a href=javascript:go_submit(document.f)>submit</a> 
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:42 PM.