help the script getURL, fit in specific size

  • fagigi
  • Newbie
  • Newbie
  • fagigi
  • Posts: 5
  • Loc: NYC

Post 3+ Months Ago

I have a question with the "getURL"
how to write the script to open a new window, with specific size(for example 800x600) and without toolbar

thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Not sure how well this works browser to browser but this will open a popup from Flash with no toolbars & 800X600 in IE & FFox.

The history.back(); seems to keep the page from blanking out with nothing but [object] displayed.

Code: [ Select ]
button.onRelease = function(){
    getURL("javascript:window.open('test.html','_BLANK','toolbar=no,width=800,height=600');history.back();");
}
  1. button.onRelease = function(){
  2.     getURL("javascript:window.open('test.html','_BLANK','toolbar=no,width=800,height=600');history.back();");
  3. }
  • fagigi
  • Newbie
  • Newbie
  • fagigi
  • Posts: 5
  • Loc: NYC

Post 3+ Months Ago

working perfectly!! thanks

especially "history.back()" that's what I need.
before I got a script "location.reload()" it keep going back to first frame, really annoy!!

thanks again

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 12 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.