Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Hardware/Software.
Acmlm's Board - I2 Archive - Hardware/Software - Looking for a PHP script...
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 4915/8210
You could do this with Javascript in the redirection page:

[script language="javascript"]
window.open("newpage.html");
document.location="mainpage.html";
[/script]


Just replace [ and ] with < and > because the code tag is a piece of crap that eats my posts at random if I use those. You should also provide a text link for non-Javascript users and people whose ad blockers have killed the script.
KsoftFusion
Posts: 61/71
Actually, that won't work... (And duh, probably not PHP. I was tired when I wrote that)

IBDynamic Lite doesn't support HTML in the navigation link-- just a URL and a name for the link. What I need would work like this:

1. Person clicks link.
2. The redirecting page opens in the same window.
3. The redriecting page opens the real page in a new window
4. The window that had the redirecting page in it changes its page back to the main page of my site.

It needs to be automatic.
FreeDOS
Posts: 1484/1657
It's not PHP, just simple HTML

<a href="linktopage.html" target="_blank">LINK TEXT</a>
KsoftFusion
Posts: 60/71
I'm redesigning my website using IBDynamic Lite (Dynamic script for Invision Power Board 1.3) and I want to add some normal HTML pages into the mix. The problem is that they open in the same window (due to limited customization that will not let me change this) and my visitors may get lost, because I don't want to add navigation at the top of all those HTML pages. I'm looking for a PHP script to help me, so that I can link to the script, and it will open the HTML page in a new window, then change the page with the script on it back to the main page. Is there a script out there that will do this?
Acmlm's Board - I2 Archive - Hardware/Software - Looking for a PHP script...


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.