I'm attempting something like this:
win1 =
window.open("po p_up.html","_bl ank","width=325 ,height=272,top =0,left=0,scrol lbars=0,resizab le=0");
win1.window.scr ollBy(100,50);
I've done this before when instead of "_blank" I had a unique name there for
each popup I wanted to open.
ex.
win1= window.open("po pup.html","ww1" , ........
win2 =.............. ............... ............."w w2", ..........
etc. etc
Now I want one function you pass a filename and it will open a new popup
window each time by using "_blank" instead of a unique name for each popup.
I can't see why the top example won't work but it doesn't.
It would seem to me that win1 would reference the latest popup opened and
the scroll would apply to that window, but nothing is happening. Any ideas
would be helpful.
Thanks,
BGC 1 1720
Well, win1 will refer to the window.open() object each time ONLY IF win1
was global, which in this case doesn't seem, if it's local, it won't. As
for using _blank and using some filename, just make a function with the
filename as argument.
function launchpop(_file ) {....
var win1=window.ope n(_file,'_blank ',.....);
}
onclick="launch pop('SOMEFILEHE RE')"
Danny
On Fri, 08 Jul 2005 03:37:19 -0700, BGC <re***@tothegro up.net> wrote:
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Martin Mrazek |
last post by:
Hi,
can I manipulate with scroll bars by JS in HTML? Something like
------------------
frame1
button1: ToLeft
button2: ToRight
------------------
frame2
|
by: GG |
last post by:
Hello.
Is possible automatically scrolling frame using java script ???
Thank for help
GG
|
by: zhifchen |
last post by:
Hi guys,
I have some problem about my little http/javascript/xmlhttpreq based
chatroom program:
I use xmlhttpreq object to add data to the current html file.
It will add to a specifiy place, like after a tag or before a tag
And if it adds too many data after that tag, the whole page will become
big and need to scroll down to see the latest added data
how to let it scroll down automatically without any annoying scrolling
down?
|
by: P2P |
last post by:
Hi
I am wondering if someone know of a free cross-browsers vertical
scrolling script that
- is cross cross-browsers
- will call the scrolling content from an external html page or from a
url page
|
by: Phil_Harvey |
last post by:
I need to know how I scroll to a particular element with javascript.
<label>> <input name="tf_command" size="50" type="text"></label>
for example I want the screen to scroll to this input box whenever
something is entered.
I have delbt with all the other stuff I want it to do, I just need to
know how to make it scroll.
Cheers
| |
by: iwdu15 |
last post by:
hi, is there any way to scroll the web browser to the bottom of the document?
thanks
--
-iwdu15
|
by: jerrygarciuh |
last post by:
Hello, have been using this code on an image with success in all major
browsers
onClick="parent.scroller.scrollBy(-100,0)"
also have used
onClick="parent.scroller.scrollTo(-100,0)"
until client calls today reporting failure in IE7. I assume an easy
|
by: Ulrich Scholz |
last post by:
Dear all,
I try to display a large svg graphic in Opera 9.24 (Same result in
FireFox). The graphic is larger than the window. Now I would like to
position the window on an arbitrary place on the map. I guess this is
what the attributes top and left are for.
Unfortunately, it does not work as I though: Each time, the upper left
corner of the graphic is displayed initially.
|
by: =?Utf-8?B?UGF1bCBT?= |
last post by:
Hi
I have a screen display news data stored in a database. Sometimes the amount
of data displayed exceeds the screen size. How can I make this scroll
automatically over and over again ?
thank Paul S
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |