Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Links in new windows



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
Ash
1000+ Club


Joined: 03 Aug 2005
Posts: 1012
Location: England

PostPosted: Fri Jun 30, 2006 11:40 pm    Post subject: Links in new windows Reply with quote

I have this code:
Code:
<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:
<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?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3547
Location: Sweden

PostPosted: Sat Jul 01, 2006 9:43 am    Post subject: Re: Links in new windows Reply with quote

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

Code:
<A HREF="javascript:popUp('url')">url nane</a>
Back to top
View user's profile Send private message Visit poster's website
Ash
1000+ Club


Joined: 03 Aug 2005
Posts: 1012
Location: England

PostPosted: Sat Jul 01, 2006 10:01 am    Post subject: Re: Links in new windows Reply with quote

I know that I did that so you know what goes where I was using:
Code:
 <A HREF="javascript:popUp('Videos/videopages/video11.html')">Barbarian Intro</a>
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Ash
1000+ Club


Joined: 03 Aug 2005
Posts: 1012
Location: England

PostPosted: Mon Jan 29, 2007 2:10 pm    Post subject: Re: Links in new windows Reply with quote

This code does not work is there a way to do it in PHP?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap