It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Links in new windows

Links in new windows

Postby Ash on Fri Jun 30, 2006 10:40 pm

I have this code:
Code: Select all
<SCRIPT language=JavaScript>
<!--
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT>

And to open new pages at a certain size it's
Code: Select all
<A HREF="javascript:popUp('url')">url nane</a>


But it don't seem to want to work for offline or more than one link under another is this one of those codes that needs to be online?
User avatar
Ash
1000+ Club
 
Posts: 1020
Joined: Wed Aug 03, 2005 6:10 pm
Location: England

Postby webmaster on Sat Jul 01, 2006 8:43 am

You must change the ('url') to for example ('popup.html') in this line:

Code: Select all
<A HREF="javascript:popUp('url')">url nane</a>
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Ash on Sat Jul 01, 2006 9:01 am

I know that I did that so you know what goes where I was using:
Code: Select all
<A HREF="javascript:popUp('Videos/videopages/video11.html')">Barbarian Intro</a>
User avatar
Ash
1000+ Club
 
Posts: 1020
Joined: Wed Aug 03, 2005 6:10 pm
Location: England

Postby Ash on Mon Jan 29, 2007 1:10 pm

This code does not work is there a way to do it in PHP?
User avatar
Ash
1000+ Club
 
Posts: 1020
Joined: Wed Aug 03, 2005 6:10 pm
Location: England


Who is online

Users browsing this forum: No registered users and 6 guests