![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Dec 2005
Posts: 66
OS: WinXP home
|
question on <iframe>
ok i'm working on a website for a friend. (don't know why i agree'd but eh) anyway, i wanted to make it so as the nav bar stayed permanently at the top. (i already know how to do this using CSS so thats not the problem)
However, i had wanted to open up a forum beneath the naviagation bar for the forum section. And have it so as the nav bar STAYED at the top even while navigating the external forum. Now i know that i can open the external thing using <iframe> but if you click on any of the navigation within that page, it redirects you to the full page Is there any way to fix this? (i have no time stamp on when he wants it done as its just a favour thing, but its starting to annoy me)
__________________
Mobo: Asus Striker II Formula skt 775 Ram: 2x Corsair 2GB DDR2 PC2-6400 800MHz in dual channel Processor: intel q6600 quad core, 2.4ghz HD: 2 x Maxtor 500GB 1x Maxtor 1000gb PSU: Tagan 700w ATX2 Power Supply Sound: Asus soundcard that came with mobo GPU: 2x MSI 7900 GT/GTO 512mb memory in SLi |
|
|
|
| Sponsored Links |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Feb 2008
Location: Deming, NM
Posts: 291
OS: XP SP2 & Vista
|
Hi wowfood,
I have never used iframes in a page before so I did a little searching. Looks like you can target the iframe with your navigating links. You have to first give your iframe a name. Example below. Code:
<iframe name="iframe" src="http://www.techsupportforum.com" </iframe> Code:
<a href="http://www.techsupportforum.com/test" target="iframe">Super Sweet Help</a> ![]() Give it shot and let me know. Maybe someone with iframe experience can chime in and give me a yay or nay ![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Dec 2005
Posts: 66
OS: WinXP home
|
Re: question on <iframe>
thanks jaxo that could work, but like i said i'm trying to get this so i can have an external forum displayed, i don't think i have enough knowledge to code an entire forum just so i can make all the links point within the iframe :P
__________________
Mobo: Asus Striker II Formula skt 775 Ram: 2x Corsair 2GB DDR2 PC2-6400 800MHz in dual channel Processor: intel q6600 quad core, 2.4ghz HD: 2 x Maxtor 500GB 1x Maxtor 1000gb PSU: Tagan 700w ATX2 Power Supply Sound: Asus soundcard that came with mobo GPU: 2x MSI 7900 GT/GTO 512mb memory in SLi |
|
|
|
|
|
#4 (permalink) |
|
Design Team Member
Join Date: Feb 2008
Location: Deming, NM
Posts: 291
OS: XP SP2 & Vista
|
wowfood,
I will try and test this a little later today. Sounds like if you just point your navigation to the iframe every link you clink on inside the iframe will stay in it. With the exception if the link has target="_top" option. Then it will open over everything. Curious if what I'm writing is right or not . I'll try and give it a test later.
__________________
|
|
|
|
|
|
#5 (permalink) |
|
Design Team Member
|
Re: question on <iframe>
Why use iFrame? This seems best suited for general frames.
index.html - this is what compiles the frames HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <frameset rows="80,*" frameborder="no" border="1" framespacing="0"> <frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="forum.html" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset> <noframes><body> </body> </noframes></html>
__________________
Free Resources PC Protection - Comodo Firewall | AVG Anti-Virus | WinPatrol | Ad-Aware | Spybot S&D | SpywareBlaster |Web Design/Programming - KompoZer (Editor) | Paint.NET (Graphic) | GIMP+GIMPShop (Graphic) | FileZilla (FTP Client) | Free Hosting | |
|
|
|
![]() |
| Thread Tools | |
|
|