Re: [wdvltalk] Javascript window problem

2006-06-30 Thread Diane Schips
Thank you Ross, and BJ.  I kept playing around with it and now it works! 
  I'm not entirely certain what the difference is, but my client and 
his customers can all see it!  Thanks for your help!


Ross Clutterbuck wrote:

Diane

If your tests fire and run the script directly then you have nothing 
wrong with your script. The fault, therefore, will lay with your 
client's computer - either they have a pop-up blocker enabled or they 
have scripting disabled.


That would be my first port of call to work this out.

Alternatively, you could always rejig things so your code actually runs 
inside the new window and resizes it onLoad, then specify a new window 
as the target of your link. That was you'll get a pop-up window when you 
click the link then the script will resize that new window. If scripting 
is disabled you'll still get your pop-up window just not to the correct 
size.


MOU



   
___ All new 
Yahoo! Mail "The new Interface is stunning in its simplicity and ease of 
use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.






 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Javascript window problem

2006-06-30 Thread Bj
- Original Message - 
From: "Diane Schips"



If this is being called by clicking on a link, is it a popup window?


If it's a normal link with target="_blank" I don't think so, but a window 
opened by Javascript would surely be a popup





So I went back to what I originally had, only I changed it to this:
see info


Maybe it's not causing the problem, but it should be window.open() shouldn't 
it? As in:


 featureStr = 'width=' + picWide + ',height=' + picHigh;
 window.open(imgURL,'newWin', featureStr);

There's also a document.open() function which is for creating a page on the 
fly so open() on its own could confuse a browser


Bj 



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Link not working in FF

2006-06-30 Thread Drew Trusz

On 6/30/06, Portman <[EMAIL PROTECTED]> wrote:

Thanks Drew. I am a little unclear (no pun intended) on the clearing,
but will do some reading up on it.

Riva


Two major points about positioning and clearing. First is that
absolute and float take elements out of the normal flow of the
document. While the placement of such elements is respected, normal
content will attempt to fill any gaps left by such non-normal blocks.
So when a positioned element doesn't take up the entire width of the
document, the normal content will try to squeeze into the empty space.

A clear will tell the browser to not do that but instead to drop below
the non-normal element.

That would be easy to handle. So just to make it interesting, there
are times when browsers (yes IE is the most egregious) will decide
that floats in particular have no content, no matter what you think
you've put in them. Content of such floats are rendered as normal
flow, with often astonishing visual results. The cure for that is to
put an otherwise empty clear within the float.

While it is possible to deal with the discreet conditions which cause
this in an elegant fashion you should be forewarned that when IE7
arrives, many of these elegant solutions won't function properly. It's
easier to use the industrial strength solution of an empty float
element and bare the shame of being accused of classitis or divitis by
the purists.

A good explanation of floats is found at:

http://www.brainjar.com/css/positioning/


If you want the details of why you have the problem in the first
place, this will do

http://www.satzansatz.de/cssd/onhavinglayout.html

There used to be some good pieces on Position is Everything but those
articles now seem to be for sale.

drew

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Javascript window problem

2006-06-30 Thread Diane Schips

Thanks, Ross

If this is being called by clicking on a link, is it a popup window? 
Would a popup blocker block it, and if so, would it display an empty 
window?  Also, all the pages on the site are scripted.  I agree it can't 
be the code, but I don't know what it CAN be.


I have a table of information that's displayed.  One field can be too 
long, and my client wants me to replace it with a link to a smaller 
pop-up like window that contains the data.


After reading your post, I tried making it a simple link.  This should 
have need obvious to me from the beginning, just pass the data as a 
query string.  I don't know how to resize the window though.  One of the 
html sites I Googled says it can't be done in a function called via 
onload.  I tried it and the onload function fires just fine *unless* I 
add code to resize the window.  I've tried window.resizeTo and 
self.resizeTo, both stop the function from firing.


So I went back to what I originally had, only I changed it to this:
see info


The line is now totally ignored, no window is displayed.

Any ideas on how to resize the current window as it loads?

Ross Clutterbuck wrote:

Diane

Alternatively, you could always rejig things so your code actually runs 
inside the new window and resizes it onLoad, then specify a new window 
as the target of your link. That was you'll get a pop-up window when you 
click the link then the script will resize that new window. If scripting 
is disabled you'll still get your pop-up window just not to the correct 
size.


MOU



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Javascript window problem

2006-06-30 Thread Ross Clutterbuck

Diane

If your tests fire and run the script directly then you have nothing wrong 
with your script. The fault, therefore, will lay with your client's 
computer - either they have a pop-up blocker enabled or they have scripting 
disabled.


That would be my first port of call to work this out.

Alternatively, you could always rejig things so your code actually runs 
inside the new window and resizes it onLoad, then specify a new window as 
the target of your link. That was you'll get a pop-up window when you click 
the link then the script will resize that new window. If scripting is 
disabled you'll still get your pop-up window just not to the correct size.


MOU 






___ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Link not working in FF

2006-06-30 Thread Portman
Thanks Drew. I am a little unclear (no pun intended) on the clearing, 
but will do some reading up on it.


Riva

Drew Trusz wrote:

I'm a bit behind in my reading so this is a bit late.

The page is having problems in FF1.5 and Opera9. Essentially, the few
links which show are in the header and the area of the page below the
"Links" title is blank. Looks fine in IE.

When I put borders around the headermain, subheader and bodytext, the
boxes are problematic. That is, border doesn't go all the way around
either the headermain or the bodytext.  The subheader is comletely
contained in the border. The links are shoved into the header box.

In a floated design this would be the result of improper clearing.
Your design seems to be primarily absolutely and relatively positioned
elements. Relative is often used to compensate for many IE problems.
If that's what you've done, it's created severe problems in other
browsers.  Nonetheless, if anything is floated, you might want to
check that it is properly cleared. Drop in a few clearing elements and
see if it helps.

Drew


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] Link not working in FF

2006-06-30 Thread Drew Trusz

On 6/27/06, Portman <[EMAIL PROTECTED]> wrote:

Hi all,

I find that a link on a page is not working in FF. I validated the CSS
and the HTML and it works in IE but I cannot figure out why it is not
working. It is the link on the word "here" in Choose a body part for
quick links or click here
 for more
detailed links. Any help would be much appreciated.


I'm a bit behind in my reading so this is a bit late.

The page is having problems in FF1.5 and Opera9. Essentially, the few
links which show are in the header and the area of the page below the
"Links" title is blank. Looks fine in IE.

When I put borders around the headermain, subheader and bodytext, the
boxes are problematic. That is, border doesn't go all the way around
either the headermain or the bodytext.  The subheader is comletely
contained in the border. The links are shoved into the header box.

In a floated design this would be the result of improper clearing.
Your design seems to be primarily absolutely and relatively positioned
elements. Relative is often used to compensate for many IE problems.
If that's what you've done, it's created severe problems in other
browsers.  Nonetheless, if anything is floated, you might want to
check that it is properly cleared. Drop in a few clearing elements and
see if it helps.

Drew

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


[wdvltalk] Javascript window problem

2006-06-30 Thread Diane Schips
I need to open a new window which displays some information when a link 
is clicked.  I have what I think is a straight forward script for doing 
that.  I tested it, and it works on the three computers I have access 
to, but not on my client's computer.  It doesn't work for some of his 
customers either.  Does anyone have an idea as to what the problem may 
be?  Here's the script, in a table cell:




http://www.domain.com/info.asp', 'info', 'height=200, width=200, 
scrollbars=yes');
newwindow.document.write ('color=#191970>For:<%=strFor%>');

newwindow.focus();">See Info


Thanks,
Diane


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.