Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Javascript include and opening new windows ?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 28 July 2008 :  05:33:52  Show Profile  Reply with Quote
Hi,

I have a simple javascript from an external provider, something like this:

<script language="javascript" src="http://external.com/oneinclude.js"></script>

It works just fine, but I would like all the links that this script includes to open in a new window, is there anyway I can do this editing just the include? As I don´t have access to the file itself.

Thanks a lot<

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 August 2008 :  08:43:53  Show Profile  Reply with Quote
Is there any common factor in the URLs of the links it writes? E.G., are they all links to pages on the same site?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 20 August 2008 :  09:02:19  Show Profile  Reply with Quote
Yes, they all link to the same site, I received an answer from another forum, which didn´t work for me:

http://www.sitepoint.com/forums/showthread.php?t=561642

Any help is appreciated, thanks.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 20 August 2008 :  09:12:16  Show Profile  Reply with Quote
That would have been the first method I would have tried too. Could you mail me over a copy of the off-site script so I can test a couple of things with it?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 22 August 2008 :  04:18:12  Show Profile  Reply with Quote
Mail sent !

Thanks<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 22 August 2008 :  04:23:05  Show Profile  Reply with Quote
Mail received

I'll try and have a look at it over lunch.

<edit>Domain not found.</edit>

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 22 August 2008 04:24:23
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 22 August 2008 :  05:32:14  Show Profile  Reply with Quote
Oh, that´s right - it´s an extranet site which is not open for the public,

How can I show you this ? I can send you the HTML code, the javascript generates, if that helps.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 22 August 2008 :  05:33:10  Show Profile  Reply with Quote
Best to send me the actual contents of the JS file, if possible.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 22 August 2008 :  06:58:03  Show Profile  Reply with Quote
Mail sent !<
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 26 August 2008 :  05:55:40  Show Profile  Reply with Quote
Shaggy, any news about this ?

Thanks<
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 11 September 2008 :  03:07:46  Show Profile  Reply with Quote
Anyone ?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 11 September 2008 :  04:18:17  Show Profile  Reply with Quote
Oop; sorry, buddy, forgot all about this somehow I'll have another look this afternoon.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 12 September 2008 :  04:10:32  Show Profile  Reply with Quote
No joy as yet, man.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 23 September 2008 :  03:45:00  Show Profile  Reply with Quote
I know it´s not easy, but there must be a way to do this.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 September 2008 :  04:08:35  Show Profile  Reply with Quote
It should be easy; maybe it's the brain fail I've been suffering from the past few months that's throwing me off the scent - gonna give it 1 more try over lunch this afternoon.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 01 October 2008 :  07:22:18  Show Profile  Reply with Quote
How was lunch ? <
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07