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... | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
KsoftFusion

Paragoomba
Level: 15

Posts: 60/71
EXP: 13389
For next: 2995

Since: 06-19-04
From: I don't know, gimme a map.

Since last post: 25 days
Last activity: 1 day
Posted on 06-10-05 09:43 PM Link | Quote
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?
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 1484/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 06-11-05 02:56 AM Link | Quote
It's not PHP, just simple HTML

<a href="linktopage.html" target="_blank">LINK TEXT</a>
KsoftFusion

Paragoomba
Level: 15

Posts: 61/71
EXP: 13389
For next: 2995

Since: 06-19-04
From: I don't know, gimme a map.

Since last post: 25 days
Last activity: 1 day
Posted on 06-11-05 04:32 PM Link | Quote
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.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 4915/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-12-05 01:40 AM Link | Quote
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.


(edited by HyperHacker on 06-11-05 08:43 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.004 seconds.