472,784 Members | 1,153 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 software developers and data experts.

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
2 1465
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Rob Fentress | last post by:
I am trying to develop very standards-compliant content using XHTML and CSS. I am using CSS positioning and thus need to only include my stylesheet on browsers I have tested to make sure they...
6
by: KKramsch | last post by:
OK, here's the scenario: I have a CGI script that generates a page with frames (BTW, I'm not crazy about frames, but in this case the decision to use them is out of my hands). In a typical...
1
by: lindsey.crocker | last post by:
I have a problem calling a framset from javascript - I will explain as best I can. I have a site with 2 frames. Left frame contains a javascript menu. Right frame contains the page and a...
6
by: Tom Braun | last post by:
Hello! My first post here... I need to monitor if someone clicked on some (any) link in a subframe. Due to certain restrictions, the only place I can put some JavaScript is in the main...
9
by: books1999 | last post by:
I have framset with leftFrame, mainFrame, TopFrame. I found this script : http://www.dynamicdrive.com/dynamicindex8/collapsemain.htm I wonder if it could be ajusted so that it collapses the...
4
by: dennise9 | last post by:
My exeternal JS works fine when the call is placed in the page head or body. But if I call the same javascript from a (clicked) text link on the page, the script throws a JS error when it...
4
by: fmaxwell | last post by:
Dear Group I have a very frustrating problem. I have been trying to make it more difficult to access external javascript files by using PHP sessions. This works beautifully locally (both in...
9
by: Erwin Moller | last post by:
Hi, Can anybody comment on this? In comp.lang.php I advised somebody to skip using: <script language="javascript"> and use: <script type="text/javascript"> And mr. Dunlop gave this response:
5
by: Joey | last post by:
I have the following in the head section of the ASPX page for my master page: <script language="javascript" type="text/javascript" src="MyCodeFile.js"></script> This includes my external...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.