Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 07-04-2005, 09:50 PM navigation
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Hey i'm making a website that has one frame and two nested frames in rows.
The first frame is link.
The top row frame is called navigation
The second is where i write everything (i called it "showframe")

How can I make the navigation's backround change when you click on a different link from the link menu......
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-05-2005, 12:57 AM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Help Please>>>>>>>>
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 07-05-2005, 03:05 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
with great difficulty!


or very easily. don't use frames.

There is no good reason to use frames for any standard site. Even many of the free hosting sites support server side includes (SSI)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-05-2005, 04:58 AM
Average Talker

Posts: 16
Trades: 0
Agreed. Frames are a thing of the past.
__________________
Nick Laws

Please login or register to view this content. Registration is FREE

No Frills Hosting From $9.99 Yearly!
ManageMyService is offline
Reply With Quote
View Public Profile
 
Old 07-05-2005, 05:22 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
And how can I do it with frames? It should be like a link to two different URL how can I do that...cuz the content of the navigation is going to change...
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 07-05-2005, 08:56 PM
Super Talker

Posts: 148
Trades: 0
Why dont you attach all the files so that we can help you out. Include the frame also ...
shaoen01 is offline
Reply With Quote
View Public Profile
 
Old 07-09-2005, 05:12 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Ok there it is......

I'd like the navig to change whenever you click on a link.......So ythe link should have like two URLs..is that possible?
Attached Files
File Type: zip Website.zip (1.7 KB, 2 views)
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 07-10-2005, 04:07 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
what on earth is the point of using frames if you want the navigation to change as well????
The main purpose of frames is to have common features across the whole site, usually the navigation.

You can't have two URLs on one link either you have to use javascript for that
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-10-2005, 06:48 AM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
As chrishirst says there is very little point n having frames if you want to continually change the 'static' content, and yes, you will have to use JavaScript to accomplish what you are after. You can, however, do this two ways. You can combine an onClick() statement into your <a href=""> link, or you can have a JS function to do it. To combine the two in one line use:
Quote:
<a href="somepage.html" target="showframe" onClick="parent.frame['navigation'].location='someother_page.html'">Your link</a>
To use a function use:
Quote:
<a href="javascript:change()">Your Link</a>
and then include the function shown below in your JavaScript code on the page
Quote:
function change() {
parent.frame['showframe'].location = "somepage.html";
parent.frame['navigation'].location = "someother_page.html";
}
Use of the function rather than the inline code makes the page neater, and of course you can then have one function work all your links with a little adaptation, but I'll leave that adaptation to you
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-10-2005, 07:33 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Ok ill try it thanks
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 07-10-2005, 07:52 PM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
Hope it works - any more help needed, give me a shout
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-10-2005, 09:17 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Yeah wich one should i use if I want every link to change the navigation ?
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 07-11-2005, 03:19 AM
onlyplace4's Avatar
Extreme Talker

Posts: 159
Location: Skegness, Lincolnshire, England
Trades: 0
I would suggest using the inline method then:

<a href="somepage.html" target="showframe" onClick="parent.frame['navigation'].location='someother_page.html'">Your link</a>
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
onlyplace4 is offline
Reply With Quote
View Public Profile Visit onlyplace4's homepage!
 
Old 07-11-2005, 05:56 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Ok
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to navigation
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44129 seconds with 13 queries