1 casa Sep 08, 2005 19:09
3 casa Sep 08, 2005 21:35
Add some code to check for a parameter on the URL (I'll call it "targetnew"), and if that parameter exists, add a target to the base tag, causing all links to open in a new window.
Thanks Kweb I will try this
4 casa Sep 08, 2005 22:36
Kweb
Thanks it worked. Really appriciate the quick response.
In your skin directory, open the _main.php file, and fine this line (near the top)
Add some code to check for a parameter on the URL (I'll call it "targetnew"), and if that parameter exists, add a target to the base tag, causing all links to open in a new window.
Then, in your IFRAME, where you have the URL to your blog page, add the "targetnew" parameter to the URL
This will cause links on your page to open in a new browser window, only when the URL is called with the "targetnew" attribute, which should only happen in your IFRAME. If the blog is outside your IFRAME, the parameter won't be there, so links will open in the same window as usual.
Note that you can call the parameter anything you want, just as long as it doesn't interfere with any of the existing parameters that b2evolution uses.