CICK-open new window opens but not to desired size

  • ThePriv
  • Novice
  • Novice
  • No Avatar
  • Joined: Sep 25, 2008
  • Posts: 17
  • Status: Offline

Post October 20th, 2008, 12:53 am

Below is the script for a CLICK-OPEN window I have created with the help of the peops here. Problem is with this one, it opens according to the instructions of a different CLICK-OPEN window...ie 200x300.
I want this one to open at 650x500. I have deleted it and rescripted, and still the same thing.

Can anyone help?
Anyone?
Bueller?

Thanx in advance.



<HEAD>


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=650,height=500');");
}
// End -->
</script>


<form>
<input type="image" SRC="http://www.geocities.com/gpnyc/preApprov.jpg" onClick="javascript:popUp('http://www.californiamoves.com/services/MortgagePreApproval.aspx')">
</form>

<!-- Script Size: 0.73 KB -->
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 20th, 2008, 12:53 am

  • suzie
  • Guru
  • Guru
  • User avatar
  • Joined: Feb 07, 2004
  • Posts: 1127
  • Loc: England
  • Status: Offline

Post October 20th, 2008, 3:39 am

I create popup windows with Dreamweaver for my tutorials and Captivate of course.

What happens when the user has JS turned off - no image at all :cry:

If its any help at all Dreamweaver threw this out:

<!-- Script Size: 0.73 KB -->

Others who know JS will help you further.
http://jungaling.com/katecorner/
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post October 20th, 2008, 11:20 pm

how about not having popups ... ? most people these days have popup blockers and just get annoyed with popups ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • ThePriv
  • Novice
  • Novice
  • No Avatar
  • Joined: Sep 25, 2008
  • Posts: 17
  • Status: Offline

Post October 20th, 2008, 11:32 pm

It's a CLICk pop-up. Maybe "Pop-up" isn't the correct term. It's a "new window" with an application. It opens upon the viewer clicking.

Thanx for your help.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 89 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.