Big Resources
 BoxedArt
 123Webmaster
 A1Javascripts
 1-Click-Clipart
 FresherImage
 FontFiles
 HTMLforums
 httpCITY
 PerlAccess
 HostRaiders
 
 
BigResources Somewhat Weekly Ezine



 
  Link to Us
Contact Us
Advertise
Careers
Submissions
Privacy
Free Email Signup
Free Email Login
 
 

  ::Other Resources:

Turnkey Websites
Stock Photos
CMS Templates
Top 25 Web Hosts
Web Design Tutorials
Webmaster Resources
Javascripts
Website Reviews
DHTML Scripts
Free Web Templates
Web Templates
Internet Provider
Web Hosting Provider
Broadband Internet
Online Shopping
Create a free forum
Zoekmachine Optimalisatie

 


Unlimited Web Templates

All access to thousands of web templates, logos, icons, more...


Royalty Free Stock Photos

All access to thousands of professional stock photos


Turnkey Website Templates
Fully scripted PHP website templates!

<script language="Javascript">
   Example of the open new window script (text/image)

</script>

<<Back Download This .Zip File
Or get this script emailed to you, enter your email address and press the button.
Your Email Address:

This script will open a new window with the use of a text link or image.

Open My Window
 

open my window

This script will allow you to set page size and location of where on the screen it will pop up. You can also set if you want scroll bars, status bars, menu bar, title bar, tool bar.

IMPORTANT NOTE: To be able to open links from the new window in the main window requires a script in the new or remote window.

The in's and out's of the remote window script.
Not as difficult as you think really.

If you are using frames: Just do the same as you would in normal frames. ( specify your target of the page you want your link to open in.)

EXAMPLE: <a href="yourpage.html" target="main">YOUR LINK</a>

If you are not using frames: This requires a script.

This is it.
Inside the <head> </head tags put this.


<script>
                function remote(url){
                window.opener.location=url
                }
</script>

First thing inside the body tags.


<script>
          function chgMainWinLoc( strPage ) {
         parent.opener.document.location = strPage;
          }
</script>

and lastly the link .
instead of your normal url, replace it with this.
javascript: chgMainWinLoc( 'your-page.html' )
EXAMPLE: <a href="javascript: chgMainWinLoc( 'your-page.html' )">Your Link</A>

Change "your-page.html" to the page you want open.

 

Please Visit Our Partners

Free Sony VAIO Laptop Computer - Win a free Sony VAIO laptop computer. No purchases necessary and free to enter.

Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. A1 JavaScript Resources is independent of Sun Microsystems, Inc.

Click Here!

Copyright.©2002.BIG RESOURCES