467,892 Members | 1,851 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,892 developers. It's quick & easy.

Javascript - external link to framset

Hi all,

Ok, could do with some advice on this.

I've written a script in ASP for a client so they can compose HTML
newsletters and include various products from the online database.

I didn't create the original site, which is nicely done but sadly all
done in frames. Now the problem, in the body of the email I NEED to
link to various internal pages of the website. I know this isn't
possible using HTML (as far as I know). So, what I figured I could do
is link to a page on the site, run some Javascript to open the
frameset with the desired frame in the content window.

Sorry if this isn't very clear, I could really do with a point in the
right direction.

Any suggestions would be v much appreciated!

Tom
Jul 23 '05 #1
  • viewed: 1323
Share:
2 Replies
On 28 Sep 2004 01:08:40 -0700, to*@jb-solutions.co.uk (Tom Jordan)
wrote:
Now the problem, in the body of the email I NEED to
link to various internal pages of the website. I know this isn't
possible using HTML (as far as I know). So, what I figured I could do
is link to a page on the site, run some Javascript to open the
frameset with the desired frame in the content window.


Nah, forget javascript, just create a frameset for each initial
combination you need to link to, it'll take moments and work for
everyone.

Jim.
Jul 23 '05 #2
In article <7f**************************@posting.google.com >, tom@jb-
solutions.co.uk enlightened us with...

I didn't create the original site, which is nicely done but sadly all
done in frames. Now the problem, in the body of the email I NEED to
link to various internal pages of the website. I know this isn't
possible using HTML (as far as I know). So, what I figured I could do
is link to a page on the site, run some Javascript to open the
frameset with the desired frame in the content window.


No, this can't be done unless the original frames author allowed for the
passing of a param to the frameset telling it which frame to load. Which she
or he should have, but probably didn't. ;)

You might be able to hack it, but most of the time, security restraints will
prevent you from changing the frameset with script from a script that isn't
resident in the frameset.

Now, if the author put script into his frame pages that loads the page into
the frameset if it is attempted to be loaded without it, you could just link
to the pages. This is what I do for my intranet frame app. I also do the
first thing I mentioned. I don't know what the original author did, though.

If you can modify the frameset page, you could easily allow the passing of a
page (url param) telling it what page to load...

--
--
~kaeli~
Join the Army, meet interesting people, kill them.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Rob Fentress | last post: by
6 posts views Thread by KKramsch | last post: by
1 post views Thread by lindsey.crocker | last post: by
9 posts views Thread by books1999 | last post: by
9 posts views Thread by Erwin Moller | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.