• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Totally frustrated, please help

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am opening a new window with a normal link and then using
window.resizeTo(340,340);
to resize the window, so far so good, but then i also want to do this:
'toolbar=no,location=no,directories=no,status=no,menubar=noscrollbars=no,resizable=no'
but try as i might with document or window or parent etc...i just cant get it to work.
Am beginning to suspect its not supported and my option would be to open the window and from that window to pop another window then close the last window...which is a little too complicated and a PITA.
ANy help appreciated.
Thanks in advance,
-Ryan
 
Ryan Knight
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops sorry, didnt mean to double post.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
only way to do it is with pop up window....
 
Ryan Knight
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,
Thanks for replying.
I know how to do it via a popup window but the problem is if i do that i will have to go thru a around 100 pages and change the link from newsletter.html to something like javascript:function_name() and also write function_name() for all the pages....
The second way I know of doing it via popup would be that i popup a window from newsletter.html.....but this is a crude way to do it and this is a pretty simple task if you look at the overall picture and javascript being so powerful...I was just wondering if it can be done, but after spending a couple of frustrating hours trying...am hoping for an answer from you guys.
Cheers,
-Ryan
 
Just the other day, I was thinking ... about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic