473,383 Members | 1,829 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,383 software developers and data experts.

Frameset page

Hi Everyone,
I have a frameset Web Page contains 2 frame , first one have a banner, logo
and menu
second frame called "content" and it appears in it all page in site
is it possible that i send a url that opens a choosen page in the content
frame or i have always to open the default page that called in framset
Thx in Adv
Nov 19 '05 #1
5 1038
Your looking for the TargetURL property I think. On the frameset page.

"Mariame" wrote:
Hi Everyone,
I have a frameset Web Page contains 2 frame , first one have a banner, logo
and menu
second frame called "content" and it appears in it all page in site
is it possible that i send a url that opens a choosen page in the content
frame or i have always to open the default page that called in framset
Thx in Adv

Nov 19 '05 #2
Ye
Is it possible when i send a url determine the target frame using script or
VB ???????????????????
"Deasun" <De****@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Your looking for the TargetURL property I think. On the frameset page.

"Mariame" wrote:
Hi Everyone,
I have a frameset Web Page contains 2 frame , first one have a banner,
logo
and menu
second frame called "content" and it appears in it all page in site
is it possible that i send a url that opens a choosen page in the content
frame or i have always to open the default page that called in framset
Thx in Adv

Nov 19 '05 #3
you can use this function..
pass the name of frame for dest variable..

function doTargetURL(url, dest) {
if (document.all!=null) {
var elTarget = document.all.targetURL
// Setup the anchor
elTarget.href = url
elTarget.target = dest
// Click the anchor
elTarget.click()
}
else // Default to new window
window.open(url)
}

rajagopal

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #4
Thx for ue reply
but i want to setup the target page in the href
the main page is "index.aspx" and the target that i want to open is
"main.aspx"
when i write the link : "<a href ="?.aspx"> Main Page </a>
what i have to write in the href to open the page with the a target
main.aspx not index.aspx????????????

<rajagopalp> wrote in message news:ul**************@TK2MSFTNGP12.phx.gbl...
you can use this function..
pass the name of frame for dest variable..

function doTargetURL(url, dest) {
if (document.all!=null) {
var elTarget = document.all.targetURL
// Setup the anchor
elTarget.href = url
elTarget.target = dest
// Click the anchor
elTarget.click()
}
else // Default to new window
window.open(url)
}

rajagopal

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #5
The function code relies on an anchor with the ID of targetURL. On your
page you need to add an empty anchor with an ID of targetURL. This
anchor will have no effect on the rendering of the document and should
be the first element in the body of the document:

<A STYLE="display: none" ID=targetURL></A>

then

<a ONCLICK="doTargetURL('main.aspx',
'_self')">Main Page </a>

rajagopal

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable...
1
by: Julius Mong | last post by:
Dear all, I have the following: <html> <head> .... </head> <frameset ...> <frame .../> <frameset name="page" rows="60,*" ...> <frame src='top.html' .../>
1
by: Ian | last post by:
Here's an interesting delema. I have two on-line manuals built with frames. Each has a unique frameset. Some of the pages have related material and are linked. Is there a way to have a page...
3
by: mark4asp | last post by:
According to this <http://css-discuss.incutio.com/?page=BoxModelHack> IE6 will display differently to the W3C standard. Only IE6/strict and I suppose IE 7 display correctly. IE 6 transitional and...
5
by: mark4asp | last post by:
According to this <http://css-discuss.incutio.com/?page=BoxModelHack> IE6 will display differently to the W3C standard. Only IE6/strict and I suppose IE 7 display correctly. IE 6 transitional and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.