/    Sign up×
Community /Pin to ProfileBookmark

need frames help

–>begin
Hi,

am having trouble linking to another page that is on another frame in the same window. I am now using:
<input type=button value=”Go right!” OnClick=”parent.frameNavig()”>

the function is:
<SCRIPT LANGUAGE=”JavaScript”>
function frameNavig() {
frames[‘right’].window.location=”main-nav.html”;
}
</SCRIPT>

all this already work but i dont how to make it work with a simple picture.
Also I want to be able to link to another page without having to call more functions.. is it possible to just call 1 function and make my tell-a-friend.html and my other pages to load automatically when i click on the picture link to my right frame?
–>end

This is a litle script that maybe will help anyone that may use frames in she’s/he’s web site. If browser do not support frames, load main page into entire window, without having to place a page that says to the surfer, blah blah go get your self an updated browser, that way your security will be to !!!… here is the c0d3…cool!.

//<– place this before the <HTML> tag at the top of the page.
<%
If Not(objBCap.frames) Then Response.Redirect “main_” & strBrowser & “you_main_page.html”
%>

<if you did not understand my inglish am very sorry, i speek french!
end if>

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @fr0nt spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...