473,395 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1495
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.