Help - Search - Members - Calendar
Full Version: Multple Link To Frame
Zymic Webmaster Forums > Web Design & Development > Client Side Scripting > HTML and CSS
pkplonker
Is there a way in which i can have link on a page that changes the content on a central frame?


Thanks alot

Pkplonker
Alex
I think what you're looking for is the target="" attribute (coupled with name="" on the <frame>). You set a name for the frame, say "myFrame", then the link is something like this: '<a href="page.html" target="myFrame" title="View page.html it has stuff on it">link</a>'.
pkplonker
QUOTE(Alex @ Sep 19 2007, 03:28 PM) *
I think what you're looking for is the target="" attribute (coupled with name="" on the <frame>). You set a name for the frame, say "myFrame", then the link is something like this: '<a href="page.html" target="myFrame" title="View page.html it has stuff on it">link</a>'.



Thanks alot!

I have a few other questions. Is there a way to add a notepad into a webpage and also how can you add timers and countdown timers?
Alex
A notepad? Would <textarea> be what you're looking for?

As to timers and countdowns, you'll want to use Javascript for that. Have a google.
pkplonker
QUOTE(Alex @ Sep 19 2007, 05:35 PM) *
A notepad? Would <textarea> be what you're looking for?

As to timers and countdowns, you'll want to use Javascript for that. Have a google.



Thanks, your a really good help: rolleyes.gif
Zytran
QUOTE(pkplonker @ Sep 19 2007, 03:22 PM) *
Is there a way in which i can have link on a page that changes the content on a central frame?
Thanks alot

Pkplonker

In your main index file, in the head, you can add this, if all links outside the frame are loaded into the frame.
This way you do not have to define each link.
CODE
<base target="myFrame">

And your body would hold the iFrame name.
CODE
<iframe name="myFrame" src="page_name.htm"></iframe>
pkplonker
Is there anyway I can have timers like these??
pkplonker
QUOTE(Zytran @ Sep 19 2007, 08:03 PM) *
In your main index file, in the head, you can add this, if all links outside the frame are loaded into the frame.
This way you do not have to define each link.
CODE
<base target="myFrame">

And your body would hold the iFrame name.
CODE
<iframe name="myFrame" src="page_name.htm"></iframe>




Oh thanks. But im interested in having 2 frames on my page. But thanks rolleyes.gif
pkplonker
Small, tiny little bump biggrin.gif
llamafier
QUOTE(pkplonker @ Sep 20 2007, 01:00 AM) *
Is there anyway I can have timers like these??


Yes, you can using javascript. I bet you could find something already made that's close to what you're looking for.
pkplonker
QUOTE(llamafier @ Sep 20 2007, 11:48 PM) *
Yes, you can using javascript. I bet you could find something already made that's close to what you're looking for.



Ive looked and looked and looked. all the timers/countdowns I have found have been countdown till new year, or until your holiday sort of thing. Is there anyone that can suggest a site or maybe make me some like that?


Pkplonker
llamafier
Maybe try this site:

http://dynamicdrive.com/
Dan
Firstly, why are you using iframe's? http://www.google.co.uk/search?q=iframe+alternatives

Your site's chances of performing well in search engines will drop drastically if you're using iframe's to display your main content. I highly suggest doing an alternative method of achieving the same scroll box result.
pkplonker
QUOTE(Dan @ Sep 22 2007, 01:28 AM) *
Firstly, why are you using iframe's? http://www.google.co.uk/search?q=iframe+alternatives

Your site's chances of performing well in search engines will drop drastically if you're using iframe's to display your main content. I highly suggest doing an alternative method of achieving the same scroll box result.



I am creating a web page for a game I play. It is going o be a "world switcher" I do not wont it on google or anything else. It is for me and a few friends. But thanks for you concern.


Oh and i am checking out that site with java stuff now. thanks alot.

Pkplonker

Edit: Ive looked on dynamic drive and cant find anything there at all that is anything near what im looking for. They all the same, countdown to Christmas sort of thing.


Pkplonker
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.